/* ============================================================
   VIP 积分系统 H5 —— 移动端设计系统
   橙色暖调 · 白卡片 · 弧形纹路头部（教育类 App 视觉语言）
   ============================================================ */
:root {
    --brand: #ff6a00;
    --brand-deep: #f25200;
    --brand-light: #ffa733;
    --brand-yellow: #ffc937;
    /* 旧变量名保留，全站规则无需逐条改写 */
    --blue: #ff6a00;
    --blue-deep: #f25200;
    --blue-light: #ffa733;
    --orange: #ff6a00;
    --orange-2: #ffa733;
    --green: #2ba471;
    --red: #e34d59;
    --text: #1a1a1a;
    --text-2: #5f636b;
    --text-3: #9aa0a8;
    --line: #f1f2f4;
    --bg: #f7f7f8;
    --card: #ffffff;
    --radius: 18px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(26, 26, 26, 0.05);
    /* 主渐变：亮橙 → 橙红 */
    --grad-hero: linear-gradient(135deg, #ff9010 0%, #ff6a00 52%, #ff5100 100%);
    --grad-glow: radial-gradient(240px 210px at 100% 0%, rgba(255, 214, 140, 0.34) 0%, rgba(255, 214, 140, 0) 72%);
    --grad-btn: linear-gradient(135deg, #ff8a1f 0%, #ff6200 100%);
    --hero-shadow: 0 12px 28px rgba(255, 106, 0, 0.22);
    /* 头部同心弧纹：与参考稿右上角扩散的装饰弧一致 */
    --arc: repeating-radial-gradient(circle at 100% -22%, rgba(255, 255, 255, 0.11) 0 1px, rgba(255, 255, 255, 0) 1px 40px);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

/* 布局壳 */
#app {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 14px calc(78px + env(safe-area-inset-bottom));
    min-height: 100vh;
}

#app.no-tab {
    padding-bottom: 24px;
}

/* 顶部栏：毛玻璃，更轻盈 */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    height: 48px;
    margin: -12px -14px 12px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar .tb-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text);
    background: none;
}
.topbar .tb-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-right: 36px;
}

/* 卡片 */
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}
/* 卡片标题：统一带主色竖条，全站一致 */
.card-title,
.sec-title {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.card-title {
    margin-bottom: 10px;
    padding-left: 10px;
}
.sec-title {
    padding-left: 10px;
}
.card-title::before,
.sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff6a00, #ffa733);
}

/* 顶部积分卡：全站统一深蓝主渐变 */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    color: #fff;
    box-shadow: var(--hero-shadow);
    margin-bottom: 14px;
}
.hero::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    right: -64px;
    top: -108px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.hero-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.hero-label {
    font-size: 13px;
    opacity: 0.9;
}
.hero-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.5px;
}
.hero-num.sm {
    font-size: 26px;
}
.hero-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.hero-sub {
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    position: relative;
    z-index: 1;
}
.hero-sub .hs {
    flex: 1;
    text-align: center;
}
.hero-sub .hs b {
    display: block;
    font-size: 18px;
    font-weight: 700;
}
.hero-sub .hs span {
    font-size: 12px;
    opacity: 0.9;
}
.hero-sub .hs-div {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.28);
}

/* 我的中心：会员信息并入橙色头部（对齐参考稿「橙头 + 头像」结构） */
.hero-profile {
    padding: 18px 18px 20px;
}
.hero-profile .hp-me {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.hp-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-deep);
    font-size: 19px;
    font-weight: 700;
}
.hp-info {
    flex: 1;
    min-width: 0;
}
.hp-name {
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hp-meta {
    margin-top: 3px;
    font-size: 12px;
    opacity: 0.88;
}
.hero-profile .hp-points {
    margin-top: 16px;
}
/* 橙色面上的操作胶囊：统一黄色（参考稿 CTA） */
.hero-chip {
    background: var(--brand-yellow);
    color: #a53f00;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 174, 0, 0.28);
}

/* 快捷宫格：6 项 = 3×2，图标做大，靠 emoji 自身颜色区分 */
.grid-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 6px 8px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}
.grid-item {
    width: 33.333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
    background: none;
    color: var(--text);
}
/* 快捷宫格：6 项 = 3×2，白色线性图标 + 深蓝渐变底（金融 App 质感） */
.grid-item .gi {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background:
        radial-gradient(120% 100% at 85% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(140deg, #ff6a00 0%, #ffa733 100%);
    box-shadow: 0 9px 20px rgba(242, 82, 0, 0.3);
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}
.grid-item .gi svg {
    width: 31px;
    height: 31px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(120, 48, 0, 0.25));
}
.grid-item .gt {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
}
.badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
}

/* 运营 banner：与主渐变同源的深蓝卡，全站唯一样式 */
.banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    box-shadow: 0 12px 26px rgba(232, 84, 0, 0.22);
    margin-bottom: 14px;
    color: #fff;
}
.banner::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.banner .bn-tag {
    position: relative;
    display: inline-block;
    margin-bottom: 9px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.banner .bn-title {
    position: relative;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: 0.2px;
}
.banner .bn-sub {
    position: relative;
    margin-top: 7px;
    font-size: 12px;
    opacity: 0.9;
}
.banner .bn-btn {
    position: relative;
    flex-shrink: 0;
    margin-left: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--brand-yellow);
    color: #a53f00;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 174, 0, 0.32);
}
.banner .bn-title,
.banner .bn-sub {
    position: relative;
}

/* 表单 */
.field {
    margin-bottom: 16px;
}
.field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.req {
    color: var(--orange);
    margin-left: 2px;
}
.input,
.select,
.textarea {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #eceef1;
    border-radius: 12px;
    background: #fafbfc;
    color: var(--text);
    font-size: 15px;
    appearance: none;
}
.input::placeholder,
.textarea::placeholder {
    color: #b7bcc4;
}
.textarea {
    height: 88px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: none;
}
.input:focus,
.select:focus,
.textarea:focus {
    border-color: #ffc59b;
    background: #fff;
}
.hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-3);
}
.err {
    margin-top: 6px;
    font-size: 12px;
    color: var(--red);
}

/* 按钮 */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 24px;
    background: var(--grad-btn);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.28);
}
.btn:active {
    transform: translateY(1px);
}
.btn[disabled] {
    opacity: 0.6;
    box-shadow: none;
}
.btn.ghost {
    background: #fff;
    color: var(--text-2);
    border: 1px solid #ecedf0;
    box-shadow: none;
}
.btn.small {
    width: auto;
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 17px;
    box-shadow: none;
    letter-spacing: 0;
}
.btn.mini {
    width: auto;
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    border-radius: 16px;
    box-shadow: none;
    letter-spacing: 0;
}
.btn.orange {
    background: linear-gradient(100deg, #ff7a2b, var(--orange));
    box-shadow: 0 6px 14px rgba(255, 77, 10, 0.26);
}
.btn.gray {
    background: #f2f3f5;
    color: var(--text-2);
    box-shadow: none;
}
.btn-link {
    background: none;
    color: var(--blue);
    font-size: 13px;
    padding: 4px 0;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.tag-blue { background: #fff3e8; color: var(--blue); }
.tag-green { background: #eefbf1; color: var(--green); }
.tag-orange { background: #fff4e8; color: #c05a10; }
.tag-red { background: #fdeeed; color: var(--red); }
.tag-gray { background: #f2f3f5; color: var(--text-3); }

/* 列表行 */
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.list-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.list-item:first-of-type {
    border-top: none;
}
.li-main {
    flex: 1;
    min-width: 0;
}
.li-title {
    font-size: 15px;
    font-weight: 600;
}
.li-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-3);
}
.muted {
    color: var(--text-3);
    font-size: 12px;
}
.plus { color: var(--green); }
.minus { color: var(--red); }

/* 状态占位 */
.state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    text-align: center;
}
.state .s-ico {
    font-size: 40px;
    margin-bottom: 12px;
}
.state .s-text {
    font-size: 16px;
    font-weight: 600;
}
.state .s-desc {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.6;
}
.state .btn {
    width: auto;
    padding: 0 24px;
    margin-top: 18px;
}
.spinner {
    width: 26px;
    height: 26px;
    border: 3px solid #ffe0c7;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 底部导航 */
.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
}
.tabbar button {
    flex: 1;
    padding: 8px 0 6px;
    background: none;
    color: var(--text-3);
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.tabbar button .ti {
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}
.tabbar button .ti svg {
    width: 23px;
    height: 23px;
    display: block;
}
.tabbar button.on {
    color: var(--blue);
    font-weight: 600;
}

/* 商城顶部积分条：统一深蓝主渐变 */
.hero-points {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--hero-shadow);
    margin-bottom: 12px;
    color: #fff;
}
.hero-points::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    right: -58px;
    top: -96px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.cat-row {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 4px 8px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    overflow-x: auto;
}
.cat-row .cat {
    flex: 1;
    min-width: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    color: var(--text-2);
    font-size: 12px;
}
.cat-row .cat .ci {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff6ee;
    color: var(--brand);
    font-size: 22px;
    margin-bottom: 6px;
    transition: all 0.15s;
}
.cat-row .cat.on .ci {
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.28);
}
.cat-row .cat .ci svg {
    width: 22px;
    height: 22px;
    display: block;
}
.cat-row .cat.on {
    color: var(--blue);
    font-weight: 600;
}
.sec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 2px 10px;
}
.sec-title {
    font-size: 17px;
    font-weight: 800;
}
.sort-btn {
    padding: 5px 12px;
    border-radius: 14px;
    background: #fff;
    color: var(--text-2);
    font-size: 12px;
    box-shadow: var(--shadow);
}
.sort-btn b {
    color: var(--blue);
    margin-left: 3px;
}
.gift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.gift {
    background: #fff;
    border-radius: var(--radius);
    padding: 8px 8px 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.gift.off {
    opacity: 0.55;
}
.gift-cover {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-radius: 12px;
    background: linear-gradient(160deg, #fdfaf7, #fdf8f3);
}
.gift-name {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}
.gift-pts {
    margin-top: 4px;
    color: var(--orange);
    font-size: 18px;
    font-weight: 800;
}
.gift-pts small {
    font-size: 11px;
    font-weight: 400;
    margin-left: 2px;
}
.gift-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.gift-stock {
    font-size: 11px;
    color: var(--text-3);
}

/* 弹层 */
.mask {
    position: fixed;
    inset: 0;
    background: rgba(28, 18, 10, 0.48);
    z-index: 90;
}
.sheet {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 100;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    background: #fff;
    animation: sheetIn 0.2s ease;
}
@keyframes sheetIn {
    from { transform: translate(-50%, 100%); }
    to { transform: translate(-50%, 0); }
}
.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.sheet-head h3 {
    margin: 0;
    font-size: 17px;
}
.sheet-close {
    background: none;
    font-size: 20px;
    color: var(--text-3);
    padding: 4px 8px;
}
.sheet-gift {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: #fff9f4;
    margin-bottom: 12px;
}
.sheet-gift .sg-cover {
    font-size: 34px;
    margin-right: 12px;
}
.sheet-gift .sg-name {
    font-size: 15px;
    font-weight: 600;
}
.sheet-gift .sg-pts {
    margin-top: 4px;
    font-size: 12px;
    color: var(--orange);
}

/* 提示条 */
.toast {
    position: fixed;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 200;
    max-width: 76%;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

/* 步进器 */
.stepper {
    display: flex;
    align-items: center;
}
.stepper button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff3e8;
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
}
.stepper button.off {
    background: #f2f3f5;
    color: #c9ced6;
}
.stepper span {
    min-width: 42px;
    text-align: center;
    font-weight: 600;
}

/* 进度时间线 */
.timeline {
    margin-top: 10px;
    padding-left: 4px;
}
.tl-item {
    position: relative;
    padding: 0 0 16px 20px;
    border-left: 2px solid #f2f3f5;
}
.tl-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}
.tl-dot {
    position: absolute;
    left: -7px;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd8b8;
    border: 2px solid #fff;
}
.tl-item.on .tl-dot {
    background: var(--blue);
}
.tl-status {
    font-size: 14px;
    font-weight: 600;
}
.tl-note {
    margin-top: 3px;
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.5;
}
.tl-time {
    margin-top: 3px;
    font-size: 11px;
    color: var(--text-3);
}

/* 汇总卡：统一深蓝主渐变 */
.summary {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    border-radius: var(--radius-lg);
    padding: 20px 6px;
    color: #fff;
    box-shadow: var(--hero-shadow);
    margin-bottom: 14px;
}
.summary .sc {
    flex: 1;
    text-align: center;
}
.summary .sc b {
    display: block;
    font-size: 20px;
    font-weight: 700;
}
.summary .sc span {
    font-size: 11px;
    opacity: 0.9;
}
.summary .sc.gold b {
    color: #ffd98a;
}
.summary .sc-div {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.25);
}

/* 头像 */
.avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3e8, #ffe3cc);
    color: var(--blue);
    font-size: 17px;
    font-weight: 700;
    margin-right: 12px;
}

/* 分段控件 */
.segmented {
    display: flex;
    padding: 3px;
    border-radius: 12px;
    background: #f3f4f6;
    margin-bottom: 12px;
}
.segmented button {
    flex: 1;
    height: 34px;
    border-radius: 9px;
    background: none;
    color: var(--text-2);
    font-size: 13px;
}
.segmented button.on {
    background: #fff;
    color: var(--blue);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* 登录页 */
.login-wrap {
    min-height: 100vh;
    margin: -12px -14px;
    padding: 56px 24px 32px;
    background: linear-gradient(170deg, #fff3e8 0%, #f7f7f8 40%, #fdfaf7 100%);
}
.brand {
    text-align: center;
    margin-bottom: 34px;
}
.brand .logo {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    color: #fff;
    font-size: 34px;
    box-shadow: 0 14px 30px rgba(232, 84, 0, 0.3);
}
.brand h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}
.brand p {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-2);
}
.login-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 12px 30px rgba(255, 106, 0, 0.1);
}
.login-tip {
    margin-top: 16px;
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
    line-height: 1.7;
}

/* 管理端控制台 */
.adm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.adm-head h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
}
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.stat {
    background: #fff;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
}
.stat b {
    display: block;
    font-size: 22px;
    font-weight: 800;
}
.stat span {
    font-size: 12px;
    color: var(--text-3);
}
.stat.alert b {
    color: var(--orange);
}

/* ============================================================
   邀请注册 / 邀请中心
   ============================================================ */
.notice {
    margin: 0 0 12px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #fff6e6;
    color: #a85c00;
    font-size: 13px;
    line-height: 1.5;
}

/* 注册页顶部的邀请信息条 */
.invite-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 0 14px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    color: #fff;
    box-shadow: var(--hero-shadow);
}
.invite-badge .ib-label {
    font-size: 12px;
    opacity: 0.9;
    letter-spacing: 2px;
}
.invite-badge .ib-code {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 5px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}
.invite-badge .ib-tip {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}

/* 邀请中心主卡：统一深蓝主渐变 */
.invite-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 18px 16px;
    border-radius: var(--radius-lg);
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    color: #fff;
    text-align: center;
    box-shadow: var(--hero-shadow);
    margin-bottom: 14px;
}
.invite-hero::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.invite-hero .ih-label {
    font-size: 12px;
    opacity: 0.88;
    letter-spacing: 2px;
}
.invite-hero .ih-code {
    position: relative;
    margin: 6px 0 8px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 8px;
    text-indent: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.invite-hero .ih-desc {
    font-size: 13px;
    opacity: 0.94;
}
.invite-hero .ih-desc b {
    color: #ffe08a;
    font-size: 16px;
}
.invite-hero .ih-actions {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.invite-hero .ih-actions .btn.small {
    padding: 0 16px;
    height: 34px;
    border-radius: 18px;
    background: #fff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}
.invite-hero .ih-actions .btn.ghost.small {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.invite-hero .ih-limit {
    position: relative;
    margin-top: 12px;
    font-size: 11px;
    opacity: 0.82;
}

/* 步骤 */
.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}
.steps .step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.steps .step i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.1);
    color: var(--blue);
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps .step b {
    font-size: 14px;
}
.steps .step p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--text-3);
}

/* 首页邀请横幅：已并入统一 .banner 样式，无需额外覆盖 */

/* 下拉框与输入框统一高度 */
select.input {
    height: 46px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8a9099 50%), linear-gradient(135deg, #8a9099 50%, transparent 50%);
    background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

/* ============================================================
   后台增强：栏目条 / Logo 预览 / 积分明细正负色
   ============================================================ */
/* 管理控制台栏目条：8 个栏目横向滚动，不挤压 */
.segmented.adm-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.segmented.adm-tabs::-webkit-scrollbar { display: none; }
.segmented.adm-tabs button {
    flex: 0 0 auto;
    padding: 0 13px;
    white-space: nowrap;
    font-size: 12.5px;
}
/* 二级栏目切换（商品：项目 / 商城；记录：推荐 / 兑换 / 提现） */
.adm-subtabs {
    display: flex;
    gap: 8px;
    margin: 10px 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.adm-subtabs::-webkit-scrollbar { display: none; }
.adm-subtabs button {
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line);
}
.adm-subtabs button.on {
    color: var(--brand);
    background: rgba(255, 106, 0, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.22);
}
/* 设置页：栏目入口卡片 */
.set-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.set-entry {
    padding: 16px 14px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow);
    text-align: left;
    cursor: pointer;
}
.set-entry:active {
    transform: scale(0.985);
}
.set-entry .se-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
    background: rgba(255, 106, 0, 0.1);
}
.set-entry b {
    display: block;
    margin-top: 10px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text);
}
.set-entry i {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--text-3);
}
/* 设置面板顶栏 */
.set-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.set-panel-head b {
    font-size: 15px;
    color: var(--text);
}
/* 记录分页条 */
.adm-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}
.adm-pager-info {
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
}
.adm-pager button[disabled] {
    opacity: 0.45;
    pointer-events: none;
}

/* 站点 Logo：后台设置里上传的自定义图片 */
.brand .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}
.brand .logo svg {
    width: 34px;
    height: 34px;
    display: block;
}
.logo-preview {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
    flex: 0 0 auto;
}
.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 积分明细：正数绿涨红跌语义按积分场景调整为 增加=蓝 / 扣减=红 */
.pos { color: var(--blue); font-variant-numeric: tabular-nums; }
.neg { color: var(--red); font-variant-numeric: tabular-nums; }

/* ============================================================
   积分页合并「我的」：顶部会员信息条
   ============================================================ */
.profile-strip {
    display: flex;
    align-items: center;
    padding: 14px 16px;
}
.profile-strip .ps-left {
    display: flex;
    align-items: center;
    min-width: 0;
}
.profile-strip .avatar {
    width: 46px;
    height: 46px;
    font-size: 18px;
}
.profile-strip .ps-name {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-strip .ps-sub {
    font-size: 12px;
    margin-top: 3px;
}

/* ============================================================
   推荐页（我要推荐）：深蓝渐变头部 / 方式卡 / 邀请码卡 / 统计 / 表单
   ============================================================ */
/* 头部：全站统一主视觉（token 版） */
.refer-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 18px 20px 20px;
    margin-bottom: 16px;
    color: #fff;
    background: var(--arc), var(--grad-glow), var(--grad-hero);
    box-shadow: var(--hero-shadow);
}
.refer-hero::before {
    content: "";
    position: absolute;
    left: -56px;
    bottom: -76px;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.refer-hero .rh-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #ffe3cc;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.refer-hero .rh-title {
    position: relative;
    margin-top: 11px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
}
.refer-hero .rh-sub {
    position: relative;
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}
.refer-hero .rh-reward {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 15px;
    padding: 6px 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.refer-hero .rh-reward b {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffd66b;
}
.refer-hero .rh-reward span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.86);
}

/* 方式选择卡：图标块 + 单选标记，选中态渐变描边 */
.mode-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 16px;
}
.mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px 13px 13px;
    text-align: left;
    background: #fff;
    border: 1.5px solid #eceef1;
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(255, 122, 26, 0.07);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.mode-card:active {
    transform: scale(0.985);
}
.mode-card .mc-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 18px;
    background: linear-gradient(140deg, #fdf8f3, #eceef1);
}
.mode-card b {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text);
}
.mode-card i {
    font-style: normal;
    font-size: 11.5px;
    color: var(--text-3);
}
.mode-card::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #e6e8ec;
    background: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    color: #fff;
    transition: 0.18s;
}
.mode-card.on {
    border-color: #ff6a00;
    background: linear-gradient(180deg, #fdfaf7 0%, #fff3e8 100%);
    box-shadow: 0 12px 26px rgba(255, 106, 0, 0.18);
}
.mode-card.on .mc-ico {
    background: var(--grad-btn);
    box-shadow: 0 8px 16px rgba(255, 106, 0, 0.3);
}
.mode-card.on b {
    color: #f25200;
}
.mode-card.on i {
    color: #b06a33;
}
.mode-card.on::after {
    content: "✓";
    border-color: #ff6a00;
    background: #ff6a00;
    font-weight: 700;
}

/* 邀请码卡：深色墨蓝，与头部形成层次 */
.code-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    padding: 20px 18px 16px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(110% 85% at 0% 0%, rgba(255, 167, 51, 0.34) 0%, rgba(255, 167, 51, 0) 62%),
        linear-gradient(150deg, #341605 0%, #5a2708 55%, #8a3f0c 100%);
    box-shadow: 0 14px 30px rgba(120, 48, 0, 0.34);
}
.code-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -64px;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%);
}
.code-card .cc-label {
    position: relative;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.58);
}
.code-card .cc-code {
    position: relative;
    margin: 10px 0 2px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 9px;
    text-indent: 9px;
    color: #fff;
    text-shadow: 0 4px 18px rgba(255, 167, 51, 0.5);
}
.code-card .cc-split {
    position: relative;
    height: 1px;
    margin: 15px 4px 14px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.26) 50%, transparent 0);
    background-size: 10px 1px;
    background-repeat: repeat-x;
}
.code-card .cc-desc {
    position: relative;
    padding: 0 6px;
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}
.code-card .cc-desc b {
    font-size: 16px;
    font-weight: 800;
    color: #ffd66b;
}
.code-card .cc-actions {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.code-card .cc-actions .btn.small {
    height: 38px;
    padding: 0 20px;
    border-radius: 20px;
    background: #fff;
    color: #f25200;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.code-card .cc-actions .btn.ghost.small {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: none;
}
.code-card .cc-limit {
    position: relative;
    margin-top: 13px;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.55);
}

/* 邀请码 + 专属二维码（左右排布） */
.code-card .cc-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
}
.code-card .cc-main {
    min-width: 0;
}
.code-card .cc-top .cc-label {
    text-align: left;
}
.code-card .cc-top .cc-code {
    margin: 8px 0 0;
    font-size: 30px;
    letter-spacing: 5px;
    text-indent: 5px;
    white-space: nowrap;
}
.cc-qr {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    -webkit-tap-highlight-color: transparent;
}
.cc-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.12s;
}
.cc-qr:active .cc-qr-box {
    transform: scale(0.95);
}
.cc-qr-img {
    display: block;
    width: 100%;
    height: 100%;
}
.cc-qr-txt {
    font-size: 10px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.72);
}

/* 统计条：一条横向卡，中间竖线分隔 */

/* 推荐表单卡 */
.ref-form {
    padding: 18px 16px 20px;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(255, 122, 26, 0.08);
}
.ref-form .rf-head {
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid #f0f3f8;
}
.ref-form .rf-head b {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--text);
}
.ref-form .rf-head i {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 11.5px;
    color: var(--text-3);
}
.ref-form .input,
.ref-form .select {
    height: 48px;
    border-radius: 14px;
    background: #fdfaf7;
}
.ref-form .field:last-of-type {
    margin-bottom: 18px;
}
.ref-form .btn {
    height: 50px;
    border-radius: 25px;
    letter-spacing: 2px;
}

/* 底部导航 4 栏，四字标签自动收一点字距 */
.tabbar button span:last-child {
    letter-spacing: -0.2px;
}

/* ============================================================
   设置页：头像 / 资料 / 密码 / 账号操作
   ============================================================ */
.set-card {
    padding: 18px 16px 20px;
    margin-bottom: 12px;
}
.set-avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.set-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    background: #fff6ee;
    border: 2px solid #ffd8b8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 24px;
    font-weight: 700;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.12);
}
.set-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.set-avatar-tip {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.set-avatar-tip b {
    font-size: 15px;
    color: var(--text);
}
.set-avatar-tip i {
    font-style: normal;
    font-size: 12px;
    color: var(--text-3);
}
/* 我的中心橙头里的头像支持图片 */
.hp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}
.set-card .field {
    margin-bottom: 14px;
}

/* ============ 员工工作台（内部推广归属系统） ============ */
.hero-name {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}
.hero-tip {
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.88;
    position: relative;
    z-index: 1;
}
.hero-exit {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.link-box {
    background: var(--bg);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-2);
    word-break: break-all;
    margin-bottom: 10px;
}
.cust-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.cust-row:first-of-type {
    border-top: none;
}
.cust-main {
    flex: 1;
    min-width: 0;
}
.cust-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cust-sub {
    margin-top: 3px;
    font-size: 12px;
    color: var(--text-3);
}


/* ============ 卡内标题 / 我的中心顶行 ============ */
.hp-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.hp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

/* ============ 推荐有奖 hero：左内容 + 右统计 ============ */
.refer-hero {
    display: flex;
    align-items: stretch;
    gap: 14px;
}
.rh-main {
    flex: 1;
    min-width: 0;
}
.rh-side {
    flex-shrink: 0;
    width: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 10px 8px;
    position: relative;
    z-index: 1;
}
.rhs-item b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.rhs-item span {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.85);
}
.rhs-item + .rhs-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.rhs-link {
    margin-top: 12px;
    padding: 0;
    border: none;
    background: none;
    color: #ffe3cc;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
@media (max-width: 340px) {
    .rh-side {
        width: 106px;
    }
    .rh-sub {
        max-width: 100%;
    }
}

/* ============ 积分兑换卡：三段式 ============ */
.hero-points {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.hero-points .hp-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #fff;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
.hp-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}
.hp-mid-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
}
.hp-mid-num {
    margin-top: 2px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}
@media (max-width: 340px) {
    .hero-points {
        padding: 18px 16px;
        gap: 6px;
    }
    .hero-points .hp-title {
        font-size: 16px;
    }
    .hp-mid-num {
        font-size: 24px;
    }
}

/* ============ 我的中心：三项积分同行 ============ */
.hero-profile .hp-points {
    margin-top: 16px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.hp-main {
    position: relative;
    z-index: 1;
}
.hero-profile .hero-label {
    font-size: 12.5px;
    letter-spacing: 0.2px;
}
.hp-side {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 3px;
    position: relative;
    z-index: 1;
}
.hp-mini {
    text-align: center;
}
.hp-mini b {
    display: block;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}
.hp-mini span {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}
.hp-mini-div {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.26);
    align-self: center;
}
@media (max-width: 340px) {
    .hp-side {
        gap: 10px;
    }
    .hp-mini b {
        font-size: 15px;
    }
    .hp-mini span {
        font-size: 10px;
    }
    .hero-profile .hero-num {
        font-size: 30px;
    }
}

/* ============ 首页：活动主视觉（橙色渐变 + 礼盒插画） ============ */
.act-hero {
    position: relative;
    overflow: hidden;
    margin: -12px -14px 0;
    padding: 18px 20px 26px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(118% 76% at 50% -14%, rgba(255, 226, 170, 0.55) 0%, rgba(255, 226, 170, 0) 60%),
        linear-gradient(164deg, #ffa233 0%, #ff6a00 44%, #e54400 100%);
}
/* 斜向菱形暗纹（参考图的底纹质感） */
.act-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(255, 255, 255, 0) 1px 24px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(255, 255, 255, 0) 1px 24px);
    pointer-events: none;
}
/* 右上光斑 */
.act-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -96px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.ah-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    line-height: 1;
}
/* 首字超大奶金渐变 + 立体投影（参考图「邀」的处理） */
.ah-title .ah-big {
    font-style: normal;
    font-size: 50px;
    font-weight: 900;
    background: linear-gradient(180deg, #fffae2 6%, #ffe694 58%, #ffc75e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 0 rgba(170, 45, 0, 0.42)) drop-shadow(0 12px 20px rgba(150, 30, 0, 0.3));
}
.ah-title .ah-word {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 14px rgba(150, 36, 0, 0.32);
}
/* 副标：奶黄宽字距，压在通宽深色缎带上 */
.ah-sub {
    position: relative;
    margin: 9px -20px 0;
    padding: 7px 0 7px 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 7px;
    color: #ffeeb1;
    text-shadow: 0 2px 10px rgba(150, 36, 0, 0.3);
    background: linear-gradient(90deg, rgba(185, 48, 0, 0) 0%, rgba(185, 48, 0, 0.4) 14%, rgba(185, 48, 0, 0.4) 86%, rgba(185, 48, 0, 0) 100%);
}
.ah-art {
    position: relative;
    max-width: 180px;
    margin: 0 auto -4px;
}
.ah-svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 16px 22px rgba(120, 30, 0, 0.3));
}
.ah-count {
    position: relative;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.84);
}
.ah-count b {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin: 0 2px;
}

/* ============ 首页：三步骤卡 + 主按钮（白卡压在渐变上） ============ */
.act-card {
    position: relative;
    z-index: 2;
    margin-top: -26px;
    padding: 18px 16px 16px;
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: 0 10px 26px rgba(26, 26, 26, 0.08);
}
.acs-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 2px 0 0;
}
.acs {
    width: 76px;
    text-align: center;
}
.acs-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 8px;
    border-radius: 50%;
    color: #fff;
    background: var(--grad-btn);
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.26);
}
.acs-ico svg {
    width: 23px;
    height: 23px;
}
.acs b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text);
}
.acs-arrow {
    display: flex;
    align-items: center;
    height: 46px;
    color: #ffb27a;
}
.acs-arrow svg {
    display: block;
    width: 26px;
    height: 12px;
}
.act-cta {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 16px;
    border-radius: 24px;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    background: var(--grad-btn);
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.3);
}
.act-cta:active {
    transform: scale(0.985);
}

/* ============ 首页：公司简介卡 ============ */
.brand-card {
    margin-top: 16px;
    padding: 18px 16px;
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow);
}
/* 顶部品牌条：只显示 Logo（后台「设置」可改） */
.ah-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
}
/* Logo 图片：高度固定、宽度自适应，白底小圆角衬底 */
.ah-brand-img {
    display: block;
    height: 27px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    padding: 2px 7px;
    border-radius: 9px;
    background: #fff;
}
.ah-logo {
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    color: var(--brand);
    background: #fff;
}
.ah-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bc-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.bc-head::before {
    content: "";
    width: 3px;
    height: 13px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffa233, #ff5a00);
}
.bc-desc {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--text-2);
}
.bc-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.bc-tags span {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand-deep);
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.14);
}

/* ============ 我的中心（参考银行 App 版式：顶部用户头 / 白卡宫格 / 活动卡） ============ */

/* --- 顶部用户区：与页面背景融合，右侧同心弧纹 --- */
.home-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -12px -14px 14px;
    padding: 22px 18px 24px;
    background: linear-gradient(180deg, #fff3e7 0%, #fff8f2 68%, #f7f7f8 100%);
    overflow: hidden;
}
.home-head::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -96px;
    width: 260px;
    height: 260px;
    background: repeating-radial-gradient(circle at 100% 0%, rgba(255, 106, 0, 0.13) 0 1px, rgba(255, 106, 0, 0) 1px 28px);
    pointer-events: none;
}
.hh-avatar {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}
.hh-ava {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-hero);
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.26);
    overflow: hidden;
}
.hh-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hh-cam {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-btn);
    color: #fff;
    border: 2.5px solid #fff;
    box-shadow: 0 3px 8px rgba(255, 106, 0, 0.3);
    padding: 0;
}
.hh-cam svg {
    width: 13px;
    height: 13px;
}
.hh-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.hh-r1 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hh-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hh-edit {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--text-2);
    border: 1px solid #f0e6dd;
    padding: 0;
}
.hh-edit svg {
    width: 14px;
    height: 14px;
}
.hh-r2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 9px;
}
.hh-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.28);
}
.hh-pill span {
    font-size: 11.5px;
    opacity: 0.92;
}
.hh-pill b {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.hh-tag {
    font-size: 11.5px;
    color: var(--text-3);
    white-space: nowrap;
}

/* --- 白卡：3 大入口 + 4 小入口 --- */
.home-panel {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 22px 10px 10px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}
.hp3 {
    display: flex;
}
.hp3-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    padding: 0 2px;
}
.hp3-ico {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #fff4ea 0%, #ffe2cb 100%);
    color: var(--brand);
    margin-bottom: 11px;
}
.hp3-ico svg {
    width: 30px;
    height: 30px;
}
.hp3-t {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2px;
}
.hp3-s {
    margin-top: 5px;
    font-size: 11.5px;
    color: var(--text-3);
    white-space: nowrap;
}
.hpm {
    display: flex;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.hpm-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    padding: 0;
}
.hpm-ico {
    position: relative;
    width: 26px;
    height: 26px;
    color: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hpm-ico svg {
    width: 26px;
    height: 26px;
}
.hpm-ico .badge {
    top: -7px;
    right: -9px;
}
.hpm-t {
    font-size: 12.5px;
    color: var(--text-2);
}

/* --- 热门活动：浅橙底卡 + 1 大 2 小 --- */
.hot-card {
    background: linear-gradient(170deg, #fff6ee 0%, #ffeedd 100%);
    border-radius: var(--radius-lg);
    padding: 16px 14px 14px;
    margin-bottom: 14px;
}
.hot-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.2px;
    padding-left: 2px;
}
.hot-flame {
    width: 18px;
    height: 18px;
    color: var(--brand);
    display: flex;
}
.hot-flame svg {
    width: 18px;
    height: 18px;
}
.hot-grid {
    display: grid;
    grid-template-columns: 1.32fr 1fr;
    gap: 10px;
    margin-top: 12px;
}
.hot-big {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    padding: 16px 14px 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(180, 90, 20, 0.07);
}
.hot-big-t {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}
.hot-big-s {
    margin-top: 6px;
    margin-bottom: 14px;
    font-size: 11.5px;
    line-height: 1.62;
    color: var(--text-2);
    position: relative;
    z-index: 1;
}
.hot-big-btn {
    margin-top: auto;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--grad-btn);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(255, 106, 0, 0.28);
    position: relative;
    z-index: 1;
}
.hot-big-deco {
    position: absolute;
    right: -10px;
    bottom: -14px;
    width: 86px;
    height: 86px;
    color: var(--brand);
    opacity: 0.15;
    transform: rotate(-8deg);
    pointer-events: none;
}
.hot-big-deco svg {
    width: 86px;
    height: 86px;
}
.hot-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hot-mini {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 10px 12px 13px;
    text-align: left;
    box-shadow: 0 4px 14px rgba(180, 90, 20, 0.07);
}
.hot-mini-main {
    flex: 1;
    min-width: 0;
    display: block;
}
.hm-t {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.hm-s {
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hm-arrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-btn);
    color: #fff;
}
.hm-arrow svg {
    width: 13px;
    height: 13px;
}

/* --- 区块标题（图标 + 文字 + 更多） --- */
.sec-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}
.sh-ico {
    width: 17px;
    height: 17px;
    color: var(--brand);
    display: flex;
}
.sh-ico svg {
    width: 17px;
    height: 17px;
}
.sec-head b {
    flex: 1;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.sh-more {
    font-size: 12.5px;
    color: var(--text-3);
    background: none;
    padding: 0;
}

/* --- 页脚品牌 --- */
.home-foot {
    margin: 20px 0 6px;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
    color: var(--text-3);
}

@media (max-width: 340px) {
    .act-hero {
        padding: 14px 16px 22px;
    }
    .ah-title {
        gap: 10px;
    }
    .ah-title .ah-big {
        font-size: 40px;
    }
    .ah-title .ah-word {
        font-size: 21px;
    }
    .ah-sub {
        margin: 8px -16px 0;
        font-size: 13px;
        letter-spacing: 5px;
    }
    .ah-art {
        max-width: 160px;
    }
    .act-card {
        padding: 16px 12px 14px;
    }
    .acs {
        width: 70px;
    }
    .acs-ico {
        width: 42px;
        height: 42px;
    }
    .acs-ico svg {
        width: 21px;
        height: 21px;
    }
    .acs b {
        font-size: 11.5px;
    }
    .acs-arrow svg {
        width: 22px;
    }
    .home-head {
        padding: 18px 15px 20px;
        gap: 11px;
    }
    .hh-avatar,
    .hh-ava {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }
    .hh-ava {
        font-size: 23px;
    }
    .hh-name {
        font-size: 18px;
    }
    .hh-tag {
        display: none;
    }
    .hp3-ico {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }
    .hp3-ico svg {
        width: 27px;
        height: 27px;
    }
    .hp3-t {
        font-size: 14.5px;
    }
    .hot-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 8px;
    }
    .hot-big {
        padding: 14px 12px 13px;
    }
    .hot-big-t {
        font-size: 16px;
    }
    .hot-mini {
        padding: 10px 8px 10px 11px;
    }
    .hm-t {
        font-size: 13px;
    }
}

/* ============ 账户菜单（首页「帮朋友填资料」入口复用） ============ */
.menu-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 14px;
    margin-bottom: 14px;
    overflow: hidden;
}
.mn-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: none;
    text-align: left;
}
.mn-row + .mn-row {
    border-top: 1px solid var(--line);
}
.mn-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #fff4ea 0%, #ffe2cb 100%);
    color: var(--brand);
    position: relative;
}
.mn-ico svg {
    width: 20px;
    height: 20px;
}
.mn-ico .badge {
    top: -5px;
    right: -6px;
}
.mn-main {
    flex: 1;
    min-width: 0;
}
.mn-main b {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
}
.mn-main i {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-style: normal;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mn-arrow {
    flex-shrink: 0;
    color: #c9ccd2;
    font-size: 19px;
    line-height: 1;
}

@media (max-width: 340px) {
    .mn-row {
        padding: 13px 14px;
        gap: 10px;
    }
}

/* ============================================================
   积分兑换页：渐变头图 + 快捷入口卡 + 分区（左大卡 + 右列小卡）
   ============================================================ */
.gx-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -14px -14px 12px;
    padding: 22px 20px 26px;
    background: linear-gradient(135deg, #ffb14e 0%, #ff8a1e 48%, #f96b0c 100%);
    border-radius: 0 0 22px 22px;
    overflow: hidden;
}
.gx-hero::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}
.gx-hero::after {
    content: '';
    position: absolute;
    left: -24px;
    bottom: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.gx-hero-txt {
    position: relative;
    z-index: 1;
}
.gx-hero-big {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(160, 60, 0, 0.3);
}
.gx-hero-sub {
    margin-top: 5px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 244, 230, 0.95);
}
.gx-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.32);
}
.gx-hero-pill b {
    font-size: 13.5px;
}
.gx-hero-art {
    position: relative;
    z-index: 1;
    font-size: 52px;
    line-height: 1;
    filter: drop-shadow(0 6px 12px rgba(150, 55, 0, 0.35));
}
/* 快捷入口：白色圆角卡，四枚图标 */
.gx-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 16px;
    padding: 13px 6px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.gx-q-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    border: 0;
    background: none;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
}
.gx-q-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    color: var(--brand);
    background: #fff2e3;
}
.gx-q-ico svg {
    width: 21px;
    height: 21px;
}
/* 分区：白色圆角底框，板块之间明显区分 */
.gx-sec {
    margin-bottom: 14px;
    padding: 14px 12px 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.gx-sec-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}
.gx-sec-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: var(--brand);
    background: #fff2e3;
}
.gx-sec-ico svg {
    width: 17px;
    height: 17px;
}
.gx-sec-head b {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text);
}
.gx-sec-n {
    font-size: 11px;
    color: var(--text-3);
}
/* 分区卡片组：左大卡 + 右列堆叠 */
.gx-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 10px;
}
.gx-card {
    position: relative;
    overflow: hidden;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: linear-gradient(150deg, #fffaef 0%, #fff3e0 100%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s;
}
.gx-card:active {
    transform: scale(0.975);
}
.gx-card.gx-big {
    background: linear-gradient(150deg, #fff3e2 0%, #ffe2c0 100%);
    display: flex;
    flex-direction: column;
}
.gx-name {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text);
    padding-right: 44px;
}
.gx-big .gx-name {
    font-size: 16.5px;
}
.gx-pts {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 900;
    color: var(--brand);
}
.gx-pts small {
    font-size: 10.5px;
    font-weight: 600;
    margin-left: 2px;
}
.gx-stock {
    margin-top: auto;
    padding-top: 10px;
    font-size: 11px;
    color: #b07a45;
}
.gx-cover {
    position: absolute;
    right: 8px;
    bottom: 6px;
    font-size: 34px;
    line-height: 1;
    filter: drop-shadow(0 3px 5px rgba(190, 110, 30, 0.25));
}
.gx-big .gx-cover {
    font-size: 56px;
    right: 12px;
    bottom: 12px;
}
.gx-soldout {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    background: #c9ccd2;
}
.gx-card.off {
    opacity: 0.62;
}

@media (max-width: 340px) {
    .gx-hero-big {
        font-size: 23px;
    }
    .gx-hero-art {
        font-size: 42px;
    }
    .gx-q-ico {
        width: 36px;
        height: 36px;
    }
}
/* 积分兑换页：分类筛选行选中态统一橙色 */
.gx-quick + .cat-row {
    padding: 12px 4px 6px;
    margin-bottom: 14px;
}
.cat-row .cat.on {
    color: var(--brand);
}
/* 大卡横版缩略图：宽 200（窄卡自适应缩到 100%）高 100，贴卡片底部 */
.gx-thumb {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
}

/* ============================================================
   专属邀请二维码弹层
   ============================================================ */
.qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 2px;
}
.qr-card {
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(150, 82, 12, 0.16);
}
.qr-card img {
    display: block;
    width: 232px;
    height: 232px;
}
.qr-code {
    margin-top: 14px;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    color: var(--text-3);
}
.qr-code b {
    margin-left: 4px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--brand);
}
.qr-tip {
    margin-top: 9px;
    padding: 0 14px;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    color: var(--text-2);
}
.qr-tip b {
    color: var(--brand);
    font-size: 14px;
}
.qr-btns {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.qr-btns .btn {
    flex: 1;
}
.qr-note {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
    color: var(--text-3);
}

@media (max-width: 350px) {
    .code-card .cc-top .cc-code {
        font-size: 25px;
        letter-spacing: 4px;
        text-indent: 4px;
    }
    .cc-qr-box {
        width: 68px;
        height: 68px;
    }
    .qr-card img {
        width: 200px;
        height: 200px;
    }
}

/* 海报式邀请二维码弹层 */
.qr-wrap.qr-poster .qr-card {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: none;
    box-shadow: 0 12px 30px rgba(150, 60, 10, 0.28);
}
.qr-wrap.qr-poster .qr-card img {
    width: 268px;
    height: auto;
}
