* {
    margin: 0px;
    padding: 0px;
}

/* 优设标题黑 */
@font-face {
    font-family: 'YouSheBiaoTiHei';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/YouSheBiaoTiHei-Regular.woff2') format('woff2'),
        url('../fonts/YouSheBiaoTiHei-Regular.woff') format('woff');
}

html {
    font-size: 14px;
    font-weight: 400;
    font-family: PingFangSC-Regular, PingFang SC, -apple-system, BlinkMacSystemFont, sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.row-center {
    display: flex;
    justify-content: center;
}

.column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.commission-main {
    max-width: 375px;
    min-height: 100%;
    width: 100%;
    background: linear-gradient(180deg, #FF5825 3.37%, #FF944D 35.95%, #FFFFFF 100%);
    padding-bottom: 32px;
}

/* —— Hero：背景图 + 真实标题文案 —— */
.hero {
    position: relative;
    width: 375px;
    height: 320px;
    padding: 56px 24px 72px;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-banner {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-weight: 400;
    font-size: 36px;
    line-height: 47px;
    color: #FFFFFF;
    font-family: 'YouSheBiaoTiHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-title-char {
    position: relative;
    display: inline-block;
}

.hero-sparkle {
    position: absolute;
    width: 13px;
    height: 13px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    top: -3px;
    right: -9px;
}

.hero-subtitle {
    max-width: 300px;
    font-weight: 400;
    font-size: 26px;
    line-height: 34px;
    color: #FFFFFF;
    font-family: 'YouSheBiaoTiHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 12px;
}

.intro-panel {
    width: 100%;
    max-width: 375px;
    margin: -170px auto 0;
    position: relative;
    z-index: 2;
    padding: 30px 16px 0;
    border-radius: 23px 23px 0 0;
    overflow: visible;
    background: transparent;
    box-sizing: border-box;
}

.intro-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 650px;
    border-radius: 23px 23px 0 0;
    background: linear-gradient(180deg, #FFFFFF 55%, rgba(255, 251, 231, 0) 96.57%);
    box-shadow: inset 0px 8px 9px 0px rgba(255, 173, 41, 0.44);
    z-index: 0;
    pointer-events: none;
}

.intro-panel>* {
    position: relative;
    z-index: 1;
}

/* —— 主白卡片（在 intro-panel 内） —— */
.main-card {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 0px;
    width: 100%;
}

.feature-cell {
    text-align: center;
    align-items: center;
}

.feature-icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-icon {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.feature-name {
    font-weight: bold;
    font-size: 15px;
    color: #333333;
    line-height: 21px;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 11px;
    color: #777777;
    line-height: 16px;
}

/* intro-panel 内的分享注册区 */
.cta-register {
    width: 100%;
    max-width: 275px;
    margin-top: 35px;
    margin-bottom: 0;
    /* padding: 0 8px; */
    position: relative;
    z-index: 1;
}

.btn-share-register {
    width: 100%;
    max-width: 307px;
    margin-top: 0;
    height: 50px;
    line-height: 25px;
    border: none;
    cursor: pointer;
    background: linear-gradient( 88deg, #FFAE00 0%, #FE6100 49.5%, #FF8001 100%);
    box-shadow: inset 6px 5px 9px 0px rgba(255,208,77,0.94), 0px 3px 3px 0px #FFD5B4;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    letter-spacing: 8px;
    text-align: center;
}

.register-hint {
    margin-top: 7px;
    font-size: 10px;
    color: #0E0E0E;
    line-height: 17px;
    text-align: center;
}

/* —— intro-panel 内：其他分享方式（沿用 region-box） —— */
.region-box {
    width: calc(100% - 32px);
    max-width: 329px;
    border-radius: 23px;
    border: none;
    padding: 0;
    margin-top: 16px;
    box-shadow: 0 6px 20px rgba(255, 120, 60, 0.08);
}

.region-box.region-other-share {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBE7 100%);
}

/* 与 register-hint 间距 17px（仅 intro-panel 内第一块白卡片） */
.intro-panel .register-hint+.region-box {
    margin-top: 17px;
    width: 100%;
    max-width: 329px;
}

.region-box>div {
    padding: 12px 18px 26px;
}

/* —— 分佣规则：独立卡片 —— */
.rules-card {
    width: calc(100% - 32px);
    max-width: 329px;
    margin-top: 48px;
    padding: 0;
    border-radius: 23px;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 120, 60, 0.08);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBE7 100%);
    overflow: visible;
}

.rules-card>div {
    padding-top: 0;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 26px;
}

.rules-card .section-tab.section-tab--solo {
    margin-top: -23px;
}

/* —— 常见问题：独立卡片 —— */
.faq-card {
    width: calc(100% - 32px);
    max-width: 329px;
    margin-top: 48px;
    padding: 0;
    border-radius: 23px;
    border: none;
    box-shadow: 0px 5px 12px 0px rgba(255,124,84,0.3);
    background: #FFFFFF;
}

.faq-card .section-tab.section-tab--solo {
    margin-top: -23px;
}

.faq-card>div {
    padding: 0px 18px 26px;
}

.card-section-title {
    text-align: center;
    font-weight: 500;
    font-size: 17px;
    color: #650200;
    line-height: 24px;
    margin-bottom: 15px;
}

.section-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    width: 257px;
    height: 51px;
    background: linear-gradient( 360deg, #FFFFFF 0%, #FFB679 100%);
    box-shadow: 0px 1px 4px 0px rgba(255,146,78,0.37), inset 0px 2px 4px 0px rgba(255,253,220,0.74);
    border-radius: 100px 100px 250px 250px;
}

.section-tab-label {
    position: relative;
    display: inline-block;
    padding: 4px 12px 6px;
}

.section-tab-sparkle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    display: block;
}

.section-tab-sparkle--lg {
    height: 12px;
    width: auto;
    left: -2px;
}

.section-tab-sparkle--sm {
    height: 9px;
    width: auto;
    right: -2px;
    bottom: 10px;
}

.section-tab-text {
    font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
    font-size: 21px;
    color: #650200;
    line-height: 28px;
    position: relative;
    z-index: 1;
}

/* 其他分享方式：两列 */
.other-share-cols {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: stretch;
}

.other-share-col {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.other-share-headline {
    font-size: 10px;
    color: #777777;
    line-height: 14px;
}

.other-share-sub {
    font-size: 10px;
    color: #777777;
    line-height: 14px;
    margin-bottom: 7px;
}

.share-pic {
    position: relative;
    width: 100%;
}

/* 两列示意图统一尺寸区域 */
.share-pic--compact {
    margin-bottom: 6px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-pic--compact .pic-bg {
    display: block;
    width: 132px;
    height: 210px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.share-overview {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 62px;
    height: 24px;
    padding: 0 8px;
    line-height: 24px;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 12px;
    font-size: 11px;
    color: #FFFFFF;
    justify-content: center;
    cursor: pointer;
}

.share-overview img {
    width: 12px;
    margin-right: 3px;
}

.share-item-btn {
    text-align: center;
    background: linear-gradient( 0deg, #FF9C3A 0%, #FE6100 100%);
    border-radius: 23px;
    font-weight: 500;
    font-size: 12px;
    color: #FFFFFF;
    cursor: pointer;
}

.share-item-btn--col {
    width: 100%;
    max-width: 76px;
    height: 27px;
    line-height: 27px;
}

/* 分佣规则：图2 纵向 图标 → 标题 → 正文，整体居中 */
.rule-row {
    margin-bottom: 19px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.rule-row:last-child {
    margin-bottom: 0;
}

.rule-icon-frame {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.rule-badge-img {
    width: 44px;
    height: 44px;
}

.rule-row .step-title {
    font-weight: 600;
    font-size: 15px;
    color: #333333;
    line-height: 21px;
    width: 100%;
}

.rule-row .step-text {
    font-size: 12px;
    color: #777777;
    line-height: 21px;
    margin-top: 8px;
    width: 100%;
    padding: 0 6px;
    text-align: center;
}

/* 分佣三条正文最大宽度（规则区第一～三条，section-tab 后为第 2～4 个子元素） */
.rules-card>div>.rule-row:nth-child(2) .step-text {
    max-width: 190px;
    margin-left: auto;
    margin-right: auto;
}

.rules-card>div>.rule-row:nth-child(3) .step-text {
    max-width: 205px;
    margin-left: auto;
    margin-right: auto;
}

.rules-card>div>.rule-row:nth-child(4) .step-text {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.step-text strong {
    color: #333333;
    font-weight: 700;
}

/* 常见问题 */
.faq-item {
    padding-bottom: 15px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #E5E5E5;
    align-items: flex-start;
}

.faq-item--last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-num {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient( 320deg, #FFBC82 0%, #FF3881 100%);
    font-weight: 500;
    font-size: 11px;
    color: #FFFFFF;
    margin-right: 5px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 16px;
    padding: 0;
}

.faq-body {
    flex: 1;
    min-width: 0;
}

.question-title {
    font-weight: 500;
    font-size: 15px;
    color: #333333;
    line-height: 21px;
    margin-bottom: 6px;
}

.question-text {
    font-size: 11px;
    color: #333333;
    line-height: 16px;
}

.toast-model {
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, 0);
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
}