This commit is contained in:
谢宇宁
2026-09-29 15:30:33 +07:00
parent 0fbdba5ccf
commit 9abe0b1b76
181 changed files with 608 additions and 18501 deletions
-72
View File
@@ -1,72 +0,0 @@
/* 与「我的收藏」一致的账户列表空状态。 */
/* 空态时仍保持与个人中心同宽的主栏,避免筛选条贴到视口左缘。 */
.account-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
width: 100%;
padding: 96px 16px;
font-size: 14px;
line-height: 22px;
text-align: center;
}
.account-empty[hidden] { display: none !important; }
.account-empty__icon {
display: flex;
align-items: center;
justify-content: center;
width: 96px;
height: 96px;
flex: 0 0 96px;
border: 1px solid var(--line);
border-radius: 50%;
background: #1b1b1f;
}
.account-empty__icon img { width: 40px; height: 40px; }
.account-empty__title {
margin: 0;
color: var(--text);
font-size: 20px;
font-weight: 600;
line-height: 28px;
}
.account-empty__description {
margin: 0;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.account-empty__description-mobile { display: none; }
.account-empty__action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 147px;
height: 48px;
border-radius: 999px;
background: linear-gradient(105deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
color: #fff;
font-size: 14px;
font-weight: 600;
line-height: 20px;
white-space: nowrap;
}
.account-empty__action img { width: 20px; height: 20px; }
.account-empty__action:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 3px; }
@media (max-width: 768px) {
.account-empty { padding: 48px 16px; }
.account-empty__description-desktop { display: none; }
.account-empty__description-mobile { display: inline; }
}
+32
View File
@@ -770,3 +770,35 @@ img {
white-space: nowrap !important;
border: 0 !important;
}
/* 卡片信息行:集数/状态前置为金色小标,标签随后(首页、列表、排行榜共用) */
.card__meta--ep {
display: flex;
align-items: center;
gap: 6px;
}
.card__meta-ep {
flex-shrink: 0;
padding: 0 6px;
border-radius: 4px;
color: var(--gold);
font-size: 12px;
line-height: 18px;
background: rgba(233, 201, 119, 0.12);
}
.card__meta-tags {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (max-width: 768px) {
.card__meta-ep {
padding: 0 4px;
font-size: 10px;
line-height: 16px;
}
}
-266
View File
@@ -1,266 +0,0 @@
/* 我的收藏 H5:以 Figma 375px 画板为基准。 */
@media (max-width: 768px) {
.favorites-main {
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
max-width: none;
min-width: 0;
margin: 0;
padding: 12px var(--profile-gutter, 16px) 20px;
}
.favorites-main.is-empty {
width: 100%;
gap: 0;
padding: 12px 0 20px;
}
.favorites-main.is-empty .favorites-toolbar {
width: 100%;
padding-inline: var(--profile-gutter, 16px);
}
.favorites-main.is-empty .favorites-recommendations {
width: auto;
margin-top: 8px;
padding: 0 var(--profile-gutter, 16px) 24px;
}
.favorites-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
min-width: 0;
min-height: 30px;
}
.favorites-filters {
display: flex;
flex: 1 1 auto;
flex-wrap: nowrap;
align-items: center;
gap: clamp(6px, 2.666667vw, 10px);
min-width: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.favorites-filters::-webkit-scrollbar {
display: none;
}
.favorites-filter {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
height: 30px;
padding: 0 clamp(11px, 4.266667vw, 16px);
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 999px;
background: transparent;
color: #a1a1aa;
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
}
.favorites-filter.is-active {
border-color: rgba(236, 35, 127, .3);
background: rgba(236, 35, 127, .1);
color: #ff4a7b;
}
.favorites-manage {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
height: 30px;
padding: 0;
border: 0;
background: none;
color: #a1a1aa;
font-size: 12px;
font-weight: 400;
line-height: 18px;
white-space: nowrap;
}
.favorites-manage svg,
.favorites-manage img {
display: none;
}
.favorites-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px var(--profile-card-gap, 8px);
width: 100%;
min-width: 0;
}
.favorites-card {
position: relative;
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.favorites-card .profile-card__cover {
width: 100%;
aspect-ratio: 109 / 145;
border-radius: 8px;
}
.favorites-card .profile-card__title {
overflow: hidden;
font-size: 14px;
font-weight: 600;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.favorites-card .profile-card__meta {
overflow: hidden;
font-size: 11px;
line-height: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.favorites-card__desktop-meta {
display: none;
}
.favorites-card__mobile-meta {
display: inline;
}
.favorites-card__remove {
display: none;
}
.favorites-page.is-managing .favorites-card__remove {
position: absolute;
top: 6px;
left: 6px;
z-index: 3;
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
padding: 0;
border: 1px solid rgba(255, 255, 255, .5);
border-radius: 50%;
background: rgba(11, 11, 13, .8);
color: #f2f2f4;
}
.favorites-card .profile-card__episodes {
bottom: 10px;
left: 10px;
font-size: 11px;
line-height: 14px;
}
.favorites-card .profile-card__badge {
top: 4px;
right: 4px;
min-width: 30px;
height: 20px;
padding: 0 5px;
}
.favorites-load-more {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
height: 40px;
padding: 0 16px;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 999px;
background: transparent;
color: #f2f2f4;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.favorites-pagination {
display: none;
}
.favorites-empty {
gap: 16px;
padding: 48px 16px;
}
.favorites-empty__description-desktop,
.favorites-recommendations__more-desktop {
display: none;
}
.favorites-empty__description-mobile,
.favorites-recommendations__more-mobile {
display: inline;
}
.favorites-recommendations {
width: 100%;
padding: 0 var(--profile-gutter, 16px) 20px;
}
.favorites-recommendations__head {
height: 26px;
margin-bottom: 14px;
}
.favorites-recommendations__head h2 {
font-size: 18px;
line-height: 26px;
}
.favorites-recommendations__head a {
font-size: 12px;
line-height: 18px;
}
.favorites-recommendations__head a img {
width: 14px;
height: 14px;
}
.favorites-recommendations__grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px var(--profile-card-gap, 8px);
}
.favorites-card[hidden],
.favorites-empty[hidden],
.favorites-load-more[hidden] {
display: none !important;
}
}
@media (max-width: 359px) {
.favorites-filters {
flex-wrap: nowrap;
gap: 6px;
}
.favorites-filter {
padding-inline: 8px;
font-size: 12px;
}
}
-352
View File
@@ -1,352 +0,0 @@
/* 我的收藏:1440px 桌面稿,公共个人页头与封面卡复用 profile.css。 */
.favorites-page [hidden] {
display: none !important;
}
.favorites-main {
display: flex;
flex-direction: column;
gap: 24px;
width: min(calc(100% - 48px), var(--page-width));
margin-inline: auto;
padding: 24px 0 40px;
}
.favorites-main.is-empty {
width: 100%;
max-width: none;
gap: 24px;
margin: 0;
padding: 24px 0 40px;
}
.favorites-main.is-empty .favorites-toolbar {
width: min(calc(100% - 48px), var(--page-width));
margin-inline: auto;
}
.favorites-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 36px;
}
.favorites-filters {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
min-width: 0;
}
.favorites-filter,
.favorites-manage {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
height: 36px;
border: 1px solid var(--line);
border-radius: 999px;
background: transparent;
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
}
.favorites-filter {
padding-inline: 16px;
color: var(--text-muted);
}
.favorites-filter.is-active {
border-color: rgba(236, 35, 127, .3);
background: rgba(236, 35, 127, .1);
color: var(--accent-hot);
}
.favorites-manage {
gap: 6px;
padding-inline: 12px;
border-color: rgba(255, 255, 255, .24);
color: var(--text);
cursor: pointer;
}
.favorites-manage img,
.favorites-manage svg {
display: block;
width: 16px;
height: 16px;
flex: 0 0 16px;
}
.favorites-filter:hover,
.favorites-manage:hover {
border-color: rgba(255, 255, 255, .36);
color: var(--text);
}
.favorites-filter:focus-visible,
.favorites-manage:focus-visible,
.favorites-pagination button:focus-visible {
outline: 2px solid var(--accent-hot);
outline-offset: 3px;
}
.favorites-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 32px 24px;
min-width: 0;
}
.favorites-grid .favorites-card {
min-width: 0;
}
.favorites-card__mobile-meta,
.favorites-card__remove {
display: none;
}
.favorites-card__media {
position: relative;
min-width: 0;
}
.favorites-page.is-managing .favorites-card__remove {
position: absolute;
top: 6px;
left: 6px;
z-index: 3;
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border: 1px solid rgba(255, 255, 255, .4);
border-radius: 50%;
background: rgba(11, 11, 13, .78);
color: #fff;
font-size: 18px;
line-height: 1;
}
.favorites-card__remove img {
display: block;
width: 14px;
height: 14px;
}
.favorites-page.is-managing .favorites-manage {
border-color: rgba(236, 35, 127, .3);
background: rgba(236, 35, 127, .1);
color: var(--accent-hot);
}
.favorites-load-more {
display: none;
}
.favorites-pagination,
.favorites-pagination__pages {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.favorites-pagination {
min-height: 36px;
}
.favorites-pagination button {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 36px;
width: 36px;
height: 36px;
border: 1px solid var(--line-soft);
border-radius: 8px;
background: var(--bg-elevated);
color: var(--text-muted);
font-family: Inter, var(--font);
font-size: 16px;
font-weight: 600;
line-height: 20px;
}
.favorites-pagination button.is-active {
border-color: transparent;
background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%);
color: #fff;
}
.favorites-pagination button:not(:disabled):not(.is-active):hover {
border-color: rgba(255, 255, 255, .24);
color: var(--text);
}
.favorites-pagination button:disabled {
cursor: default;
opacity: .45;
}
.favorites-pagination button img,
.favorites-pagination button svg {
display: block;
width: 16px;
height: 16px;
}
.favorites-pagination > .favorites-pagination__button:first-child img {
transform: rotate(180deg);
}
.favorites-pagination__total {
color: var(--text-dim);
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.favorites-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
width: 100%;
padding: 96px 16px;
font-size: 14px;
line-height: 22px;
text-align: center;
}
.favorites-main.is-empty:has(.favorites-recommendations) .favorites-empty {
padding-bottom: 40px;
}
.favorites-main.is-empty .favorites-recommendations {
padding-top: 8px;
}
.favorites-filter-empty {
margin: 0;
padding: 56px 16px;
color: var(--text-dim);
font-size: 14px;
line-height: 22px;
text-align: center;
}
.favorites-empty__icon {
display: flex;
align-items: center;
justify-content: center;
width: 96px;
height: 96px;
flex: 0 0 96px;
border: 1px solid var(--line);
border-radius: 50%;
background: #1b1b1f;
}
.favorites-empty__icon img {
width: 40px;
height: 40px;
}
.favorites-empty__title {
margin: 0;
color: var(--text);
font-size: 20px;
font-weight: 600;
line-height: 28px;
}
.favorites-empty__description {
margin: 0;
color: var(--text-muted);
font-size: 14px;
font-weight: 400;
line-height: 22px;
}
.favorites-empty__description-mobile,
.favorites-recommendations__more-mobile {
display: none;
}
.favorites-empty__action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 147px;
height: 48px;
border-radius: 999px;
background: linear-gradient(105deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
color: #fff;
font-size: 14px;
font-weight: 600;
line-height: 20px;
white-space: nowrap;
}
.favorites-empty__action img {
width: 20px;
height: 20px;
}
.favorites-empty__action:focus-visible,
.favorites-recommendations__head a:focus-visible {
outline: 2px solid var(--accent-hot);
outline-offset: 3px;
}
.favorites-recommendations {
width: min(calc(100% - 48px), var(--page-width));
margin-inline: auto;
padding-bottom: 40px;
}
.favorites-recommendations__head {
display: flex;
align-items: center;
justify-content: space-between;
height: 32px;
margin-bottom: 18px;
}
.favorites-recommendations__head h2 {
margin: 0;
color: var(--text);
font-size: 20px;
font-weight: 600;
line-height: 28px;
}
.favorites-recommendations__head a {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.favorites-recommendations__head a img {
width: 16px;
height: 16px;
}
.favorites-recommendations__grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 24px;
}
+96
View File
@@ -255,3 +255,99 @@
text-align: center;
}
}
/* 访问地址:横向地址卡片,窄屏改为纵向堆叠 */
.footer-addrs {
display: flex;
flex-direction: column;
gap: 14px;
}
.footer-addrs__head {
display: flex;
align-items: baseline;
gap: 12px;
}
.footer-addrs__head h3 {
margin: 0;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.footer-addrs__head p {
margin: 0;
color: var(--text-dim);
font-size: 12px;
line-height: 18px;
}
.footer-addrs__list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 10px;
}
.footer-addr {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 10px 14px;
border: 1px solid var(--line-soft);
border-left: 3px solid var(--accent);
border-radius: var(--radius-sm);
background: var(--bg-panel);
text-decoration: none;
}
.footer-addr:hover {
border-color: var(--line);
border-left-color: var(--accent-hot);
background: rgba(236, 35, 127, 0.08);
}
.footer-addr__label {
flex-shrink: 0;
color: var(--text-muted);
font-size: 12px;
line-height: 18px;
}
.footer-addr__url {
flex: 1;
min-width: 0;
color: var(--text);
font-size: 13px;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.footer-addr__go {
flex-shrink: 0;
opacity: 0.6;
}
@media (max-width: 768px) {
.footer-addrs {
width: 100%;
gap: 10px;
text-align: left;
}
.footer-addrs__head {
justify-content: space-between;
}
.footer-addrs__list {
grid-template-columns: 1fr;
gap: 8px;
}
.footer-addr {
padding: 9px 12px;
}
}
+10
View File
@@ -1194,3 +1194,13 @@
body.drawer-open {
overflow: hidden;
}
/* 手机页头:商务合作 Telegram 入口,与搜索按钮同尺寸,带品牌色底 */
.site-header__tg {
background: rgba(42, 171, 238, 0.14);
}
.site-header__tg .icon {
width: 18px;
height: 18px;
}
-256
View File
@@ -1,256 +0,0 @@
/* 观看历史 H5:对齐 Figma 375px 画板。 */
@media (max-width: 768px) {
.history-main {
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
max-width: none;
margin: 0;
padding: 12px 16px 20px;
}
.history-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-width: 0;
min-height: 30px;
}
.history-filters {
display: flex;
flex: 1 1 auto;
align-items: center;
gap: 10px;
min-width: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.history-filters::-webkit-scrollbar { display: none; }
.history-filter {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
height: 30px;
padding: 0 16px;
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 999px;
background: transparent;
color: #a1a1aa;
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
cursor: pointer;
}
.history-filter.is-active {
border-color: rgba(236, 35, 127, .3);
background: rgba(236, 35, 127, .1);
color: #ff4a7b;
}
.history-clear {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
height: auto;
padding: 0;
border: 0;
background: transparent;
color: #a1a1aa;
font-size: 12px;
font-weight: 400;
line-height: 18px;
white-space: nowrap;
cursor: pointer;
}
.history-clear img,
.history-clear__desktop { display: none; }
.history-clear__mobile { display: inline; }
.history-group,
.history-list {
display: flex;
flex-direction: column;
width: 100%;
min-width: 0;
}
.history-group__title {
margin: 0;
color: #7c7c86;
font-size: 12px;
font-weight: 500;
line-height: 16px;
}
.history-item {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
min-width: 0;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.history-item__cover {
display: block;
flex: 0 0 48px;
width: 48px;
height: 64px;
overflow: hidden;
border-radius: 6px;
background: #141417;
}
.history-item__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.history-item__body {
display: flex;
flex: 1 1 0;
flex-direction: column;
align-items: flex-start;
gap: 5px;
min-width: 0;
}
.history-item__title {
display: block;
align-self: stretch;
overflow: hidden;
margin: 0;
color: #f2f2f4;
font-size: 15px;
font-weight: 600;
line-height: 21px;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-item__title a {
color: inherit;
text-decoration: none;
}
.history-item__details {
display: block;
align-self: stretch;
overflow: hidden;
color: #7c7c86;
font-size: 11px;
font-weight: 400;
line-height: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-item__episodes,
.history-item__mobile-time {
display: inline;
}
.history-item__mobile-time::before {
content: " ";
white-space: pre;
}
.history-item__genre,
.history-item__time,
.history-item__resume-desktop {
display: none;
}
.history-item__progress {
display: block;
width: 140px;
max-width: 100%;
height: 3px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, .12);
}
.history-item__progress-fill {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.history-item__resume {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
gap: 8px;
width: auto;
min-width: 0;
height: 32px;
padding: 0 12px;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 999px;
background: transparent;
color: #f2f2f4;
font-size: 14px;
font-weight: 500;
line-height: 20px;
text-decoration: none;
white-space: nowrap;
}
.history-item__resume svg,
.history-item__resume img {
flex: 0 0 16px;
width: 16px;
height: 16px;
}
.history-item__resume-mobile {
display: inline;
}
.history-item__remove {
display: inline-flex;
flex: 0 0 14px;
align-items: center;
justify-content: center;
width: 14px;
height: 14px;
padding: 0;
border: 0;
background: transparent;
color: #7c7c86;
cursor: pointer;
}
.history-item__remove svg,
.history-item__remove img {
display: block;
width: 14px;
height: 14px;
}
.history-main .account-pagination {
margin-top: 4px;
}
.history-empty,
.history-main .account-empty {
padding: 48px 0;
}
}
-256
View File
@@ -1,256 +0,0 @@
/* 观看历史:1440px Figma 桌面画板,沿用个人中心公共页头与页签。 */
.history-page [hidden] { display: none !important; }
.history-main {
display: flex;
flex-direction: column;
gap: 24px;
width: min(calc(100% - 48px), var(--page-width));
margin-inline: auto;
padding: 24px 0 40px;
}
.history-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 36px;
}
.history-filters {
display: flex;
align-items: center;
gap: 10px;
}
.history-filter,
.history-clear,
.history-item__resume {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
height: 36px;
padding: 0;
border: 1px solid var(--line);
border-radius: 999px;
background: transparent;
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
cursor: pointer;
}
.history-filter {
padding-inline: 16px;
}
.history-filter.is-active {
border-color: rgba(236, 35, 127, .3);
background: rgba(236, 35, 127, .1);
color: var(--accent-hot);
}
.history-clear {
gap: 6px;
padding-inline: 12px;
border-color: rgba(255, 255, 255, .24);
color: var(--text);
}
.history-clear__mobile { display: none; }
.history-clear svg,
.history-clear img,
.history-item__resume svg,
.history-item__resume img,
.history-item__remove svg,
.history-item__remove img {
display: block;
width: 16px;
height: 16px;
flex: 0 0 16px;
}
.history-filter:hover,
.history-clear:hover,
.history-item__resume:hover,
.history-item__remove:hover {
border-color: rgba(255, 255, 255, .36);
color: var(--text);
}
.history-filter:focus-visible,
.history-clear:focus-visible,
.history-item__resume:focus-visible,
.history-item__remove:focus-visible {
outline: 2px solid var(--accent-hot);
outline-offset: 3px;
}
.history-group {
min-width: 0;
}
.history-group__title {
margin: 0;
color: var(--text-dim);
font-size: 12px;
font-weight: 500;
line-height: 16px;
}
.history-list {
margin: 0;
padding: 0;
list-style: none;
}
.history-item {
display: grid;
grid-template-columns: 56px minmax(0, 1fr) 120px 106px 16px;
align-items: center;
gap: 16px;
min-width: 0;
min-height: 104px;
padding-block: 14px;
border-bottom: 1px solid var(--line-soft);
}
.history-item__cover {
display: block;
width: 56px;
height: 75px;
overflow: hidden;
border-radius: 6px;
background: var(--bg-panel);
}
.history-item__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.history-item__body {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
min-width: 0;
}
.history-item__title {
display: block;
max-width: 100%;
margin: 0;
overflow: hidden;
color: var(--text);
font-size: 16px;
font-weight: 600;
line-height: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-item__title a {
color: inherit;
text-decoration: none;
}
.history-item__title a:hover {
color: var(--accent-hot);
}
.history-item__details {
display: flex;
align-items: center;
gap: 8px;
max-width: 100%;
overflow: hidden;
color: #a1a1aa;
font-size: 13px;
font-weight: 400;
line-height: 20px;
white-space: nowrap;
}
.history-item__episodes,
.history-item__genre {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-item__episodes {
flex: 0 0 auto;
}
.history-item__progress {
display: block;
width: 240px;
max-width: 100%;
height: 3px;
overflow: hidden;
border-radius: 999px;
background: var(--line);
}
.history-item__progress-fill {
display: block;
width: var(--progress, 0%);
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.history-item__time {
color: var(--text-dim);
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.history-item__mobile-time,
.history-item__resume-mobile {
display: none;
}
.history-item__resume {
gap: 8px;
width: 106px;
padding-inline: 12px;
border-color: rgba(255, 255, 255, .24);
color: var(--text);
text-decoration: none;
}
.history-item__remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 16px;
height: 36px;
padding: 0;
border: 0;
background: transparent;
color: var(--text-dim);
cursor: pointer;
}
.history-group + .history-group {
margin-top: 0;
}
.history-main.is-empty {
gap: 24px;
padding: 24px 0 40px;
}
.history-main.is-empty .account-empty {
padding-block: 72px;
}
+75
View File
@@ -1364,3 +1364,78 @@
width: 100%;
}
}
/* 公告跑马灯:官方访问地址以金色描边胶囊展示 */
.announce__addrs {
display: inline-flex;
align-items: center;
gap: 8px;
}
.announce__addrs > span {
color: var(--gold);
}
.announce__addr {
display: inline-flex;
align-items: center;
height: 22px;
padding: 0 10px;
border: 1px solid rgba(233, 201, 119, 0.45);
border-radius: 999px;
color: var(--text);
font-size: 12px;
line-height: 20px;
text-decoration: none;
background: rgba(233, 201, 119, 0.08);
}
.announce__addr:hover {
border-color: var(--gold);
background: rgba(233, 201, 119, 0.16);
}
@media (max-width: 768px) {
.announce__addr {
height: 20px;
padding: 0 8px;
font-size: 11px;
line-height: 18px;
}
}
/* Banner 可读性(桌面端):背景海报保持原样,只在左侧文字区域加一道渐变 */
@media (min-width: 769px) {
.hero__shade--side {
background:
linear-gradient(90deg, #0b0b0d 0%, rgba(11, 11, 13, 0.78) 16%, rgba(11, 11, 13, 0.45) 36%, rgba(11, 11, 13, 0) 52%),
linear-gradient(270deg, #0b0b0d 0%, rgba(11, 11, 13, 0.72) 8%, rgba(11, 11, 13, 0) 24%);
}
.hero__title,
.hero__desc {
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
}
.hero__attrs {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 12px;
}
@media (max-width: 768px) {
/* 手机端背景即主画面,不模糊;拉高底部渐变保证文字可读 */
.hero__shade--bottom {
background: linear-gradient(180deg, rgba(11, 11, 13, 0) 0%, rgba(11, 11, 13, 0.25) 28%, rgba(11, 11, 13, 0.82) 56%, #0b0b0d 78%);
}
.hero__desc {
-webkit-line-clamp: 2;
}
.hero__attrs {
gap: 4px 10px;
}
}
-283
View File
@@ -1,283 +0,0 @@
/* H5 登录页 */
body.page-login {
min-height: 100vh;
background: var(--bg);
}
.page-login .page-subheader {
display: flex;
border-bottom: 0;
}
.login-page {
min-height: 100vh;
padding: 56px 0 32px;
box-sizing: border-box;
}
.login-page__inner {
width: 100%;
max-width: 440px;
margin: 0 auto;
padding: 24px var(--h5-gutter);
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
box-sizing: border-box;
}
.login-page__brand {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.login-page__logo {
width: 64px;
height: 64px;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 8px 24px rgba(236, 35, 127, 0.4);
}
.login-page__content {
align-self: stretch;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 18px;
}
.login-page__intro {
align-self: stretch;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.login-page__title {
margin: 0;
color: var(--text);
font-size: 28px;
font-weight: 600;
line-height: 38px;
}
.login-page__desc {
margin: 0;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.login-page__form {
align-self: stretch;
display: flex;
flex-direction: column;
gap: 16px;
}
.login-page__field {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.login-page__label {
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.login-page__control {
align-self: stretch;
height: 48px;
padding: 0 16px;
display: flex;
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid transparent;
border-radius: 12px;
outline: 1px solid transparent;
outline-offset: -1px;
}
.login-page__control:focus-within {
outline-color: rgba(236, 35, 127, 0.45);
}
.login-page__field.is-error .login-page__control {
outline-color: #ff5a5f;
}
.login-page__error {
display: inline-flex;
align-items: center;
gap: 6px;
color: #ff5a5f;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.login-page__error[hidden] {
display: none !important;
}
.login-page__error-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
}
.login-page__control > .icon {
width: 18px;
height: 18px;
flex-shrink: 0;
}
.login-page__input {
flex: 1 1 0;
min-width: 0;
height: 100%;
padding: 0;
border: 0;
outline: none;
background: transparent;
color: var(--text);
font: inherit;
font-size: 15px;
line-height: 24px;
}
.login-page__input::placeholder {
color: var(--text-dim);
}
.login-page__toggle {
width: 18px;
height: 18px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--text-dim);
}
.login-page__toggle .icon {
width: 18px;
height: 18px;
}
.login-page__meta {
align-self: stretch;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.login-page__remember {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--text-muted);
font-size: 13px;
line-height: 20px;
cursor: pointer;
}
.login-page__checkbox {
position: absolute;
opacity: 0;
width: 1px;
height: 1px;
pointer-events: none;
}
.login-page__check {
width: 18px;
height: 18px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--line);
}
.login-page__checkbox:checked + .login-page__check {
border-color: transparent;
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.login-page__checkbox:checked + .login-page__check::after {
content: "";
width: 10px;
height: 6px;
border-left: 1.5px solid #fff;
border-bottom: 1.5px solid #fff;
transform: translateY(-1px) rotate(-45deg);
}
.login-page__forgot {
color: #ff4a7b;
font-size: 13px;
line-height: 20px;
}
.login-page__submit {
align-self: stretch;
height: 52px;
padding: 0 28px;
font-size: 16px;
line-height: 24px;
}
.login-page__switch {
margin: 0;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.login-page__switch a {
color: #ff4a7b;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.login-page__rule {
align-self: stretch;
height: 1px;
background: var(--line-soft);
}
.login-page__legal {
margin: 0;
align-self: stretch;
text-align: center;
color: var(--text-dim);
font-size: 12px;
line-height: 18px;
}
.login-page__legal a {
color: inherit;
text-decoration: underline;
text-underline-offset: 2px;
}
-308
View File
@@ -1,308 +0,0 @@
/* PC 登录弹窗 */
.login-pop {
position: fixed;
inset: 0;
z-index: 290;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
}
.login-pop.is-open {
display: flex;
}
.login-pop__mask {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.7);
}
.login-pop__panel {
position: relative;
z-index: 1;
width: 440px;
max-width: 100%;
padding: 32px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 20px;
background: #141417;
border: 1px solid var(--line);
border-radius: var(--radius-xl);
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
overflow: hidden;
}
.login-pop__close {
position: absolute;
top: 16px;
right: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.04);
border-radius: 999px;
}
.login-pop__close .icon {
width: 18px;
height: 18px;
}
.login-pop__intro {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
padding-right: 40px;
}
.login-pop__title {
margin: 0;
color: var(--text);
font-size: 28px;
font-weight: 600;
line-height: 38px;
}
.login-pop__desc {
margin: 0;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.login-pop__form {
align-self: stretch;
display: flex;
flex-direction: column;
gap: 16px;
}
.login-pop__field {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.login-pop__label {
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.login-pop__control {
align-self: stretch;
height: 48px;
padding: 0 16px;
display: flex;
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid transparent;
border-radius: 12px;
outline: 1px solid transparent;
outline-offset: -1px;
}
.login-pop__control:focus-within {
outline-color: rgba(236, 35, 127, 0.45);
}
.login-pop__field.is-error .login-pop__control {
outline-color: #ff5a5f;
}
.login-pop__error {
display: inline-flex;
align-items: center;
gap: 6px;
color: #ff5a5f;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.login-pop__error[hidden] {
display: none !important;
}
.login-pop__error-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
}
.login-pop__control > .icon {
width: 18px;
height: 18px;
flex-shrink: 0;
color: var(--text-dim);
}
.login-pop__input {
flex: 1 1 0;
min-width: 0;
height: 100%;
padding: 0;
border: 0;
outline: none;
background: transparent;
color: var(--text);
font: inherit;
font-size: 15px;
line-height: 24px;
}
.login-pop__input::placeholder {
color: var(--text-dim);
}
.login-pop__toggle {
width: 18px;
height: 18px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--text-dim);
}
.login-pop__toggle .icon {
width: 18px;
height: 18px;
}
.login-pop__meta {
align-self: stretch;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.login-pop__remember {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--text-muted);
font-size: 13px;
line-height: 20px;
cursor: pointer;
}
.login-pop__checkbox {
position: absolute;
opacity: 0;
width: 1px;
height: 1px;
pointer-events: none;
}
.login-pop__check {
width: 18px;
height: 18px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--line);
}
.login-pop__checkbox:checked + .login-pop__check {
border-color: transparent;
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.login-pop__checkbox:checked + .login-pop__check::after {
content: "";
width: 10px;
height: 6px;
border-left: 1.5px solid #fff;
border-bottom: 1.5px solid #fff;
transform: translateY(-1px) rotate(-45deg);
}
.login-pop__submit {
align-self: stretch;
height: 52px;
padding: 0 28px;
font-size: 16px;
line-height: 24px;
}
.login-pop__submit.is-loading,
.login-pop__submit:disabled {
opacity: 0.72;
cursor: wait;
}
.login-pop__tip {
margin: 0;
align-self: stretch;
padding: 8px 12px;
border-radius: 8px;
font-size: 13px;
line-height: 20px;
background: rgba(255, 74, 123, 0.1);
color: #ff4a7b;
}
.login-pop__tip.is-success {
background: rgba(30, 120, 70, 0.12);
color: #1e7846;
}
.login-pop__tip[hidden] {
display: none !important;
}
.login-pop__rule {
align-self: stretch;
height: 1px;
background: var(--line-soft);
}
.login-pop__legal {
margin: 0;
align-self: stretch;
text-align: center;
color: var(--text-dim);
font-size: 12px;
line-height: 18px;
}
.login-pop__legal a {
color: inherit;
text-decoration: underline;
text-underline-offset: 2px;
}
@media (max-width: 768px) {
.login-pop {
padding: 16px;
}
.login-pop__panel {
max-height: calc(100vh - 32px);
max-height: calc(100dvh - 32px);
padding: 24px 20px;
border-radius: 18px;
overflow-y: auto;
}
.login-pop__title {
font-size: 24px;
line-height: 32px;
}
}
+44 -4
View File
@@ -980,10 +980,8 @@ a.play-meta__tag:focus-visible {
width: 12px;
height: 12px;
border-radius: 999px;
background:
url("/static/images/coin.png") center / 8px 8px no-repeat,
linear-gradient(135deg, #e9c977 0%, #d9a94a 100%);
border: 1px solid #e9c977;
background: url("/static/images/lock.svg") center / 8px 8px no-repeat, var(--accent-deep);
border: 1px solid var(--accent);
box-sizing: border-box;
}
@@ -1817,3 +1815,45 @@ a.play-meta__tag:focus-visible {
line-height: 18px;
}
}
/* 简介下方标签行 */
.play-synopsis__tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.play-synopsis__tag {
padding: 3px 10px;
border-radius: var(--radius-sm);
color: var(--text-muted);
font-size: 12px;
line-height: 18px;
text-decoration: none;
background: rgba(255, 255, 255, 0.06);
}
.play-synopsis__tag::before {
content: "#";
margin-right: 2px;
color: var(--accent);
}
a.play-synopsis__tag:hover {
color: var(--text);
background: rgba(236, 35, 127, 0.12);
}
@media (max-width: 768px) {
.play-synopsis__tags {
gap: 6px;
margin-top: 10px;
}
.play-synopsis__tag {
padding: 2px 8px;
font-size: 11px;
line-height: 16px;
}
}
-590
View File
@@ -1,590 +0,0 @@
/* 个人中心 H5:以 Figma 375px 画板为基准。 */
@media (max-width: 768px) {
.profile-page {
--profile-gutter: clamp(14px, 4.266667vw, 18px);
--profile-card-gap: clamp(7px, 2.133333vw, 9px);
width: 100%;
min-width: 0;
padding-top: 0;
background: #0b0b0d;
}
.profile-hero {
width: 100%;
padding-top: 56px; /* 公共导航固定在视口顶部 */
background: linear-gradient(180deg, #2a0d22 0%, #150a17 60%, #0b0b0d 100%);
}
.profile-hero::before {
top: -90px;
left: -60px;
width: 360px;
height: 220px;
filter: blur(55px);
opacity: 0.22;
}
.profile-hero__inner {
display: block;
grid-template-columns: none;
width: 100%;
max-width: none;
margin: 0;
padding: 0;
}
.profile-identity {
display: flex;
align-items: center;
gap: clamp(12px, 3.733333vw, 16px);
min-width: 0;
margin: 0;
padding: 12px var(--profile-gutter) 16px;
}
.profile-identity__avatar {
display: block;
flex: 0 0 clamp(55px, 17.066667vw, 73px);
width: clamp(55px, 17.066667vw, 73px);
height: clamp(55px, 17.066667vw, 73px);
border: 2px solid rgba(255, 255, 255, 0.24);
border-radius: 50%;
object-fit: cover;
}
.profile-identity__copy {
display: grid;
flex: 1 1 0;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-rows: 26px 16px;
column-gap: 12px;
row-gap: 6px;
min-width: 0;
}
.profile-identity__name {
grid-column: 1;
grid-row: 1;
overflow: hidden;
color: #f2f2f4;
font-size: 18px;
font-weight: 600;
line-height: 26px;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-identity__meta {
grid-column: 1;
grid-row: 2;
overflow: hidden;
color: #a1a1aa;
font-size: 11px;
font-weight: 400;
line-height: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-identity__edit {
display: inline-flex;
grid-column: 2;
grid-row: 1 / 3;
align-self: center;
flex: 0 0 auto;
align-items: center;
justify-content: center;
gap: 8px;
height: 32px;
padding: 0 8px;
color: #f2f2f4;
border: 1px solid rgba(255, 255, 255, 0.24);
border-radius: 999px;
font-size: 0;
font-weight: 500;
line-height: 0;
white-space: nowrap;
}
.profile-identity__edit::after {
content: "编辑";
font-size: 14px;
line-height: 20px;
}
.profile-identity__edit .icon,
.profile-identity__edit img,
.profile-identity__edit svg {
width: 16px;
height: 16px;
}
.profile-wallet {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-height: 101px;
margin: 0 var(--profile-gutter) 16px;
padding: 14px;
background: #141417;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 12px;
}
.profile-wallet__label {
display: flex;
align-items: center;
gap: 6px;
color: #f2f2f4;
font-size: 15px;
font-weight: 600;
line-height: 21px;
}
.profile-wallet__amount {
display: block;
margin-top: 4px;
color: #e9c977;
font-family: Inter, var(--font);
font-size: 20px;
font-weight: 600;
line-height: 26px;
}
.profile-wallet__hint {
margin: 4px 0 0;
color: #7c7c86;
font-size: 11px;
line-height: 16px;
white-space: nowrap;
}
.profile-wallet__actions {
display: flex;
flex: 0 0 auto;
align-items: center;
}
.profile-wallet__recharge {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 0 12px;
color: #fff;
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
border: 0;
border-radius: 999px;
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
}
.profile-wallet__details {
display: none;
}
.profile-stats {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin: 0;
min-height: 64px;
padding: 12px var(--profile-gutter) 14px;
border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.profile-stat {
display: flex;
flex: 0 0 auto;
flex-direction: column;
align-items: center;
gap: 2px;
min-width: 0;
text-align: center;
}
.profile-stat__value {
color: #f2f2f4;
font-family: Inter, var(--font);
font-size: 16px;
font-weight: 600;
line-height: 20px;
}
.profile-stat__value span { display: none; }
.profile-stat__label {
color: #7c7c86;
font-size: 11px;
font-weight: 400;
line-height: 16px;
white-space: nowrap;
}
.profile-tabs {
width: 100%;
margin: 0;
padding-top: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.profile-tabs__inner {
display: flex;
align-items: flex-end;
gap: 24px;
width: 100%;
max-width: none;
min-height: 38px;
height: 38px;
margin: 0;
padding: 6px var(--profile-gutter) 0;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.profile-tabs__inner::-webkit-scrollbar { display: none; }
.profile-tabs__link {
position: relative;
display: inline-flex;
flex: 0 0 auto;
align-items: flex-start;
justify-content: center;
min-height: 31px;
padding: 0 0 10px;
color: #a1a1aa;
font-size: 15px;
font-weight: 600;
line-height: 21px;
white-space: nowrap;
}
.profile-tabs__link.is-active { color: #f2f2f4; }
.profile-tabs__link.is-active::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
width: 20px;
height: 2px;
background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
transform: translateX(-50%);
}
.profile-main {
display: block;
width: 100%;
max-width: none;
min-width: 0;
margin: 0;
padding: 0;
}
.profile-section {
display: flex;
flex-direction: column;
gap: 14px;
width: 100%;
max-width: none;
margin: 0;
padding-right: var(--profile-gutter);
padding-left: var(--profile-gutter);
}
.profile-section--recent { padding-top: 16px; padding-bottom: 8px; }
.profile-section--favorites { padding-top: 12px; padding-bottom: 8px; }
.profile-section__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-height: 26px;
}
.profile-section__heading {
display: flex;
align-items: baseline;
gap: 10px;
min-width: 0;
}
.profile-section__title {
margin: 0;
color: #f2f2f4;
font-size: 18px;
font-weight: 600;
line-height: 26px;
white-space: nowrap;
}
.profile-section__subtitle {
color: #7c7c86;
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.profile-section--recent .profile-section__subtitle { display: none; }
.profile-section__more {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 2px;
color: #a1a1aa;
font-size: 13px;
line-height: 20px;
white-space: nowrap;
}
.profile-section__more .icon,
.profile-section__more img,
.profile-section__more svg { width: 14px; height: 14px; }
.profile-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px var(--profile-card-gap);
width: 100%;
min-width: 0;
}
.profile-section--recent .profile-card:nth-child(n + 4) { display: none; }
.profile-card {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.profile-card__cover {
position: relative;
display: block;
width: 100%;
aspect-ratio: 109 / 145;
overflow: hidden;
background: #1b1b1f;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 8px;
}
.profile-card__cover::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.7) 100%);
pointer-events: none;
}
.profile-card__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.profile-card__progress {
position: absolute;
right: 10px;
bottom: 6px;
left: 10px;
z-index: 2;
height: 3px;
overflow: hidden;
background: rgba(255, 255, 255, 0.12);
border-radius: 999px;
}
.profile-card__progress-fill {
display: block;
width: 60%;
height: 100%;
background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.profile-section--recent .profile-card:nth-child(1) .profile-card__progress-fill { width: 59.6%; }
.profile-section--recent .profile-card:nth-child(2) .profile-card__progress-fill { width: 24.7%; }
.profile-section--recent .profile-card:nth-child(3) .profile-card__progress-fill { width: 79.8%; }
.profile-card__episodes {
position: absolute;
bottom: 10px;
left: 10px;
z-index: 2;
color: #f2f2f4;
font-size: 11px;
font-weight: 500;
line-height: 14px;
white-space: nowrap;
}
.profile-card__badge {
position: absolute;
top: 4px;
right: 4px;
z-index: 2;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 30px;
height: 20px;
padding: 0 5px;
color: #141414;
background: linear-gradient(135deg, #fadc44 15%, #f9c24e 85%);
border-radius: 6px;
font-size: 11px;
font-weight: 500;
line-height: 14px;
white-space: nowrap;
}
.profile-card__badge:not(.profile-card__badge--hot) {
color: #141414;
background: linear-gradient(135deg, #fadc44 15%, #f9c24e 85%);
}
.profile-card__badge--hot,
.profile-card__badge[data-badge="hot"] {
color: #fff;
background: linear-gradient(135deg, #f04050 15%, #d01030 85%);
}
.profile-card__title {
display: block;
overflow: hidden;
color: #f2f2f4;
font-size: 14px;
font-weight: 600;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-card__meta {
display: block;
overflow: hidden;
color: #a1a1aa;
font-size: 11px;
font-weight: 400;
line-height: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-card__remaining { display: none; }
.profile-promo {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
max-width: none;
margin: 0;
padding: 8px var(--profile-gutter);
}
.profile-ad {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
width: 100%;
aspect-ratio: 343 / 98;
min-height: 0;
background: #232328;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 12px;
text-align: center;
}
.profile-ad__icon { width: 20px; height: 20px; object-fit: contain; }
.profile-ad__title {
color: #a1a1aa;
font-size: 15px;
font-weight: 600;
line-height: 21px;
}
.profile-ad__mobile-size { display: inline; }
.profile-ad__desktop-size { display: none; }
.profile-ad__meta {
color: #7c7c86;
font-size: 11px;
line-height: 16px;
}
.profile-ad__badge {
position: absolute;
top: 8px;
right: 8px;
display: inline-flex;
align-items: center;
justify-content: center;
height: 20px;
padding: 0 6px;
color: #f2f2f4;
background: rgba(0, 0, 0, 0.6);
border-radius: 999px;
font-size: 11px;
font-weight: 500;
line-height: 14px;
}
/* The shared footer's compact profile arrangement in the mobile design. */
.profile-page .site-footer__brand { gap: 18px; }
.profile-page .site-footer__links {
flex-wrap: wrap;
gap: 12px 16px;
}
.profile-page .footer-col { flex-wrap: nowrap; }
.profile-page .footer-col:first-child,
.profile-page .footer-col:nth-child(2) a:last-child,
.profile-page .footer-col:nth-child(3) a:last-child { display: none; }
.profile-page .footer-download {
display: flex;
flex-basis: 100%;
justify-content: center;
padding: 0;
border: 0;
background: none;
}
.profile-page .footer-download .qr-box,
.profile-page .footer-download__copy strong,
.profile-page .footer-download__copy p,
.profile-page .footer-download__copy .icon { display: none; }
.profile-page .footer-download .btn {
height: 20px;
padding: 0;
color: var(--text-muted);
background: none;
font-size: 13px;
line-height: 20px;
}
.profile-page .site-footer__rule { display: none; }
.profile-page .site-footer__legal p:first-child {
order: 2;
width: 100%;
padding-top: 16px;
margin-top: 16px;
border-top: 1px solid var(--line-soft);
}
.profile-page .site-footer__legal p:last-child { order: 1; }
.profile-page .site-footer__adult { display: none; }
.profile-page .site-footer__rights { display: none; }
.profile-page .site-footer__mobile-adult { display: inline; }
}
-557
View File
@@ -1,557 +0,0 @@
/* 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;
}
-152
View File
@@ -1,152 +0,0 @@
/* 已购剧集 H5:以 Figma 375px 画板为基准。 */
@media (max-width: 768px) {
.purchased-main {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
max-width: none;
min-width: 0;
margin: 0;
padding: 12px var(--profile-gutter, 16px) 20px;
}
.purchased-note {
margin: 0;
color: #7c7c86;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.purchased-list {
display: flex;
flex-direction: column;
width: 100%;
min-width: 0;
margin: 0;
padding: 0;
list-style: none;
}
.purchased-item {
display: flex;
align-items: center;
gap: clamp(8px, 3.2vw, 14px);
width: 100%;
min-width: 0;
min-height: 89px;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.purchased-item__cover {
display: block;
flex: 0 0 clamp(41px, 12.8vw, 56px);
width: clamp(41px, 12.8vw, 56px);
height: clamp(55px, 17.066667vw, 75px);
overflow: hidden;
border-radius: 6px;
background: #141417;
}
.purchased-item__cover img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.purchased-item__body {
display: flex;
flex: 1 1 0;
flex-direction: column;
align-items: flex-start;
gap: 5px;
min-width: 0;
}
.purchased-item__title {
display: block;
max-width: 100%;
overflow: hidden;
margin: 0;
color: #f2f2f4;
font-size: clamp(13px, 4vw, 15px);
font-weight: 600;
line-height: 21px;
text-overflow: ellipsis;
white-space: nowrap;
}
.purchased-item__info {
display: block;
max-width: 100%;
color: #7c7c86;
font-size: clamp(10px, 2.933333vw, 11px);
font-weight: 400;
line-height: 16px;
white-space: normal;
}
.purchased-item__mobile-date {
display: inline;
white-space: nowrap;
}
.purchased-item__date {
display: none;
}
.purchased-item__progress {
display: block;
width: min(140px, 100%);
height: 3px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, .12);
}
.purchased-item__progress > span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.purchased-item__resume {
display: inline-flex;
flex: 0 0 clamp(67px, 20.8vw, 88px);
align-items: center;
justify-content: center;
gap: 6px;
width: clamp(67px, 20.8vw, 88px);
height: 32px;
padding: 0 8px;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 999px;
background: transparent;
color: #f2f2f4;
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
}
.purchased-item__resume svg,
.purchased-item__resume img {
display: block;
flex: 0 0 16px;
width: 16px;
height: 16px;
}
.purchased-item__resume-desktop { display: none; }
.purchased-item__resume-mobile { display: inline; }
}
@media (max-width: 359px) {
.purchased-page .profile-tabs__inner {
gap: 16px;
}
}
-148
View File
@@ -1,148 +0,0 @@
/* 已购剧集:1440px 桌面稿,沿用个人中心公共页头与页签。 */
.purchased-main {
display: flex;
flex-direction: column;
gap: 16px;
width: min(calc(100% - 48px), var(--page-width));
margin-inline: auto;
padding: 24px 0 40px;
}
.purchased-note {
margin: 0;
color: var(--text-dim);
font-size: 13px;
font-weight: 400;
line-height: 20px;
}
.purchased-list {
min-width: 0;
}
.purchased-item {
display: grid;
grid-template-columns: 56px minmax(0, 1fr) 120px 106px;
align-items: center;
gap: 16px;
min-width: 0;
min-height: 104px;
padding-block: 14px;
border-bottom: 1px solid var(--line-soft);
}
.purchased-item__cover {
display: block;
width: 56px;
height: 75px;
overflow: hidden;
border-radius: 6px;
background: var(--bg-panel);
}
.purchased-item__cover img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.purchased-item__body {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
min-width: 0;
}
.purchased-item__title {
display: block;
max-width: 100%;
margin: 0;
overflow: hidden;
color: var(--text);
font-size: 16px;
font-weight: 600;
line-height: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.purchased-item__info {
display: block;
max-width: 100%;
margin: 0;
overflow: hidden;
color: var(--text-muted);
font-size: 13px;
font-weight: 400;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.purchased-item__progress {
display: block;
width: 240px;
max-width: 100%;
height: 3px;
overflow: hidden;
border-radius: 999px;
background: var(--line);
}
.purchased-item__progress > span {
display: block;
width: var(--progress, 100%);
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.purchased-item__date {
color: var(--text-dim);
font-size: 12px;
font-weight: 400;
line-height: 18px;
white-space: nowrap;
}
.purchased-item__mobile-date,
.purchased-item__resume-mobile {
display: none;
}
.purchased-item__resume {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 106px;
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;
}
.purchased-item__resume img,
.purchased-item__resume svg {
display: block;
width: 16px;
height: 16px;
flex: 0 0 16px;
}
.purchased-item__resume:hover {
border-color: rgba(255, 255, 255, .36);
color: var(--text);
}
.purchased-item__resume:focus-visible {
outline: 2px solid var(--accent-hot);
outline-offset: 3px;
}
-117
View File
@@ -1,117 +0,0 @@
@media (max-width: 768px) {
.recharge-page {
--recharge-gutter: clamp(14px, 4.266667vw, 18px);
padding-top: 0;
}
.recharge-page .site-header { display: none; }
.subpage-header {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 56px;
padding: 0 var(--recharge-gutter);
border-bottom: 1px solid var(--line-soft);
background: var(--bg);
}
.subpage-header__button { display: flex; align-items: center; justify-content: center; width: 28px; height: 36px; }
.subpage-header__button img { width: 22px; height: 22px; }
.subpage-header__title { color: var(--text); font-size: 16px; font-weight: 600; line-height: 24px; }
.recharge-main { width: 100%; margin: 0; padding: 16px 0 0; }
.recharge-breadcrumb,
.recharge-intro,
.recharge-balance__guide { display: none; }
.recharge-balance {
width: auto;
height: 110px;
margin: 0 var(--recharge-gutter);
padding: 18px;
border-radius: 16px;
}
.recharge-balance__main { gap: 14px; }
.recharge-balance__coin { width: 72px; height: 72px; flex-basis: 72px; }
.recharge-balance__label { font-size: 11px; line-height: 16px; }
.recharge-balance__copy strong { margin-top: 2px; font-size: 28px; line-height: 34px; }
.recharge-balance__copy small { font-size: 13px; line-height: 20px; }
.recharge-balance__copy p { margin-top: 0; font-size: 11px; line-height: 16px; }
.recharge-packages { margin-top: 20px; padding: 0 var(--recharge-gutter); }
.recharge-section-heading { gap: 10px; height: 22px; min-height: 22px; }
.recharge-section-heading h2,
.recharge-payment > h2 { font-size: 16px; line-height: 22px; }
.recharge-section-heading span { font-size: 12px; line-height: 18px; white-space: nowrap; }
.recharge-packages__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.recharge-package { gap: 3px; height: 99px; padding: 12px; border-radius: 12px; }
.recharge-package__title { gap: 5px; font-size: 15px; line-height: 21px; white-space: nowrap; }
.recharge-package__title img { width: 14px; height: 14px; }
.recharge-package__hint { font-size: 11px; line-height: 16px; }
.recharge-package__price { font-size: 20px; line-height: 26px; }
.recharge-package__selected { top: 12px; right: 12px; width: 16px; height: 16px; }
.recharge-package__badge { top: -2px; right: 9px; height: 21px; padding-inline: 7px; font-size: 10px; }
.recharge-packages__note { display: none; }
.recharge-payment { margin-top: 16px; padding: 0 var(--recharge-gutter); }
.recharge-payment__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.recharge-method { gap: 10px; padding: 0 12px; }
.recharge-payment__checkout { flex-direction: column; gap: 11px; margin-top: 11px; }
.recharge-payment__checkout button { width: 100%; height: 48px; font-size: 16px; }
.recharge-payment__checkout p { font-size: 11px; line-height: 18px; text-align: center; }
.recharge-payment__status { text-align: center; }
.recharge-history { margin-top: 22px; padding: 0 var(--recharge-gutter) 22px; }
.recharge-history__head { height: 26px; }
.recharge-history__head h2 { font-size: 18px; line-height: 26px; }
.recharge-history__filters,
.recharge-history__export { display: none; }
.recharge-history__more { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 0; border: 0; background: none; color: var(--text-muted); font-size: 12px; line-height: 18px; }
.recharge-history__more img { width: 14px; height: 14px; }
.recharge-history__table { height: auto; margin-top: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
.recharge-history__columns { display: none; }
.recharge-history__row { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 20px 16px; align-content: center; height: 64px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; }
.recharge-history__kind { grid-column: 1; grid-row: 1; }
.recharge-history__detail-line { display: flex; align-items: center; gap: 8px; grid-column: 1; grid-row: 2; min-width: 0; }
.recharge-history__description,
.recharge-history__time { color: var(--text-dim); font-size: 11px; line-height: 16px; white-space: nowrap; }
.recharge-history__description { overflow: hidden; text-overflow: ellipsis; }
.recharge-history__time { flex: 0 0 auto; }
.recharge-history__amount { align-self: center; grid-column: 2; grid-row: 1 / 3; font-size: 16px; line-height: 20px; }
.only-desktop { display: none; }
.only-mobile { display: inline; }
.recharge-pagination { display: none; }
.recharge-page .site-footer { background: #141417; }
.recharge-page .site-footer__inner { padding: 32px 16px 27px; gap: 18px; }
.recharge-page .site-footer__brand { gap: 18px; }
.recharge-page .site-footer__links { flex-wrap: wrap; gap: 12px 16px; }
.recharge-page .footer-col { flex-wrap: nowrap; }
.recharge-page .footer-col:first-child,
.recharge-page .footer-col:nth-child(2) a:last-child,
.recharge-page .footer-col:nth-child(3) a:last-child { display: none; }
.recharge-page .footer-download { display: flex; flex-basis: 100%; justify-content: center; padding: 0; border: 0; background: none; }
.recharge-page .footer-download .qr-box,
.recharge-page .footer-download__copy strong,
.recharge-page .footer-download__copy p,
.recharge-page .footer-download__copy .icon { display: none; }
.recharge-page .footer-download .btn { height: 20px; padding: 0; color: var(--text-muted); background: none; font-size: 13px; line-height: 20px; }
.recharge-page .site-footer__rule { display: none; }
.recharge-page .site-footer__legal { flex-direction: column; align-items: center; gap: 0; }
.recharge-page .site-footer__legal p:first-child { order: 2; width: 100%; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line-soft); }
.recharge-page .site-footer__legal p:last-child { order: 1; }
.recharge-page .site-footer__adult,
.recharge-page .site-footer__rights { display: none; }
.recharge-page .site-footer__mobile-adult { display: inline; }
}
@media (max-width: 359px) {
.recharge-balance { height: 110px; padding: 14px; }
.recharge-balance__main { gap: 10px; }
.recharge-balance__coin { width: 64px; height: 64px; flex-basis: 64px; }
.recharge-balance__copy p { line-height: 14px; }
.recharge-balance__note-full { display: none; }
.recharge-balance__note-short { display: inline; }
.recharge-package__title { font-size: 14px; }
.recharge-package__badge { top: -4px; height: 18px; padding-inline: 5px; font-size: 9px; }
}
-516
View File
@@ -1,516 +0,0 @@
.recharge-modal[hidden] {
display: none !important;
}
.recharge-modal {
position: fixed;
inset: 0;
z-index: 320;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.recharge-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.7);
}
.recharge-modal__panel {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 16px;
width: 640px;
max-width: 100%;
max-height: calc(100dvh - 48px);
padding: 32px;
overflow-y: auto;
background: #141417;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
scrollbar-width: thin;
}
.recharge-modal__handle {
display: none;
}
.recharge-modal__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 54px;
}
.recharge-modal__heading {
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.recharge-modal__heading h2,
.recharge-modal__subtitle {
margin: 0;
}
.recharge-modal__heading h2 {
color: #f2f2f4;
font-size: 22px;
font-weight: 600;
line-height: 30px;
}
.recharge-modal__subtitle {
color: #a1a1aa;
font-size: 13px;
font-weight: 400;
line-height: 20px;
white-space: nowrap;
}
.recharge-modal__subtitle--mobile {
display: none;
}
.recharge-modal__balance {
display: inline-flex;
align-items: center;
gap: 6px;
flex: none;
padding: 6px 12px;
color: #e9c977;
background: rgba(217, 169, 74, 0.14);
border-radius: 999px;
}
.recharge-modal__balance strong {
font-family: Inter, var(--font);
font-size: 16px;
font-weight: 600;
line-height: 20px;
}
.recharge-modal__coin {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 14px;
width: 14px;
height: 14px;
background: linear-gradient(135deg, #e9c977 15%, #d9a94a 85%);
border: 1px solid #e9c977;
border-radius: 50%;
}
.recharge-modal__coin::before {
content: "";
position: absolute;
inset: 2px;
border: 1px solid rgba(58, 42, 10, 0.45);
border-radius: 50%;
}
.recharge-modal__coin img {
position: relative;
width: 8px;
height: 8px;
}
.recharge-modal__coin--balance {
flex-basis: 16px;
width: 16px;
height: 16px;
}
.recharge-modal__close {
position: absolute;
top: 16px;
right: 16px;
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.04);
border-radius: 50%;
}
.recharge-modal__close img {
width: 18px;
height: 18px;
}
.recharge-modal__packages {
display: grid;
grid-template-columns: repeat(3, 181px);
gap: 12px;
}
.recharge-modal__package {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
width: 181px;
height: 99px;
padding: 12px;
text-align: left;
background: #141417;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 12px;
}
.recharge-modal__package.is-selected {
background: rgba(217, 169, 74, 0.14);
border: 1.5px solid #d9a94a;
}
.recharge-modal__package-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
width: 100%;
min-height: 21px;
}
.recharge-modal__package-name {
display: inline-flex;
align-items: center;
gap: 6px;
white-space: nowrap;
color: #f2f2f4;
font-size: 15px;
font-weight: 600;
line-height: 21px;
}
.recharge-modal__package.is-selected .recharge-modal__package-name,
.recharge-modal__package.is-selected .recharge-modal__package-price {
color: #e9c977;
}
.recharge-modal__selected-icon {
display: none;
flex: none;
width: 14px;
height: 14px;
}
.recharge-modal__package.is-selected .recharge-modal__selected-icon {
display: block;
}
.recharge-modal__package-detail {
color: #7c7c86;
font-size: 12px;
font-weight: 400;
line-height: 18px;
white-space: nowrap;
}
.recharge-modal__package-price {
color: #f2f2f4;
font-family: Inter, var(--font);
font-size: 20px;
font-weight: 600;
line-height: 26px;
}
.recharge-modal__package-badge {
position: absolute;
top: -1px;
right: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
height: 20px;
padding: 0 8px;
color: #141414;
background: linear-gradient(135deg, #e9c977 15%, #d9a94a 85%);
border-radius: 6px;
font-size: 11px;
font-weight: 500;
line-height: 14px;
}
.recharge-modal__methods {
display: grid;
grid-template-columns: repeat(2, 278px);
gap: 12px;
}
.recharge-modal__method {
display: flex;
align-items: center;
gap: 10px;
width: 278px;
height: 52px;
padding: 0 16px;
text-align: left;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
}
.recharge-modal__method.is-selected {
background: rgba(236, 35, 127, 0.1);
border-color: rgba(236, 35, 127, 0.3);
}
.recharge-modal__method-check {
display: inline-flex;
align-items: center;
justify-content: center;
flex: none;
width: 18px;
height: 18px;
border: 1px solid rgba(255, 255, 255, 0.24);
border-radius: 50%;
}
.recharge-modal__method-check img {
display: none;
width: 12px;
height: 12px;
}
.recharge-modal__method.is-selected .recharge-modal__method-check {
border: 0;
background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%);
}
.recharge-modal__method.is-selected .recharge-modal__method-check img {
display: block;
}
.recharge-modal__method-copy {
display: flex;
flex-direction: column;
gap: 1px;
min-width: 0;
color: #f2f2f4;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.recharge-modal__method-copy small {
color: #7c7c86;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.recharge-modal__pay {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 52px;
padding: 0 28px;
color: #fff;
background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%);
border-radius: 999px;
font-size: 16px;
font-weight: 500;
line-height: 24px;
}
.recharge-modal__status {
margin: -8px 0 0;
color: #a1a1aa;
font-size: 12px;
line-height: 18px;
text-align: center;
}
.recharge-modal__status.is-ok {
color: #6ee7a8;
}
.recharge-modal__empty {
margin: 0;
grid-column: 1 / -1;
color: rgba(255, 255, 255, 0.56);
font-size: 13px;
line-height: 20px;
}
.recharge-modal__foot {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: #7c7c86;
font-size: 12px;
font-weight: 400;
line-height: 18px;
white-space: nowrap;
}
.recharge-modal__foot a {
display: inline-flex;
align-items: center;
gap: 5px;
color: #a1a1aa;
}
.recharge-modal__foot img {
width: 12px;
height: 12px;
}
.recharge-modal__close:focus-visible,
.recharge-modal__package:focus-visible,
.recharge-modal__method:focus-visible,
.recharge-modal__pay:focus-visible,
.recharge-modal__foot a:focus-visible {
outline: 2px solid #ff4a7b;
outline-offset: 2px;
}
@media (max-width: 768px) {
.recharge-modal {
align-items: flex-end;
justify-content: stretch;
padding: 0;
}
.recharge-modal__panel {
width: 100%;
max-width: none;
max-height: 100dvh;
padding: 12px 20px 24px;
gap: 14px;
border: 0;
border-radius: 20px 20px 0 0;
box-shadow: none;
}
.recharge-modal__handle {
display: flex;
justify-content: center;
align-items: center;
flex: none;
height: 4px;
}
.recharge-modal__handle::before {
content: "";
width: 36px;
height: 4px;
background: rgba(255, 255, 255, 0.24);
border-radius: 2px;
}
.recharge-modal__head {
min-height: 46px;
}
.recharge-modal__heading {
gap: 2px;
}
.recharge-modal__heading h2 {
font-size: 18px;
line-height: 26px;
}
.recharge-modal__subtitle {
font-size: 12px;
line-height: 18px;
}
.recharge-modal__subtitle--desktop,
.recharge-modal__balance {
display: none;
}
.recharge-modal__subtitle--mobile {
display: block;
}
.recharge-modal__close {
position: static;
flex: none;
}
.recharge-modal__packages {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.recharge-modal__package {
width: 100%;
}
.recharge-modal__package-detail {
font-size: clamp(10px, 3.2vw, 12px);
}
.recharge-modal__methods {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.recharge-modal__method {
width: 100%;
padding: 0 12px;
}
.recharge-modal__method-copy small {
font-size: 11px;
line-height: 16px;
}
.recharge-modal__pay {
height: 48px;
padding: 0 22px;
font-size: 15px;
line-height: 22px;
}
.recharge-modal__foot {
font-size: 11px;
line-height: 16px;
}
.recharge-modal__foot img {
width: 11px;
height: 11px;
}
}
@media (max-width: 340px) {
.recharge-modal__panel {
padding-inline: 16px;
}
.recharge-modal__package {
padding-inline: 9px;
}
.recharge-modal__package-name {
font-size: 13px;
}
.recharge-modal__package-badge {
top: -8px;
right: 4px;
}
.recharge-modal__method {
gap: 7px;
padding-inline: 9px;
}
}
-271
View File
@@ -1,271 +0,0 @@
.recharge-page {
min-height: 100vh;
padding-top: 72px;
background: var(--bg);
}
.recharge-page [hidden] { display: none !important; }
.subpage-header { display: none; }
.recharge-main {
width: min(calc(100% - 48px), var(--page-width));
margin-inline: auto;
padding: 24px 0 41px;
}
.recharge-breadcrumb {
display: flex;
align-items: center;
gap: 8px;
height: 20px;
color: var(--text-dim);
font-size: 13px;
line-height: 20px;
}
.recharge-breadcrumb span:last-child { color: var(--text-muted); }
.recharge-breadcrumb a:hover { color: var(--text); }
.recharge-intro {
display: flex;
flex-direction: column;
align-items: flex-start;
margin-top: 16px;
}
.recharge-intro__eyebrow {
color: var(--accent-hot);
font-size: 13px;
font-weight: 600;
line-height: 18px;
letter-spacing: .14em;
}
.recharge-intro__eyebrow::before {
display: inline-block;
width: 18px;
height: 2px;
margin: 0 10px 4px 0;
background: var(--accent);
content: "";
}
.recharge-intro h1 {
margin: 12px 0 0;
color: var(--text);
font-size: 28px;
font-weight: 600;
line-height: 36px;
}
.recharge-intro p {
margin: 12px 0 0;
color: var(--text-muted);
font-size: 15px;
line-height: 24px;
}
.recharge-balance {
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
width: 100%;
height: 216px;
margin-top: 24px;
padding: 24px 32px;
border: 1px solid var(--line-soft);
border-radius: 20px;
background: linear-gradient(90deg, #2a0d22 0%, #150a17 55%, #141417 100%);
}
.recharge-balance__main {
display: flex;
align-items: center;
gap: 24px;
min-width: 0;
}
.recharge-balance__coin {
width: 120px;
height: 120px;
flex: 0 0 120px;
object-fit: contain;
}
.recharge-balance__copy { min-width: 0; }
.recharge-balance__label,
.recharge-balance__guide h2 {
color: var(--text-dim);
font-size: 12px;
font-weight: 500;
line-height: 18px;
}
.recharge-balance__copy strong {
display: block;
margin-top: 4px;
color: var(--gold);
font-family: Inter, var(--font);
font-size: 40px;
font-weight: 600;
line-height: 46px;
}
.recharge-balance__copy small {
color: var(--text);
font-family: var(--font);
font-size: 15px;
font-weight: 600;
line-height: 22px;
}
.recharge-balance__copy p {
margin: 3px 0 0;
color: var(--text-dim);
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.recharge-balance__note-short { display: none; }
.recharge-balance__guide {
display: flex;
flex: 0 0 360px;
flex-direction: column;
gap: 9px;
}
.recharge-balance__guide h2 { margin: 0; }
.recharge-balance__tip { display: flex; align-items: flex-start; gap: 8px; }
.recharge-balance__tip > img { width: 16px; height: 16px; flex: 0 0 16px; }
.recharge-balance__tip > div { display: flex; flex-direction: column; gap: 2px; }
.recharge-balance__tip strong { color: var(--text); font-size: 13px; font-weight: 600; line-height: 18px; }
.recharge-balance__tip span { color: var(--text-dim); font-size: 12px; line-height: 18px; }
.recharge-packages { margin-top: 32px; }
.recharge-section-heading { display: flex; align-items: center; gap: 14px; min-height: 30px; }
.recharge-section-heading h2,
.recharge-payment > h2,
.recharge-history__head h2 {
margin: 0;
color: var(--text);
font-size: 20px;
font-weight: 600;
line-height: 26px;
}
.recharge-section-heading span { color: var(--text-dim); font-size: 13px; line-height: 20px; }
.recharge-packages__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin-top: 20px;
}
.recharge-package {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 5px;
min-width: 0;
height: 124px;
padding: 18px 20px;
border: 1px solid var(--line-soft);
border-radius: 16px;
background: var(--bg-elevated);
color: var(--text);
text-align: left;
cursor: pointer;
}
.recharge-package.is-selected {
border: 1.5px solid #d9a94a;
background: rgba(217, 169, 74, .14);
}
.recharge-package__title { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 600; line-height: 26px; }
.recharge-package__title img { width: 16px; height: 16px; }
.recharge-package__hint { color: var(--text-dim); font-size: 12px; line-height: 18px; white-space: nowrap; }
.recharge-package__price { margin-top: auto; color: var(--text); font-family: Inter, var(--font); font-size: 24px; font-weight: 600; line-height: 30px; }
.recharge-package.is-selected .recharge-package__title,
.recharge-package.is-selected .recharge-package__price { color: var(--gold); }
.recharge-package__selected { position: absolute; top: 18px; right: 20px; width: 18px; height: 18px; display: none; }
.recharge-package.is-selected .recharge-package__selected { display: block; }
.recharge-package__badge { position: absolute; top: -2px; right: 10px; display: flex; align-items: center; justify-content: center; height: 21px; padding: 0 8px; border-radius: 5px; background: linear-gradient(135deg, #ffe7a0, #e9c977); color: #382506; font-size: 11px; font-weight: 600; line-height: 16px; }
.recharge-packages__note { display: flex; align-items: center; gap: 8px; min-height: 24px; margin-top: 20px; }
.recharge-packages__note span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid rgba(236,35,127,.34); border-radius: 999px; background: rgba(236,35,127,.08); color: var(--accent-hot); font-size: 12px; font-weight: 500; white-space: nowrap; }
.recharge-packages__note p { margin: 0; color: var(--text-dim); font-size: 12px; line-height: 18px; }
.recharge-data-empty { margin: 16px 0 0; color: var(--text-dim); font-size: 13px; line-height: 20px; }
.recharge-payment { margin-top: 28px; }
.recharge-payment__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.recharge-method { display: flex; align-items: center; gap: 10px; height: 52px; min-width: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #242427; color: var(--text); text-align: left; cursor: pointer; }
.recharge-method.is-selected { border-color: rgba(236,35,127,.45); background: rgba(236,35,127,.12); }
.recharge-method__radio { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid #68686d; border-radius: 50%; }
.recharge-method__radio img { display: none; width: 12px; height: 12px; }
.recharge-method.is-selected .recharge-method__radio { border-color: transparent; background: linear-gradient(135deg,#ff4a7b,#ec237f); }
.recharge-method.is-selected .recharge-method__radio img { display: block; }
.recharge-method > span:last-child { display: flex; flex-direction: column; }
.recharge-method strong { font-size: 14px; font-weight: 500; line-height: 20px; }
.recharge-method small { color: var(--text-dim); font-size: 12px; line-height: 18px; }
.recharge-payment__checkout { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.recharge-payment__checkout button { display: flex; align-items: center; justify-content: center; width: 320px; height: 56px; border: 0; border-radius: 999px; background: linear-gradient(105deg,#ff4a7b 0%,#ec237f 52%,#93226f 100%); color: #fff; font-size: 16px; font-weight: 600; line-height: 24px; cursor: pointer; }
.recharge-payment__checkout button:disabled { cursor: not-allowed; opacity: .5; }
.recharge-payment__checkout p { margin: 0; color: var(--text-dim); font-size: 12px; line-height: 18px; }
.recharge-payment__status { margin: 8px 0 0; color: var(--text-muted); font-size: 12px; line-height: 18px; }
.recharge-payment__status.is-success { color: #39c98a; }
.recharge-history { margin-top: 40px; scroll-margin-top: calc(var(--site-header-height, 72px) + 16px); }
.recharge-history__head { display: flex; align-items: center; gap: 14px; height: 30px; }
.recharge-history__filters { display: flex; align-items: center; gap: 18px; align-self: stretch; }
.recharge-history__filters button { position: relative; padding: 0; border: 0; background: none; color: var(--text-dim); font-size: 13px; font-weight: 500; cursor: pointer; }
.recharge-history__filters button.is-active { color: var(--text); }
.recharge-history__filters button.is-active::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--accent); content: ""; }
.recharge-history__export { display: flex; align-items: center; gap: 3px; margin-left: auto; padding: 0; border: 0; background: none; color: var(--text-muted); font-size: 13px; cursor: pointer; }
.recharge-history__export img { width: 16px; height: 16px; }
.recharge-history__more { display: none; }
.recharge-history__table { height: 310px; margin-top: 16px; padding: 4px 24px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--bg-elevated); }
.recharge-history__columns,
.recharge-history__row { display: grid; grid-template-columns: 200px minmax(0,1fr) 200px 120px; align-items: center; }
.recharge-history__columns { height: 45px; border-bottom: 1px solid var(--line-soft); color: var(--text-dim); font-size: 12px; line-height: 18px; }
.recharge-history__columns span:last-child,
.recharge-history__amount { text-align: right; }
.recharge-history__row { height: 51px; border-bottom: 1px solid var(--line-soft); color: var(--text-muted); font-size: 13px; line-height: 20px; }
.recharge-history__row:last-child { border-bottom: 0; }
.recharge-history__kind { color: var(--text); }
.recharge-history__detail-line { display: contents; }
.recharge-history__time { color: var(--text-dim); }
.recharge-history__amount { color: #f35b69; font-family: Inter, var(--font); font-size: 15px; font-weight: 600; }
.recharge-history__amount.is-credit { color: #39c98a; }
.recharge-history__empty { margin: 0; padding: 36px 0; color: var(--text-dim); font-size: 13px; text-align: center; }
.only-mobile { display: none; }
.recharge-pagination,
.recharge-pagination [data-recharge-pages] { display: flex; align-items: center; justify-content: center; gap: 8px; }
.recharge-pagination { margin-top: 16px; }
.recharge-pagination button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-elevated); color: var(--text-muted); font-family: Inter, var(--font); font-size: 16px; font-weight: 600; cursor: pointer; }
.recharge-pagination button.is-active { border-color: transparent; background: linear-gradient(135deg,#ff4a7b,#ec237f 52%,#93226f); color: #fff; }
.recharge-pagination button:disabled { opacity: .45; cursor: default; }
.recharge-pagination button img { width: 16px; height: 16px; }
.recharge-pagination > button:first-child img { transform: rotate(180deg); }
.recharge-pagination__total { color: var(--text-dim); font-size: 12px; line-height: 18px; }
.recharge-page button:focus-visible,
.recharge-page a:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 3px; }
@media (max-width: 1080px) and (min-width: 769px) {
.recharge-balance__guide { flex-basis: 300px; }
.recharge-history__columns,
.recharge-history__row { grid-template-columns: 140px minmax(0,1fr) 175px 90px; }
}
@media (min-width: 901px) {
.recharge-page .site-footer__inner { gap: 32px; padding-bottom: 32px; }
.recharge-page .site-footer__legal { flex-direction: row; justify-content: space-between; gap: 24px; }
.recharge-page .site-footer__legal p:last-child { text-align: right; }
}
-255
View File
@@ -1,255 +0,0 @@
/* H5 注册页 */
body.page-register {
min-height: 100vh;
background: var(--bg);
}
.page-register .page-subheader {
display: flex;
border-bottom: 0;
}
.register-page {
min-height: 100vh;
padding: 56px 0 32px;
box-sizing: border-box;
}
.register-page__inner {
width: 100%;
max-width: 440px;
margin: 0 auto;
padding: 24px var(--h5-gutter);
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
box-sizing: border-box;
}
.register-page__brand {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.register-page__logo {
width: 64px;
height: 64px;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 8px 24px rgba(236, 35, 127, 0.4);
}
.register-page__content {
align-self: stretch;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 18px;
}
.register-page__intro {
align-self: stretch;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.register-page__title {
margin: 0;
color: var(--text);
font-size: 28px;
font-weight: 600;
line-height: 38px;
}
.register-page__desc {
margin: 0;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.register-page__form {
align-self: stretch;
display: flex;
flex-direction: column;
gap: 16px;
}
.register-page__field {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.register-page__label {
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.register-page__control {
align-self: stretch;
height: 48px;
padding: 0 16px;
display: flex;
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid transparent;
border-radius: 12px;
outline: 1px solid transparent;
outline-offset: -1px;
}
.register-page__control:focus-within {
outline-color: rgba(236, 35, 127, 0.45);
}
.register-page__field.is-error .register-page__control {
outline-color: #ff5a5f;
}
.register-page__error {
display: inline-flex;
align-items: center;
gap: 6px;
color: #ff5a5f;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.register-page__error[hidden] {
display: none !important;
}
.register-page__error-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
}
.register-page__control > .icon {
width: 18px;
height: 18px;
flex-shrink: 0;
}
.register-page__input {
flex: 1 1 0;
min-width: 0;
height: 100%;
padding: 0;
border: 0;
outline: none;
background: transparent;
color: var(--text);
font: inherit;
font-size: 15px;
line-height: 24px;
}
.register-page__input::placeholder {
color: var(--text-dim);
}
.register-page__toggle {
width: 18px;
height: 18px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--text-dim);
}
.register-page__toggle .icon {
width: 18px;
height: 18px;
}
.register-page__agree {
display: flex;
align-items: flex-start;
gap: 10px;
color: var(--text-muted);
font-size: 13px;
line-height: 20px;
cursor: pointer;
}
.register-page__agree a {
color: inherit;
text-decoration: underline;
text-underline-offset: 2px;
}
.register-page__checkbox {
position: absolute;
opacity: 0;
width: 1px;
height: 1px;
pointer-events: none;
}
.register-page__check {
width: 18px;
height: 18px;
flex-shrink: 0;
margin-top: 1px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.24);
}
.register-page__checkbox:checked + .register-page__check {
border-color: transparent;
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.register-page__checkbox:checked + .register-page__check::after {
content: "";
width: 10px;
height: 6px;
border-left: 1.5px solid #fff;
border-bottom: 1.5px solid #fff;
transform: translateY(-1px) rotate(-45deg);
}
.register-page__submit {
align-self: stretch;
height: 52px;
padding: 0 28px;
font-size: 16px;
line-height: 24px;
}
.register-page__switch {
margin: 0;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.register-page__switch a {
color: #ff4a7b;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
-304
View File
@@ -1,304 +0,0 @@
/* PC 注册弹窗 */
.register-pop {
position: fixed;
inset: 0;
z-index: 290;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
}
.register-pop.is-open {
display: flex;
}
.register-pop__mask {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.7);
}
.register-pop__panel {
position: relative;
z-index: 1;
width: 440px;
max-width: 100%;
padding: 32px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 20px;
background: #141417;
border: 1px solid var(--line);
border-radius: var(--radius-xl);
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
overflow: hidden;
}
.register-pop__close {
position: absolute;
top: 16px;
right: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.04);
border-radius: 999px;
}
.register-pop__close .icon {
width: 18px;
height: 18px;
}
.register-pop__intro {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
padding-right: 40px;
}
.register-pop__title {
margin: 0;
color: var(--text);
font-size: 28px;
font-weight: 600;
line-height: 38px;
}
.register-pop__desc {
margin: 0;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.register-pop__form {
align-self: stretch;
display: flex;
flex-direction: column;
gap: 16px;
}
.register-pop__field {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.register-pop__label {
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.register-pop__control {
align-self: stretch;
height: 48px;
padding: 0 16px;
display: flex;
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid transparent;
border-radius: 12px;
outline: 1px solid transparent;
outline-offset: -1px;
}
.register-pop__control:focus-within {
outline-color: rgba(236, 35, 127, 0.45);
}
.register-pop__field.is-error .register-pop__control {
outline-color: #ff5a5f;
}
.register-pop__error {
display: inline-flex;
align-items: center;
gap: 6px;
color: #ff5a5f;
font-size: 12px;
font-weight: 400;
line-height: 18px;
}
.register-pop__error[hidden] {
display: none !important;
}
.register-pop__error-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
}
.register-pop__control > .icon {
width: 18px;
height: 18px;
flex-shrink: 0;
}
.register-pop__input {
flex: 1 1 0;
min-width: 0;
height: 100%;
padding: 0;
border: 0;
outline: none;
background: transparent;
color: var(--text);
font: inherit;
font-size: 15px;
line-height: 24px;
}
.register-pop__input::placeholder {
color: var(--text-dim);
}
.register-pop__toggle {
width: 18px;
height: 18px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--text-dim);
}
.register-pop__toggle .icon {
width: 18px;
height: 18px;
}
.register-pop__agree {
display: flex;
align-items: flex-start;
gap: 10px;
color: var(--text-muted);
font-size: 13px;
line-height: 20px;
cursor: pointer;
}
.register-pop__agree a {
color: inherit;
text-decoration: underline;
text-underline-offset: 2px;
}
.register-pop__checkbox {
position: absolute;
opacity: 0;
width: 1px;
height: 1px;
pointer-events: none;
}
.register-pop__check {
width: 18px;
height: 18px;
flex-shrink: 0;
margin-top: 1px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.24);
}
.register-pop__checkbox:checked + .register-pop__check {
border-color: transparent;
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
}
.register-pop__checkbox:checked + .register-pop__check::after {
content: "";
width: 10px;
height: 6px;
border-left: 1.5px solid #fff;
border-bottom: 1.5px solid #fff;
transform: translateY(-1px) rotate(-45deg);
}
.register-pop__submit {
align-self: stretch;
height: 52px;
padding: 0 28px;
font-size: 16px;
line-height: 24px;
}
.register-pop__submit.is-loading,
.register-pop__submit:disabled {
opacity: 0.72;
cursor: wait;
}
.register-pop__tip {
margin: 0;
align-self: stretch;
padding: 8px 12px;
border-radius: 8px;
font-size: 13px;
line-height: 20px;
background: rgba(255, 74, 123, 0.1);
color: #ff4a7b;
}
.register-pop__tip.is-success {
background: rgba(30, 120, 70, 0.12);
color: #1e7846;
}
.register-pop__tip[hidden] {
display: none !important;
}
.register-pop__switch {
margin: 0;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.register-pop__switch a {
color: #ff4a7b;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
@media (max-width: 768px) {
.register-pop {
padding: 16px;
}
.register-pop__panel {
max-height: calc(100vh - 32px);
max-height: calc(100dvh - 32px);
padding: 24px 20px;
border-radius: 18px;
overflow-y: auto;
}
.register-pop__title {
font-size: 24px;
line-height: 32px;
}
}
-65
View File
@@ -1,65 +0,0 @@
.setting-main { width: min(calc(100% - 48px), var(--page-width)); margin: 0 auto; padding: 24px 0 40px; }
.setting-layout { max-width: 900px; margin: 0 auto; }
.setting-card { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 32px; border: 1px solid var(--line-soft); border-radius: 16px; background: #141417; }
.setting-section { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 90px; }
.setting-section__title { margin: 0; color: var(--text); font-size: 18px; font-weight: 600; line-height: 26px; }
.setting-avatar { display: flex; align-items: center; gap: 16px; }
.setting-avatar__image { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.setting-avatar__button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: var(--text); font-size: 14px; cursor: pointer; }
.setting-avatar__button img { width: 16px; height: 16px; }
.setting-avatar__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.setting-avatar__hint { margin: 8px 0 0; color: var(--text-dim); font-size: 12px; line-height: 18px; }
.setting-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.setting-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--text-muted); font-size: 14px; font-weight: 500; line-height: 20px; }
.setting-field input, .setting-field textarea, .setting-field__action { width: 100%; min-width: 0; min-height: 48px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; outline: none; background: rgba(255,255,255,.06); color: var(--text); font: 400 15px/24px var(--font); }
.setting-field textarea { min-height: 96px; resize: vertical; }
.setting-field input:focus, .setting-field textarea:focus { border-color: #ec237f; }
.setting-field input[readonly] { color: var(--text-muted); cursor: default; }
.setting-field small { color: var(--text-dim); font-size: 12px; font-weight: 400; line-height: 18px; }
.setting-field__action { color: #ff4a7b; text-align: right; cursor: pointer; }
.setting-field__value-action { position: relative; min-width: 0; }
.setting-field__value-action input { padding-right: 72px; }
.setting-field__inline-action { position: absolute; top: 50%; right: 16px; color: #ff4a7b; font-size: 14px; font-weight: 500; line-height: 20px; transform: translateY(-50%); cursor: pointer; }
.setting-field--intro { max-width: 100%; }
.setting-actions { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.setting-actions button { min-height: 48px; padding: 0 22px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; }
.setting-actions__save { border: 0; background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%); }
.setting-actions__logout { border: 1px solid rgba(255,255,255,.24); background: transparent; }
.setting-actions__unavailable { margin-left: auto; color: var(--text-dim); font-size: 13px; }
.setting-status { margin: -8px 0 0; min-height: 20px; color: #ff858b; font-size: 13px; line-height: 20px; }
.setting-status.is-success { color: #84d9a1; }
.setting-login-state { padding: 80px 16px; text-align: center; color: var(--text-muted); }
.setting-login-state h2 { color: var(--text); }
.setting-login-state a { color: #ff4a7b; }
.setting-password-pop { position: fixed; inset: 0; z-index: 295; display: flex; align-items: center; justify-content: center; padding: 24px; }
.setting-password-pop[hidden] { display: none !important; }
.setting-password-pop__mask { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.72); cursor: default; }
.setting-password-pop__panel { position: relative; z-index: 1; width: 440px; max-width: 100%; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #141417; box-shadow: 0 24px 64px rgba(0,0,0,.55); }
.setting-password-pop__close { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.04); }
.setting-password-pop__close .icon { width: 18px; height: 18px; }
.setting-password-pop__intro { padding-right: 40px; }
.setting-password-pop__intro h2 { margin: 0; color: var(--text); font-size: 28px; font-weight: 600; line-height: 38px; }
.setting-password-pop__intro p { margin: 6px 0 0; color: var(--text-muted); font-size: 14px; line-height: 22px; }
.setting-password-pop__form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.setting-password-pop__status { min-height: 18px; margin: -4px 0 0; color: #ff858b; font-size: 12px; line-height: 18px; }
.setting-password-pop__status.is-success { color: #84d9a1; }
.setting-password-pop__submit { width: 100%; min-height: 52px; border: 0; border-radius: 999px; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.setting-password-pop__submit:disabled { opacity: .72; cursor: wait; }
@media (max-width: 768px) {
.setting-main { width: 100%; padding: 0 16px 24px; }
.setting-layout { max-width: none; }
.setting-card { gap: 16px; padding: 16px 0 0; border: 0; border-radius: 0; background: transparent; }
.setting-section { gap: 16px; }
.setting-section__title { display: none; }
.setting-avatar__image { flex-basis: 56px; width: 56px; height: 56px; }
.setting-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.setting-actions { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 16px; }
.setting-actions button { width: 100%; }
.setting-actions__unavailable { margin: 0; text-align: center; }
.setting-status { text-align: center; }
.setting-password-pop { padding: 16px; }
.setting-password-pop__panel { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 24px 20px; border-radius: 18px; overflow-y: auto; }
.setting-password-pop__intro h2 { font-size: 24px; line-height: 32px; }
}