/* 好客权益 */ .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__content { position: relative; display: flex; align-items: center; width: 100%; } .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-header-city { display: flex; align-items: center; color: var(--color-heritage-red); font-size: 12px; font-weight: 500; max-width: 30vw; position: relative; z-index: 2; } .benefit-header__share .page-nav-bar__btn { background: transparent; } .benefit-header__share .page-nav-bar__icon { color: var(--color-heritage-red); } .benefit-header-city-pin { width: 8px; height: 8px; border-radius: 50%; background: var(--color-heritage-red); margin-right: 4px; flex-shrink: 0; } .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 { display: flex; justify-content: space-between; align-items: flex-start; 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: baseline; color: var(--color-heritage-red); } .benefit-hero-symbol { font-family: var(--font-headline); font-size: 28px; font-weight: 700; } .benefit-hero-value { font-family: var(--font-headline); font-size: 40px; font-weight: 700; line-height: 1; } .benefit-hero-logo { width: 48px; height: 48px; border-radius: 12px; background: rgba(166, 29, 36, 0.08); display: flex; align-items: center; justify-content: center; color: var(--color-heritage-red); font-weight: 700; font-size: 18px; overflow: hidden; } .benefit-hero-logo-img { width: 28px; height: 28px; display: block; } .benefit-hero-cta { height: 44px; border-radius: var(--radius-full); background: var(--color-heritage-red); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; } .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-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 { 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-login-gate { padding: 48px 24px; text-align: center; }