:root {
    --brand-soft: #f1edfa;
    --brand-secondary-hover: #f2d229;
    --public-orange: #d97706;
    --public-pink: #c2417a;
}

.public-marketing-page {
    overflow-x: hidden;
}

.public-marketing-page .alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 16px;
}

.public-marketing-page .alert > i {
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.public-marketing-page .alert h2 {
    margin-bottom: 5px;
    font-size: .95rem;
}

.public-marketing-page .alert p {
    margin: 0;
    font-size: .85rem;
    line-height: 1.6;
}

.public-marketing-page .alert-primary {
    color: var(--ink-2);
    background-color: #faf9ff;
    border-color: #e6e1ff;
}

.public-marketing-page .alert-primary > i {
    color: var(--brand);
}

.public-marketing-page .alert-warning {
    color: #8b6800;
    background-color: #fffcef;
    border-color: #f2df8c;
}

.public-list {
    padding-left: 1.2rem;
    color: var(--ink-2);
    font-size: .84rem;
    line-height: 1.75;
}

.public-list li {
    padding: .45rem 0;
}

.public-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: .82rem;
    font-weight: 750;
}

.public-marketing-page .page-hero h1 {
    font-weight: 600 !important;
}

.about-lead {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.65;
}

.about-audience-card {
    display: flex;
    gap: 16px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about-audience-card:hover {
    transform: translateY(-2px);
    border-color: rgba(71, 47, 146, .25);
    box-shadow: 0 12px 28px rgba(42, 28, 78, .08);
}

.about-audience-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 1.2rem;
}

.about-audience-card > div:last-child {
    min-width: 0;
}

.about-audience-label {
    display: block;
    margin-bottom: .35rem;
    color: var(--brand);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-audience-card h3 {
    margin-bottom: .5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.about-audience-card p {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.7;
}

.about-tech-panel {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    padding: 1.5rem;
    border: 1px solid #e3ddef;
    border-radius: 16px;
    background: radial-gradient(circle at 95% 0%, rgba(255, 222, 47, .14), transparent 28%), #faf9ff;
}

.about-tech-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #fff;
    background: var(--brand);
    font-size: 1.25rem;
}

.about-tech-panel h3 {
    margin: .3rem 0 .45rem;
    font-size: 1.05rem;
}

.about-tech-panel p {
    max-width: 900px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.7;
}

.about-purpose {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 1.6rem 1.75rem;
    border-radius: 17px;
    color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(255, 222, 47, .25), transparent 27%), linear-gradient(135deg, #2f1b70, var(--brand) 55%, #6543b3);
}

.about-purpose::after {
    position: absolute;
    right: -75px;
    bottom: -110px;
    width: 220px;
    height: 220px;
    border: 30px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    content: "";
}

.about-purpose-copy {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.about-purpose-label {
    display: block;
    margin-bottom: .5rem;
    color: var(--brand-secondary);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.about-purpose h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    line-height: 1.45;
}

.about-purpose-mark {
    position: relative;
    z-index: 1;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brand);
    background: var(--brand-secondary);
    font-size: 1.25rem;
}

.loyalty-hero {
    position: relative;
    overflow: hidden;
    padding: 158px 0 54px;
    color: #fff;
    background: radial-gradient(circle at 82% 18%, rgba(255, 222, 47, .24), transparent 25%), radial-gradient(circle at 12% 110%, rgba(255, 255, 255, .1), transparent 30%), linear-gradient(135deg, #2f1b70 0%, var(--brand) 52%, #6543b3 100%);
}

.loyalty-hero::after {
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 380px;
    height: 380px;
    border: 48px solid rgba(255, 222, 47, .07);
    border-radius: 50%;
    pointer-events: none;
    content: "";
}

.loyalty-hero .container {
    position: relative;
    z-index: 1;
}

.loyalty-hero-content {
    max-width: 780px;
}

.loyalty-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: var(--brand-secondary);
    background: rgba(255, 255, 255, .08);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.loyalty-hero h1 {
    margin: 1rem 0 .75rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.loyalty-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    line-height: 1.75;
}

.loyalty-overview-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.loyalty-overview-copy h2 {
    max-width: 520px;
    margin: .45rem 0 .75rem;
    color: var(--ink);
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.loyalty-overview-copy p {
    max-width: 570px;
    margin-bottom: .75rem;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.75;
}

.loyalty-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.loyalty-stat {
    min-width: 0;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #faf9ff;
}

.loyalty-stat-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    border-radius: 11px;
    color: var(--brand);
    background: #fff;
    box-shadow: 0 7px 18px rgba(16, 24, 40, .07);
    font-size: 1rem;
}

.loyalty-stat strong {
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.loyalty-stat small {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.5;
}

.loyalty-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c6bfdc transparent;
}

.loyalty-table-wrap::-webkit-scrollbar {
    height: 8px;
}

.loyalty-table-wrap::-webkit-scrollbar-track {
    background: #f5f5f7;
}

.loyalty-table-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--brand);
}

.loyalty-table-wrap:focus-visible {
    outline: 3px solid rgba(71, 47, 146, .2);
    outline-offset: 3px;
}

.loyalty-table {
    width: 100%;
    margin: 0;
    color: var(--ink-2);
    font-size: .82rem;
}

.loyalty-table > :not(caption) > * > * {
    padding: .9rem 1rem;
    border-color: var(--line);
}

.loyalty-table thead th {
    color: var(--ink);
    background: var(--soft);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    white-space: nowrap;
}

.loyalty-table tbody th {
    color: var(--ink);
    font-weight: 800;
}

.loyalty-table tbody td,
.loyalty-table tbody th {
    vertical-align: middle;
}

.loyalty-table tbody tr:nth-child(even) td,
.loyalty-table tbody tr:nth-child(even) th {
    background: #fbfcfe;
}

.loyalty-table tbody tr:hover td,
.loyalty-table tbody tr:hover th {
    background: #faf9ff;
}

.loyalty-earn-table th:not(:first-child),
.loyalty-earn-table td:not(:first-child) {
    text-align: right;
    white-space: nowrap;
}

.loyalty-points-badge {
    display: inline-flex;
    align-items: center;
    padding: .4rem .6rem;
    border-radius: 999px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.loyalty-footnote {
    margin-top: .85rem;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.5;
}

.loyalty-redemption-table {
    min-width: 1040px;
    table-layout: auto;
}

.loyalty-redemption-table th:not(:first-child),
.loyalty-redemption-table td:not(:first-child) {
    min-width: 112px;
    text-align: right;
    white-space: nowrap;
}

.loyalty-redemption-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 105px;
}

.loyalty-redemption-table thead th:first-child {
    z-index: 3;
    background: var(--soft);
}

.loyalty-redemption-table tbody tr:nth-child(odd) th:first-child {
    background: #fff;
}

.loyalty-redemption-table tbody tr:nth-child(even) th:first-child {
    background: #fbfcfe;
}

.loyalty-redemption-table tbody tr:hover th:first-child {
    background: #faf9ff;
}

.loyalty-scroll-hint {
    display: none;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
}

.loyalty-scroll-hint i,
.loyalty-tier-note i {
    color: var(--brand);
}

.loyalty-tier-note {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.5;
}

.loyalty-tier-note i {
    flex: 0 0 auto;
}

.loyalty-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.loyalty-example-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
}

.loyalty-example-card::before {
    position: absolute;
    top: 0;
    right: 1.25rem;
    left: 1.25rem;
    height: 4px;
    border-radius: 0 0 5px 5px;
    background: var(--brand);
    content: "";
}

.loyalty-example-card-featured {
    border-color: #e6dcaa;
    background: #fffdf5;
}

.loyalty-example-card-featured::before {
    background: var(--brand-secondary);
}

.loyalty-example-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.loyalty-example-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 1.1rem;
}

.loyalty-example-header > div {
    min-width: 0;
}

.loyalty-example-header span:not(.loyalty-example-icon) {
    display: block;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.loyalty-example-header h3 {
    margin: .2rem 0 0;
    color: var(--ink);
    font-size: 1rem;
}

.loyalty-step-list {
    display: grid;
    gap: 1rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.loyalty-step-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .8rem;
    align-items: flex-start;
}

.loyalty-step-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand);
    font-size: .7rem;
    font-weight: 800;
    box-shadow: 0 0 0 5px var(--brand-soft);
}

.loyalty-step-list strong {
    display: block;
    margin-top: .05rem;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
}

.loyalty-step-list p {
    margin: .25rem 0 0;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.6;
}

.loyalty-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    border-radius: 18px;
    color: #fff;
    background: radial-gradient(circle at 90% 5%, rgba(255, 222, 47, .24), transparent 28%), linear-gradient(135deg, #2f1b70, var(--brand) 52%, #6543b3);
    box-shadow: 0 16px 38px rgba(47, 33, 92, .18);
}

.loyalty-cta-decoration {
    position: absolute;
    right: -80px;
    bottom: -125px;
    width: 260px;
    height: 260px;
    border: 38px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.loyalty-cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 1.1rem;
    align-items: center;
}

.loyalty-cta-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--brand);
    background: var(--brand-secondary);
    font-size: 1.3rem;
}

.loyalty-cta-kicker {
    display: block;
    margin-bottom: .3rem;
    color: var(--brand-secondary);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.loyalty-cta h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.loyalty-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: .8rem;
    line-height: 1.65;
}

.loyalty-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
}

.loyalty-cta-actions .btn {
    min-width: 112px;
}

.loyalty-btn-light,
.refer-btn-light {
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.loyalty-btn-light:hover,
.loyalty-btn-light:focus-visible,
.refer-btn-light:hover,
.refer-btn-light:focus-visible {
    border-color: #fff;
    color: var(--brand);
    background: #fff;
}

.loyalty-expiry-table {
    table-layout: fixed;
}

.loyalty-expiry-table th:first-child {
    width: 58%;
}

.loyalty-expiry-current th,
.loyalty-expiry-current td,
.loyalty-expiry-current:hover th,
.loyalty-expiry-current:hover td {
    color: var(--ink);
    background: #fffbea !important;
}

.loyalty-expiry-current td strong {
    color: var(--brand);
}

.loyalty-current-label {
    display: inline-flex;
    align-items: center;
    margin-right: .5rem;
    padding: .3rem .5rem;
    border-radius: 999px;
    color: var(--brand);
    background: var(--brand-secondary);
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.refer-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 30px;
    color: #fff;
    background: radial-gradient(circle at 82% 20%, rgba(255, 222, 47, .22), transparent 25%), linear-gradient(135deg, #2f1b70 0%, var(--brand) 50%, #6543b3 100%);
}

.refer-hero::after {
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 222, 47, .08);
    content: "";
}

.refer-hero .container {
    position: relative;
    z-index: 1;
}

.refer-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
}

.refer-hero-content h1,
.refer-hero-panel .refer-hero-content h3 {
    max-width: 520px;
    margin: 1rem 0 .8rem;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.refer-hero-content > p {
    max-width: 520px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
    line-height: 1.75;
}

.refer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .75rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: var(--brand-secondary);
    background: rgba(255, 255, 255, .08);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.refer-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem 1.1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.refer-reward-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.refer-reward-card {
    position: relative;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 17px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 21, 65, .16);
}

.refer-reward-card::before {
    position: absolute;
    top: 0;
    right: 1rem;
    left: 1rem;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: var(--brand-secondary);
    content: "";
}

.refer-reward-badge {
    align-self: flex-start;
    padding: .3rem .5rem;
    border-radius: 999px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: .6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.refer-reward-card strong {
    display: block;
    margin-top: 1rem;
    color: var(--brand);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.1;
}

.refer-reward-title {
    display: block;
    margin-top: .5rem;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
}

.refer-reward-card small {
    display: block;
    margin-top: .35rem;
    color: var(--muted);
    font-size: .66rem;
    line-height: 1.5;
}

.refer-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.refer-step-card {
    position: relative;
    min-height: 225px;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfaff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.refer-step-card:hover {
    border-color: rgba(88, 63, 153, .3);
    box-shadow: 0 12px 28px rgba(42, 28, 78, .09);
    transform: translateY(-3px);
}

.refer-step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(88, 63, 153, .42);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.refer-step-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--brand);
    background: #fff;
    box-shadow: 0 8px 20px rgba(199, 199, 199, .23);
    font-size: 1.35rem;
}

.refer-step-card h3 {
    margin: 1.15rem 0 .5rem;
    color: var(--ink);
    font-size: .9rem;
}

.refer-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.7;
}

.referral-section {
    height: 100%;
}

.referral-image {
    display: block;
    width: 60%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

.referral-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .25rem .75rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    color: #fff;
    background: var(--brand);
    font-weight: 700;
    text-align: center;
}

.referral-table {
    font-size: .85rem;
}

.referral-table thead th {
    text-align: center;
}

.referral-table td {
    vertical-align: middle;
    text-align: center;
}

.commission-highlight-orange {
    color: var(--public-orange);
    font-weight: 700;
}

.commission-highlight-pink {
    color: var(--public-pink);
    font-weight: 700;
}

.referral-diagram {
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #fff;
}

.referral-diagram img {
    display: block;
    width: 100%;
    height: auto;
}

/* Refer & Earn 的四张好处卡与钱包奖励条按稿件取值(benefit #9a4f91/#f5eefb、wallet #6840a0/#dfd0ee),用户 2026-10-09 决定。 */
.benefit-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid #ece8f1; border-radius: 14px; background: #fff; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.benefit-card:hover { transform: translateY(-2px); border-color: #d7c8e8; box-shadow: 0 8px 24px rgba(78, 47, 116, 0.08); }
.benefit-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: #f5eefb; color: #9a4f91; font-size: 21px; font-weight: 700; }
.benefit-card h3 { margin: 1px 0 7px; font-size: 16px; font-weight: 700; color: #211d26; }
.benefit-card p { margin: 0; color: #66616c; font-size: 14px; line-height: 1.55; }
.benefit-note { display: block; margin-top: 7px; color: #98929d; font-size: 12px; }
.wallet-reward { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid #dfd0ee; border-radius: 16px; background: linear-gradient( 135deg, #f8f3fc 0%, #fcfaff 100% ); }
.wallet-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #6840a0; color: #fff; font-size: 20px; }
.wallet-content { flex: 1; }
.wallet-badge { display: inline-flex; align-items: center; margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; background: #6840a0; color: #fff; font-size: 12px; font-weight: 700; }
.wallet-content h3 { margin: 0 0 7px; font-size: 17px; font-weight: 700; color: #211d26; }
.wallet-content p { max-width: 760px; margin: 0; color: #625d68; font-size: 14px; line-height: 1.6; }
@media (max-width: 575.98px) {
  .benefit-card { padding: 17px; }
  .benefit-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .wallet-reward { padding: 19px; }
  .wallet-icon { display: none; }
}












.refer-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 1.1rem;
    align-items: center;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    border-radius: 18px;
    color: #fff;
    background: radial-gradient(circle at 90% 5%, rgba(255, 222, 47, .24), transparent 28%), linear-gradient(135deg, #2f1b70, var(--brand) 52%, #6543b3);
    box-shadow: 0 16px 38px rgba(47, 33, 92, .18);
}

.refer-cta::after {
    position: absolute;
    right: -80px;
    bottom: -125px;
    width: 260px;
    height: 260px;
    border: 38px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
    content: "";
}

.refer-cta-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--brand);
    background: var(--brand-secondary);
    font-size: 1.3rem;
}

.refer-cta-copy {
    position: relative;
    z-index: 1;
}

.refer-cta-copy > span {
    display: block;
    margin-bottom: .3rem;
    color: var(--brand-secondary);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.refer-cta h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.refer-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: .8rem;
    line-height: 1.65;
}

.refer-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
}

.refer-cta-actions .btn {
    min-width: 112px;
}

/* Refer & Earn member panel(MC06,第二个消费面):`.refer-hero`/`.refer-eyebrow`/`.refer-hero-actions`/
   `.refer-steps-grid`/`.refer-step-*` 与营销页 /refer-and-earn 共用同一份规则,按 rules/frontend.md
   「第二处真实重复才抽取」不重复定义。本卡走路线①按页加载本表(MC06 findings 已登记理由:
   `.refer-hero`/`.refer-reward-grid`/`.refer-cta` 在稿件同一批断点内用组合选择器混排,拆到 web.css
   要拆开这些组合选择器并复制断点块,拆分面过营销页风险)。以下是会员面板独有、营销页零消费的规则:
   `.refer-hero.refer-hero-panel` 覆盖背景与内边距(会员面板是卡片,不是整页 Hero),
   `.refer-share-layout`/`.refer-social-*` 是推荐链接卡的分享区,营销页没有这块内容。 */
.refer-hero.refer-hero-panel {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 22px;
    background: radial-gradient(circle at 92% 5%, rgba(255, 222, 47, .22), transparent 30%), radial-gradient(circle at 5% 95%, rgba(255, 255, 255, .08), transparent 28%), var(--brand);
    box-shadow: 0 20px 50px rgba(47, 34, 93, .2);
}

/* 会员面板不渲染稿件右列的奖励金额卡(收益数值不渲染,ADR-0033 决策 4),
   两列 grid 原样保留会让 hero 文案挤在左 42.5%、右侧整列空白(MC06 卡级审查 F4)。 */
.refer-hero-panel .refer-hero-grid {
    grid-template-columns: 1fr;
}

.refer-hero.refer-hero-panel::after {
    right: -85px;
    bottom: -100px;
    width: 230px;
    height: 230px;
    border: 35px solid rgba(255, 255, 255, .06);
    pointer-events: none;
}

.refer-share-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 1rem;
    align-items: stretch;
}

.refer-share-divider {
    position: relative;
    margin: 1rem 0;
    text-align: center;
}

.refer-share-divider::before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--public-line, #dee2e6);
    content: "";
}

.refer-share-divider span {
    position: relative;
    padding-inline: .7rem;
    color: var(--public-muted, #746d7b);
    background: #fff;
    font-size: .68rem;
    font-weight: 700;
}

.refer-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.refer-social-button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 52px;
    gap: .65rem;
    padding: .55rem .75rem;
    border: 1px solid #dee2e6;
    border-radius: 13px;
    color: var(--ink, #2b2540);
    background: #fff;
    font-size: .75rem;
    font-weight: 800;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

/* 社交按钮当前渲染为 aria-disabled 的 span,不可聚焦也不可点击:不写 :focus-visible(零对象),
   hover 也不做位移,免得一组不可交互元素看起来可点。 */
.refer-social-button:hover {
    color: var(--brand);
    border-color: rgba(88, 63, 153, .32);
    background: #fbfaff;
}

.refer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 1rem;
}

.refer-social-button > .bi-arrow-up-right {
    color: var(--public-muted-2, #928b98);
}

/* 法务正文页(/privacy、/terms)。两页是签发 .docx 的逐字呈现:元素层级与编号都照抄原件,
   这里只负责排版,不参与「哪一段算标题」的判断——Word 里被标成标题样式的整句话照样渲染成标题。
   pre-wrap 是为了让原件里的连续空格在页面上也是连续空格:HTML 默认把它们折叠成一个,
   那属于改动正文。因此每个文字元素都由生成器写成单行、内部不带任何多余空白。 */
.legal-document .card-body {
    padding: 28px 30px 32px;
}

.legal-document .legal-doc-title,
.legal-document .legal-section-title,
.legal-document .legal-subsection-title,
.legal-document .legal-p,
.legal-document .legal-list li {
    white-space: pre-wrap;
    /* pre-wrap 不会替长串断行。原件里今天最长的不可断词是 29 字符,将来补进来的 cookie 清单
       或取消政策带上长 URL、长邮箱时就会顶出容器,而正文不许为了排版改写。 */
    overflow-wrap: anywhere;
}

/* 原件自己的标题(Word Heading1)。页面的 h1 是外壳那个短标签,所以它落在 h2 上。 */
.legal-doc-title {
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.legal-section-title {
    margin: 26px 0 12px;
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 750;
}

.legal-subsection-title {
    margin: 18px 0 10px;
    font-size: .95rem;
    font-weight: 700;
}

.legal-document .card-body > .legal-section-title:first-child,
.legal-document .card-body > .legal-subsection-title:first-child {
    margin-top: 0;
}

.legal-p {
    margin-bottom: 14px;
    line-height: 1.75;
}

/* 编号取自原件自身的编号格式,与标题文字之间的间距由这里给,不写进正文取值。 */
.legal-num {
    margin-right: .45rem;
}

.legal-list {
    margin-bottom: 14px;
    padding-left: 26px;
}

.legal-list li {
    margin-bottom: 6px;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .legal-document .card-body {
        padding: 20px 18px 24px;
    }

    .legal-list {
        padding-left: 20px;
    }
}

@media (max-width: 991.98px) {
    .loyalty-hero {
        padding: 125px 0 46px;
    }

    .loyalty-overview-layout,
    .refer-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .refer-share-layout {
        grid-template-columns: 1fr;
    }

    .loyalty-overview-copy,
    .refer-hero-content {
        max-width: 680px;
    }

    .loyalty-scroll-hint {
        display: flex;
    }

    .loyalty-cta-content,
    .refer-cta {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .loyalty-cta-actions,
    .refer-cta-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .about-audience-card {
        padding: 1.15rem;
    }

    .about-tech-panel {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 1.2rem;
    }

    .about-tech-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .about-purpose {
        padding: 1.35rem;
    }

    .about-purpose-mark {
        display: none;
    }

    .loyalty-hero {
        padding: 108px 16px 38px;
    }

    .loyalty-hero h1 {
        margin-top: .85rem;
        font-size: 2rem;
    }

    .loyalty-hero p {
        font-size: .84rem;
        line-height: 1.65;
    }

    .loyalty-overview-stats {
        gap: .65rem;
    }

    .loyalty-stat {
        min-height: 145px;
        padding: .9rem;
    }

    .loyalty-table {
        font-size: .76rem;
    }

    .loyalty-table > :not(caption) > * > * {
        padding: .78rem .75rem;
    }

    .loyalty-redemption-table {
        min-width: 920px;
    }

    .loyalty-example-grid,
    .refer-steps-grid {
        grid-template-columns: 1fr;
    }

    .loyalty-example-card {
        padding: 1.15rem;
    }

    .loyalty-cta-content,
    .refer-cta {
        grid-template-columns: 1fr;
    }

    .loyalty-cta-icon,
    .refer-cta-icon {
        width: 48px;
        height: 48px;
    }

    .loyalty-cta-actions,
    .refer-cta-actions {
        grid-column: auto;
        justify-content: flex-start;
    }

    .referral-image {
        width: 100%;
        max-width: none;
    }

    .referral-table {
        min-width: 420px;
    }
}

@media (max-width: 575.98px) {




    .about-audience-card {
        gap: 12px;
    }

    .about-audience-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .about-tech-panel {
        grid-template-columns: 1fr;
    }

    .about-purpose h3 {
        font-size: 1.08rem;
    }

    .loyalty-hero {
        padding: 104px 10px 34px;
    }

    .loyalty-hero-eyebrow {
        padding: .4rem .65rem;
        font-size: .62rem;
    }

    .loyalty-overview-stats {
        grid-template-columns: 1fr;
    }

    .loyalty-stat {
        min-height: 0;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: .8rem;
        align-items: center;
    }

    .loyalty-stat-icon {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .loyalty-stat small {
        margin-top: .15rem;
    }

    .loyalty-points-badge {
        padding: .32rem .48rem;
        font-size: .64rem;
    }

    .loyalty-earn-table th,
    .loyalty-earn-table td {
        padding-inline: .6rem;
    }

    .loyalty-expiry-table {
        table-layout: auto;
    }

    .loyalty-expiry-table th:first-child {
        width: 55%;
    }

    .loyalty-current-label {
        display: table;
        margin: 0 0 .35rem;
    }

    .loyalty-cta,
    .refer-cta {
        padding: 1.25rem;
        border-radius: 15px;
    }

    .loyalty-cta-actions,
    .refer-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .loyalty-cta-actions .btn,
    .refer-cta-actions .btn {
        width: 100%;
    }

    .refer-social-grid {
        grid-template-columns: 1fr;
    }

    .refer-hero {
        padding: 104px 10px 34px;
    }

    .refer-reward-grid {
        grid-template-columns: 1fr;
    }

    .refer-reward-card {
        min-height: 145px;
    }

    .refer-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 359.98px) {
    .loyalty-hero h1 {
        font-size: 1.8rem;
    }

    .loyalty-table {
        font-size: .72rem;
    }

    .loyalty-table > :not(caption) > * > * {
        padding: .7rem .55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-marketing-page *,
    .public-marketing-page *::before,
    .public-marketing-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Refer & Earn 条款模态(#referTNC,两页共用):稿件全局 .tnc / .list 收窄到模态内。 */
#referTNC .tnc { font-size: .84rem; }
#referTNC .list { padding-left: 1.2rem; color: var(--ink-2); font-size: .84rem; line-height: 1.75; }
#referTNC .list li { padding: .45rem 0; }
