2026-07-07 18:02:14 +08:00

400 lines
6.1 KiB
CSS

* {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
:root {
--app-scale: 1;
--design-scale: 0.3472222222;
}
html,
body {
margin: 0;
width: 100%;
min-height: 100%;
overflow-x: hidden;
background: var(--hy-theme-bg);
color: #f6e0b2;
font-family:
Arial,
"Helvetica Neue",
Helvetica,
sans-serif;
}
body {
min-height: 1137px;
}
.app-viewport {
position: relative;
width: 375px;
min-height: 1137px;
margin: 0 auto;
transform: scale(var(--app-scale));
transform-origin: top center;
}
.page {
position: relative;
width: 375px;
min-height: 1137px;
overflow: hidden;
background: #1b100d;
}
.stage {
position: absolute;
left: 0;
top: 0;
width: 1080px;
height: 3273px;
overflow: hidden;
transform: scale(var(--design-scale));
transform-origin: top left;
background: #1b100d;
}
.stage > * {
position: absolute;
z-index: 1;
}
.bg {
left: 0;
z-index: 0;
width: 1080px;
object-fit: fill;
pointer-events: none;
user-select: none;
}
.bg-top {
top: 0;
height: 1588px;
}
.bg-mid {
height: 649px;
object-fit: cover;
object-position: center center;
}
.bg-mid-a {
top: 1000px;
}
.bg-mid-b {
top: 1400px;
}
.bg-mid-c {
top: 1800px;
}
.bg-mid-d {
top: 2200px;
}
.bg-mid-e {
top: 2600px;
}
.bg-bottom {
top: 2695px;
height: 578px;
}
.countdown {
left: 90px;
top: 696px;
width: 900px;
height: 378px;
}
.countdown-frame {
position: absolute;
inset: 0;
width: 900px;
height: 378px;
object-fit: fill;
pointer-events: none;
}
.count-number {
position: absolute;
top: 156px;
width: 96px;
height: 74px;
color: #ffce95;
font-size: 60px;
font-weight: 900;
line-height: 74px;
letter-spacing: 0;
text-align: center;
text-shadow:
0 2px 0 #47200d,
0 0 14px rgba(255, 210, 135, 0.58);
}
.count-number[data-count="days"] {
left: 97px;
}
.count-number[data-count="hours"] {
left: 301px;
}
.count-number[data-count="minutes"] {
left: 506px;
}
.count-number[data-count="seconds"] {
left: 706px;
}
.count-label {
position: absolute;
top: 274px;
width: 150px;
height: 30px;
color: #100800;
font-size: 22px;
font-weight: 800;
line-height: 30px;
letter-spacing: 0;
text-align: center;
white-space: nowrap;
transform: translateX(-50%);
}
.count-label:nth-of-type(1) {
left: 145px;
}
.count-label:nth-of-type(2) {
left: 349px;
}
.count-label:nth-of-type(3) {
left: 554px;
}
.count-label:nth-of-type(4) {
left: 754px;
}
.profile-card {
left: 90px;
top: 1089px;
width: 900px;
height: 672px;
}
.profile-frame {
position: absolute;
inset: 0;
width: 900px;
height: 672px;
object-fit: fill;
pointer-events: none;
}
.profile-avatar {
position: absolute;
left: 334px;
top: 157px;
width: 232px;
height: 232px;
border-radius: 50%;
object-fit: cover;
pointer-events: none;
}
.profile-name,
.profile-id,
.profile-recharge {
position: absolute;
left: 72px;
width: 756px;
margin: 0;
color: #f6e0b2;
letter-spacing: 0;
text-align: center;
text-shadow: 0 3px 8px rgba(0, 0, 0, 0.72);
}
.profile-name {
top: 425px;
font-size: 38px;
font-weight: 800;
line-height: 48px;
}
.profile-id {
top: 476px;
font-size: 26px;
font-weight: 700;
line-height: 34px;
}
.profile-recharge {
top: 520px;
font-size: 36px;
font-weight: 800;
line-height: 46px;
}
.reward-sections {
left: 0;
top: 0;
width: 1080px;
height: 3273px;
}
.reward-section {
position: absolute;
left: 90px;
top: var(--section-top);
width: 900px;
}
.title-pill {
position: absolute;
left: 0;
top: 0;
z-index: 4;
width: 900px;
height: 180px;
}
.reward-section-bg {
position: absolute;
inset: 0;
z-index: 1;
width: 900px;
height: 675px;
object-fit: fill;
pointer-events: none;
}
.title-pill span {
position: absolute;
left: 0;
top: 95px;
z-index: 4;
width: 900px;
color: #f6e0b2;
font-size: 40px;
font-weight: 900;
line-height: 48px;
letter-spacing: 0;
text-align: center;
text-shadow:
0 2px 0 #4f2306,
0 0 14px rgba(255, 207, 113, 0.45);
}
.reward-card {
position: absolute;
z-index: 3;
width: 229px;
height: 251px;
color: #f6e0b2;
text-align: center;
}
.reward-frame {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: fill;
pointer-events: none;
}
.reward-icon {
position: absolute;
left: 18px;
top: 19px;
width: 193px;
height: 193px;
object-fit: contain;
pointer-events: none;
}
.reward-price {
position: absolute;
left: 0;
top: 196px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 32px;
color: #f6e0b2;
font-size: 26px;
font-weight: 900;
line-height: 32px;
letter-spacing: 0;
text-align: center;
text-shadow:
0 2px 0 #3a1704,
0 0 10px rgba(255, 207, 113, 0.44);
}
.claim-button {
position: absolute;
left: 250.5px;
top: 538px;
z-index: 4;
width: 399px;
height: 133px;
border: 0;
padding: 0;
background: transparent;
color: #fff8d2;
font: inherit;
letter-spacing: 0;
text-align: center;
cursor: pointer;
}
.claim-button:disabled {
cursor: default;
opacity: 0.68;
}
.claim-button-bg {
position: absolute;
inset: 0;
width: 399px;
height: 133px;
object-fit: fill;
pointer-events: none;
}
.claim-button span {
position: absolute;
left: 0;
top: 47px;
width: 399px;
height: 40px;
color: #fff8d2;
font-size: 40px;
font-weight: 900;
line-height: 40px;
text-shadow:
0 2px 0 #7d2606,
0 0 10px rgba(255, 230, 128, 0.68);
pointer-events: none;
}
@media (min-width: 431px) {
html,
body {
background: #100806;
}
}