723 lines
13 KiB
CSS
723 lines
13 KiB
CSS
:root {
|
|
--huwaa-week-star-width: min(100vw, 430px);
|
|
--huwaa-week-star-scale: 0.3472222222;
|
|
/* These page-local colors are measured from Figma nodes 818:1999/2066/2132. */
|
|
--huwaa-week-star-bg: #1c0536;
|
|
--huwaa-week-star-row: #1b0a41;
|
|
--huwaa-week-star-row-alt: rgba(103, 0, 203, 0.2);
|
|
--huwaa-week-star-text: #f8e8ff;
|
|
--huwaa-week-star-history: #b856ff;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
background: #0b0219;
|
|
color: var(--huwaa-week-star-text);
|
|
font-family:
|
|
'Source Han Sans SC',
|
|
'Noto Sans CJK SC',
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
'Segoe UI',
|
|
Arial,
|
|
sans-serif;
|
|
}
|
|
|
|
button {
|
|
margin: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
color: inherit;
|
|
font: inherit;
|
|
background: transparent;
|
|
}
|
|
|
|
button:focus-visible {
|
|
outline: 6px solid var(--hy-theme-primary, #cf6fff);
|
|
outline-offset: -8px;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: none;
|
|
user-select: none;
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.week-star-page {
|
|
position: relative;
|
|
width: var(--huwaa-week-star-width);
|
|
min-height: 0;
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
background: var(--huwaa-week-star-bg);
|
|
direction: ltr;
|
|
}
|
|
|
|
.week-star-stage-wrap {
|
|
position: relative;
|
|
width: var(--huwaa-week-star-width);
|
|
height: auto;
|
|
aspect-ratio: 1080 / 2309;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.week-star-stage {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 1080px;
|
|
height: 2309px;
|
|
overflow: hidden;
|
|
background: var(--huwaa-week-star-bg);
|
|
transform: scale(var(--huwaa-week-star-scale));
|
|
transform-origin: top left;
|
|
}
|
|
|
|
.week-star-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: -110px;
|
|
width: 1300px;
|
|
height: 2309px;
|
|
opacity: 0.06;
|
|
object-fit: cover;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-star-hero,
|
|
.week-star-hero-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 1080px;
|
|
height: 1022px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-star-hero-mask {
|
|
overflow: hidden;
|
|
-webkit-mask-image: linear-gradient(
|
|
to bottom,
|
|
#000 0%,
|
|
#000 65%,
|
|
transparent 100%
|
|
);
|
|
mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
|
|
}
|
|
|
|
.week-star-hero-image {
|
|
position: absolute;
|
|
top: -24px;
|
|
left: 0;
|
|
width: 1080px;
|
|
height: 1080px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.week-star-title {
|
|
position: absolute;
|
|
top: 622px;
|
|
left: 145px;
|
|
width: 790px;
|
|
height: 126px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background: linear-gradient(
|
|
180deg,
|
|
#fff9d0 0%,
|
|
#f8cf7d 36%,
|
|
#fff3c4 52%,
|
|
#b97828 100%
|
|
);
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
color: transparent;
|
|
font-family: Georgia, 'Times New Roman', serif;
|
|
font-size: 102px;
|
|
font-weight: 700;
|
|
line-height: 126px;
|
|
text-align: center;
|
|
text-shadow:
|
|
0 4px 0 rgba(67, 20, 7, 0.66),
|
|
0 9px 14px rgba(0, 0, 0, 0.72);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.week-star-date {
|
|
position: absolute;
|
|
top: 778px;
|
|
left: 204px;
|
|
width: 672px;
|
|
height: 95px;
|
|
}
|
|
|
|
.week-star-page:not([data-tab='history']) .week-star-date {
|
|
top: 726px;
|
|
}
|
|
|
|
.week-star-date-ribbon {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 672px;
|
|
height: 95px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.week-star-page[data-tab='history'] .week-star-date-ribbon {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.week-star-date-text {
|
|
position: absolute;
|
|
top: 19px;
|
|
left: 0;
|
|
width: 672px;
|
|
height: 42px;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-size: 30px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
text-shadow:
|
|
0 2px 2px rgba(31, 0, 72, 0.8),
|
|
0 0 10px rgba(255, 120, 255, 0.55);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.week-star-note {
|
|
position: absolute;
|
|
top: 861px;
|
|
left: 64px;
|
|
width: 952px;
|
|
height: 126px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
color: var(--huwaa-week-star-text);
|
|
font-size: 36px;
|
|
font-weight: 500;
|
|
line-height: 42px;
|
|
text-align: left;
|
|
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.36);
|
|
}
|
|
|
|
.week-star-gifts {
|
|
position: absolute;
|
|
top: 1027px;
|
|
left: 0;
|
|
width: 1080px;
|
|
height: 257px;
|
|
}
|
|
|
|
.week-star-gift {
|
|
position: absolute;
|
|
top: 0;
|
|
left: var(--gift-left);
|
|
width: 257px;
|
|
height: 257px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.week-star-gift-frame {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 257px;
|
|
height: 257px;
|
|
object-fit: fill;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-star-gift-frame-glow {
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
.week-star-gift-image,
|
|
.week-star-gift-placeholder {
|
|
position: absolute;
|
|
top: 41px;
|
|
left: 35px;
|
|
width: 188px;
|
|
height: 188px;
|
|
}
|
|
|
|
.week-star-gift-image {
|
|
object-fit: contain;
|
|
}
|
|
|
|
.week-star-gift-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.62);
|
|
font-size: 62px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.week-star-gift.has-image .week-star-gift-placeholder {
|
|
display: none;
|
|
}
|
|
|
|
.week-star-tabs {
|
|
position: absolute;
|
|
z-index: 10;
|
|
top: 1316px;
|
|
left: 21px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 335px);
|
|
column-gap: 18px;
|
|
width: 1041px;
|
|
height: 153px;
|
|
}
|
|
|
|
.week-star-tab {
|
|
position: relative;
|
|
width: 335px;
|
|
height: 153px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.week-star-tab-skin {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 335px;
|
|
object-fit: fill;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-star-tab-skin-active {
|
|
top: 4px;
|
|
height: 149px;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.week-star-tab-skin-inactive {
|
|
top: 6px;
|
|
height: 146px;
|
|
}
|
|
|
|
.week-star-tab.is-active .week-star-tab-skin-active {
|
|
visibility: visible;
|
|
}
|
|
|
|
.week-star-tab.is-active .week-star-tab-skin-inactive {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.week-star-tab span {
|
|
position: absolute;
|
|
top: 57px;
|
|
left: 32px;
|
|
display: flex;
|
|
width: 270px;
|
|
height: 77px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 32px;
|
|
font-weight: 500;
|
|
line-height: 34px;
|
|
text-align: center;
|
|
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
.week-star-tab.is-active span {
|
|
color: #fff;
|
|
}
|
|
|
|
.week-star-panel {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 1080px;
|
|
}
|
|
|
|
.week-star-history-date {
|
|
position: absolute;
|
|
top: 1514px;
|
|
left: 291px;
|
|
width: 508px;
|
|
height: 46px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
color: var(--huwaa-week-star-history);
|
|
font-size: 46px;
|
|
font-weight: 500;
|
|
line-height: 46px;
|
|
text-align: center;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.week-star-history-panel::before {
|
|
position: absolute;
|
|
top: 1467px;
|
|
left: 0;
|
|
width: 1080px;
|
|
height: 140px;
|
|
background: var(--huwaa-week-star-row);
|
|
content: '';
|
|
}
|
|
|
|
.week-star-rank-row {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 1080px;
|
|
height: 140px;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
text-align: left;
|
|
cursor: default;
|
|
}
|
|
|
|
.week-star-rank-row[data-user-id] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.week-star-rank-row.is-dark {
|
|
background: var(--huwaa-week-star-row);
|
|
}
|
|
|
|
.week-star-rank-row.is-purple {
|
|
background: var(--huwaa-week-star-row-alt);
|
|
}
|
|
|
|
.week-star-rank-medal,
|
|
.week-star-rank-number {
|
|
position: absolute;
|
|
top: 39px;
|
|
left: 45px;
|
|
width: 69px;
|
|
height: 61px;
|
|
}
|
|
|
|
.week-star-rank-medal {
|
|
object-fit: contain;
|
|
}
|
|
|
|
.week-star-rank-medal.is-rank-three {
|
|
left: 47px;
|
|
width: 63px;
|
|
}
|
|
|
|
.week-star-rank-number {
|
|
top: 49px;
|
|
left: 69px;
|
|
width: 45px;
|
|
height: 42px;
|
|
font-size: 36px;
|
|
font-weight: 500;
|
|
line-height: 42px;
|
|
}
|
|
|
|
.week-star-rank-avatar {
|
|
position: absolute;
|
|
top: 13px;
|
|
left: 160px;
|
|
width: 113px;
|
|
height: 113px;
|
|
overflow: hidden;
|
|
border: 3px solid rgba(255, 255, 255, 0.22);
|
|
border-radius: 50%;
|
|
background: rgba(184, 86, 255, 0.3);
|
|
}
|
|
|
|
.week-star-rank-avatar img {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.week-star-rank-avatar span {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
font-size: 42px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.week-star-rank-avatar.is-fallback img {
|
|
display: none;
|
|
}
|
|
|
|
.week-star-rank-name,
|
|
.week-star-rank-score {
|
|
position: absolute;
|
|
top: 49px;
|
|
height: 42px;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-size: 36px;
|
|
font-weight: 500;
|
|
line-height: 42px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.week-star-rank-name {
|
|
left: 313px;
|
|
width: 420px;
|
|
}
|
|
|
|
.week-star-rank-score {
|
|
left: 846px;
|
|
width: 190px;
|
|
text-align: left;
|
|
}
|
|
|
|
.week-star-state {
|
|
position: absolute;
|
|
left: 70px;
|
|
display: flex;
|
|
width: 940px;
|
|
min-height: 140px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 26px;
|
|
padding: 20px 40px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 34px;
|
|
font-weight: 500;
|
|
line-height: 46px;
|
|
text-align: center;
|
|
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.week-star-state-retry {
|
|
min-width: 260px;
|
|
min-height: 76px;
|
|
border: 3px solid rgba(255, 255, 255, 0.38);
|
|
border-radius: 38px;
|
|
padding: 12px 38px;
|
|
background: var(--hy-theme-button, #be73ed);
|
|
color: #fff;
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
line-height: 42px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.week-star-reward-panel-skin {
|
|
position: absolute;
|
|
top: 1531px;
|
|
left: 24px;
|
|
width: 1033px;
|
|
height: 1669px;
|
|
object-fit: fill;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-star-reward-group {
|
|
position: absolute;
|
|
left: 91px;
|
|
width: 900px;
|
|
height: 424px;
|
|
}
|
|
|
|
.week-star-reward-heading {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 136px;
|
|
width: 626px;
|
|
height: 98px;
|
|
margin: 0;
|
|
}
|
|
|
|
.week-star-reward-heading img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 626px;
|
|
height: 98px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.week-star-reward-heading span {
|
|
position: absolute;
|
|
top: 43px;
|
|
left: 0;
|
|
width: 626px;
|
|
height: 40px;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, 'SF Pro Display', Arial, sans-serif;
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
text-shadow:
|
|
0 2px 4px rgba(0, 0, 0, 0.45),
|
|
0 0 9px rgba(255, 93, 255, 0.55);
|
|
}
|
|
|
|
.week-star-reward-items {
|
|
position: absolute;
|
|
top: 200px;
|
|
left: 0;
|
|
display: flex;
|
|
width: 900px;
|
|
height: 326px;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
gap: 65px;
|
|
}
|
|
|
|
.week-star-reward-item {
|
|
position: relative;
|
|
width: 257px;
|
|
height: 326px;
|
|
flex: 0 0 257px;
|
|
}
|
|
|
|
.week-star-reward-item-frame {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 257px;
|
|
height: 270px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.week-star-reward-item-glow {
|
|
position: absolute;
|
|
top: 30px;
|
|
left: 19px;
|
|
width: 219px;
|
|
height: 219px;
|
|
opacity: 0.34;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.week-star-reward-item-image,
|
|
.week-star-reward-item-placeholder {
|
|
position: absolute;
|
|
top: 41px;
|
|
left: 35px;
|
|
width: 188px;
|
|
height: 188px;
|
|
}
|
|
|
|
.week-star-reward-item-image {
|
|
object-fit: contain;
|
|
}
|
|
|
|
.week-star-reward-item-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 58px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.week-star-reward-item.has-image .week-star-reward-item-placeholder {
|
|
display: none;
|
|
}
|
|
|
|
.week-star-reward-label {
|
|
position: absolute;
|
|
top: 290px;
|
|
left: 3px;
|
|
width: 251px;
|
|
height: 36px;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-size: 36px;
|
|
font-weight: 500;
|
|
line-height: 36px;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.week-star-reward-empty {
|
|
position: absolute;
|
|
top: 1705px;
|
|
left: 90px;
|
|
}
|
|
|
|
.week-star-reward-inline-empty {
|
|
display: flex;
|
|
width: 900px;
|
|
height: 140px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 34px;
|
|
font-weight: 500;
|
|
line-height: 46px;
|
|
text-align: center;
|
|
}
|
|
|
|
.week-star-announcer {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
html[dir='rtl'] .week-star-note {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
|
|
html[dir='rtl'] .week-star-tab span,
|
|
html[dir='rtl'] .week-star-state,
|
|
html[dir='rtl'] .week-star-reward-label {
|
|
direction: rtl;
|
|
}
|
|
|
|
html[lang='ar'] .week-star-title,
|
|
html[lang='tr'] .week-star-title,
|
|
html[lang='es'] .week-star-title {
|
|
font-family: 'Source Han Sans SC', Arial, sans-serif;
|
|
font-size: 82px;
|
|
}
|
|
|
|
html[lang='tr'] .week-star-tab span,
|
|
html[lang='es'] .week-star-tab span {
|
|
font-size: 28px;
|
|
line-height: 31px;
|
|
}
|
|
|
|
@media (min-width: 1080px) {
|
|
:root {
|
|
--huwaa-week-star-width: 430px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition: none !important;
|
|
}
|
|
}
|