/* Personal center: desktop layout based on the 1440px design frame. */ .profile-page { min-height: 100vh; padding-top: var(--site-header-height, 72px); background: var(--bg); } .profile-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #2a0d22 0%, #150a17 60%, #0b0b0d 100%); } .profile-hero::before { position: absolute; top: -140px; left: -120px; width: 620px; height: 360px; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: .2; content: ""; pointer-events: none; } .profile-hero__inner, .profile-stats, .profile-tabs, .profile-main, .profile-promo { width: min(calc(100% - 48px), var(--page-width)); margin-inline: auto; } .profile-hero__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px 28px; } .profile-identity { display: flex; align-items: center; gap: 24px; min-width: 0; } .profile-identity__avatar { width: 96px; height: 96px; flex: 0 0 96px; border: 3px solid rgba(255, 255, 255, .24); border-radius: 50%; object-fit: cover; } .profile-identity__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; } .profile-identity__name { max-width: 100%; margin: 0; overflow: hidden; color: var(--text); font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; } .profile-identity__meta { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 18px; letter-spacing: .06em; } .profile-identity__edit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding-inline: 12px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; } .profile-identity__edit img, .profile-wallet__label img { width: 16px; height: 16px; flex: 0 0 16px; } .profile-wallet { display: flex; align-items: center; gap: 28px; min-height: 120px; padding: 18px 24px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--bg-elevated); } .profile-wallet__label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: 15px; font-weight: 600; line-height: 21px; white-space: nowrap; } .profile-wallet__amount { display: block; margin: 4px 0 0; color: var(--gold); font-family: Inter, var(--font); font-size: 28px; font-weight: 600; line-height: 34px; } .profile-wallet__hint { margin: 2px 0 0; color: var(--text-dim); font-size: 12px; line-height: 18px; white-space: nowrap; } .profile-wallet__actions { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; } .profile-wallet__recharge { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding-inline: 16px; border-radius: 999px; background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%); color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; } .profile-wallet__details { color: var(--text-muted); font-size: 12px; line-height: 18px; white-space: nowrap; text-decoration: none; } .profile-wallet__details:hover { color: var(--text); } .profile-stats { position: relative; display: flex; align-items: center; gap: 40px; padding: 18px 0 22px; border-top: 1px solid var(--line-soft); } .profile-stat { display: flex; flex-direction: column; gap: 2px; } .profile-stat__value { color: var(--text); font-family: Inter, var(--font); font-size: 20px; font-weight: 600; line-height: 26px; white-space: nowrap; } .profile-stat__label { color: var(--text-dim); font-size: 12px; line-height: 18px; } .profile-tabs { padding-top: 4px; border-bottom: 1px solid var(--line-soft); } .profile-tabs__inner { display: flex; align-items: flex-start; gap: 32px; height: 38px; } .profile-tabs__link { position: relative; display: inline-flex; flex-direction: column; align-items: center; height: 100%; padding: 4px 0 0; color: var(--text-muted); font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; } .profile-tabs__link::after { position: absolute; bottom: 0; left: 50%; width: 24px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%); content: ""; opacity: 0; } .profile-tabs__link.is-active { color: var(--text); } .profile-tabs__link.is-active::after { opacity: 1; } .profile-section { display: flex; flex-direction: column; gap: 20px; } .profile-section--recent { padding-block: 28px 20px; } .profile-section--favorites { padding-block: 20px; } .profile-section__head, .profile-section__heading { display: flex; align-items: center; } .profile-section__head { justify-content: space-between; gap: 20px; } .profile-section__heading { gap: 14px; min-width: 0; } .profile-section__title { margin: 0; color: var(--text); font-size: 22px; font-weight: 600; line-height: 30px; white-space: nowrap; } .profile-section__subtitle { color: var(--text-dim); font-size: 14px; line-height: 22px; white-space: nowrap; } .profile-section__more { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 14px; line-height: 22px; white-space: nowrap; } .profile-section__more img { width: 16px; height: 16px; } .profile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; } .profile-section__empty { grid-column: 1 / -1; margin: 8px 0 32px; color: var(--text-muted); } .profile-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .profile-card__cover { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--bg-panel); } .profile-card__cover::after { position: absolute; inset: 58% 0 0; z-index: 1; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); content: ""; pointer-events: none; } .profile-card__image { width: 100%; height: 100%; object-fit: cover; } .profile-card__episodes { position: absolute; bottom: 10px; left: 10px; z-index: 2; color: var(--text); font-size: 12px; font-weight: 500; line-height: 16px; text-shadow: 0 1px 4px #000; } .profile-card__progress { position: absolute; right: 10px; bottom: 6px; left: 10px; z-index: 2; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .12); } .profile-card__progress-fill { display: block; width: var(--progress, 0%); height: 100%; background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%); } .profile-card__badge { position: absolute; top: 4px; right: 4px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 20px; padding-inline: 8px; border-radius: 6px; background: linear-gradient(135deg, #fadc44 15%, #f9c24e 85%); color: #141414; font-size: 11px; font-weight: 500; line-height: 14px; white-space: nowrap; } .profile-card__badge--hot { background: linear-gradient(135deg, #f04050 15%, #d01030 85%); color: #fff; } .profile-card__title { margin: 0; overflow: hidden; color: var(--text); font-size: 16px; font-weight: 600; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; } .profile-card__title a { color: inherit; text-decoration: none; } .profile-card__title a:hover { color: var(--accent); } .profile-card__meta { margin: 0; overflow: hidden; color: var(--text-muted); font-size: 13px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; } .profile-promo { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-inline: 0; padding-block: 8px 40px; } .profile-ad { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; aspect-ratio: 592 / 169; border: 1px solid var(--line-soft); border-radius: 12px; background: #232328; text-align: center; } .profile-ad__icon { width: 24px; height: 24px; color: var(--text-muted); } .profile-ad__title { margin: 0; color: var(--text-muted); font-size: 16px; font-weight: 600; line-height: 22px; } .profile-ad__mobile-size { display: none; } .profile-ad__meta { margin: 0; color: var(--text-dim); font-size: 12px; line-height: 18px; } .profile-ad__badge { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; height: 20px; padding-inline: 6px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: var(--text); font-size: 11px; font-weight: 500; line-height: 14px; } @media (min-width: 901px) { .profile-page .site-footer__inner { gap: 32px; padding-bottom: 31px; } .profile-page .site-footer__legal { flex-direction: row; justify-content: space-between; gap: 24px; } .profile-page .site-footer__legal p:last-child { text-align: right; } } /* 账户列表使用上游总数进行服务端分页。 */ .account-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 24px 0; color: var(--text-muted); font-size: 13px; } .account-pagination a { color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 7px 14px; }