/* 好客权益 */ .benefit-page { background: var(--color-background); } .benefit-header { position: sticky; top: 0; z-index: 50; background: var(--color-background); box-sizing: border-box; } .benefit-header-title { position: absolute; left: 0; right: 0; top: var(--nav-status-bar-height); height: var(--nav-content-height); line-height: var(--nav-content-height); text-align: center; padding: 0 48px; box-sizing: border-box; font-family: var(--font-headline); font-size: 16px; font-weight: 700; color: var(--color-heritage-red); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; z-index: 1; } .benefit-main { padding: 16px var(--space-page) 24px; } .benefit-hero { position: relative; overflow: hidden; padding: 16px; border-radius: var(--radius-lg); background: var(--color-card); border: 1px solid rgba(226, 190, 188, 0.2); box-shadow: 0 4px 20px rgba(166, 29, 36, 0.05); margin-bottom: 16px; } .benefit-hero-top { margin-bottom: 16px; } .benefit-hero-label { display: block; font-size: 12px; color: var(--color-on-surface-variant); margin-bottom: 4px; } .benefit-hero-amount { display: flex; align-items: center; color: var(--color-heritage-red); } .benefit-hero-symbol { font-family: var(--font-headline); font-size: 28px; font-weight: 700; } .benefit-hero-value { display: inline-flex; align-items: center; font-family: var(--font-headline); font-size: 40px; font-weight: 700; line-height: 1; } .benefit-hero-actions { display: flex; align-items: center; gap: 10px; } .benefit-hero-cta { flex: 1; height: 44px; border-radius: var(--radius-full); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-sizing: border-box; } .benefit-hero-cta--primary { background: var(--color-heritage-red); color: #fff; } .benefit-hero-cta--secondary { background: rgba(166, 29, 36, 0.08); color: var(--color-heritage-red); } .benefit-tabs { display: flex; margin-bottom: 12px; border-bottom: 1px solid var(--color-surface-container); } .benefit-tab { margin-right: 24px; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--color-subtle-gray); border-bottom: 2px solid transparent; } .benefit-tab--active { color: var(--color-heritage-red); border-bottom-color: var(--color-heritage-red); } .benefit-coupon { position: relative; background: var(--color-card); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-card); overflow: hidden; } .benefit-coupon-notch { position: absolute; left: -8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--color-background); } .benefit-coupon-notch--right { left: auto; right: -8px; } .benefit-coupon-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; } .benefit-coupon-name { font-family: var(--font-headline); font-size: 15px; font-weight: 700; color: var(--color-on-surface); flex: 1; margin-right: 8px; } .benefit-coupon-balance { font-family: var(--font-headline); font-size: 20px; font-weight: 700; color: var(--color-heritage-red); } .benefit-coupon-meta .benefit-figure { color: inherit; } .benefit-coupon-no { display: block; font-size: 11px; color: var(--color-subtle-gray); margin-bottom: 10px; } .benefit-progress { height: 6px; border-radius: 999px; background: var(--color-surface-container); overflow: hidden; margin-bottom: 12px; } .benefit-progress-bar { height: 100%; background: var(--color-heritage-red); border-radius: 999px; } .benefit-coupon-footer { display: flex; justify-content: space-between; align-items: center; } .benefit-coupon-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 12px; color: var(--color-subtle-gray); } .benefit-coupon-btn { padding: 6px 14px; border-radius: var(--radius-full); background: var(--color-heritage-red); color: #fff; font-size: 12px; font-weight: 600; } .benefit-coupon-btn--ghost { background: rgba(166, 29, 36, 0.08); color: var(--color-heritage-red); } .benefit-intro-card--page { margin-bottom: 16px; } .benefit-intro-card--page .benefit-intro-card-body { font-size: 11px; line-height: 1.65; } .benefit-login-gate { padding: 16px var(--space-page) 48px; text-align: center; }