hyapp-h5/activity/wheel/style.css
2026-06-24 13:47:47 +08:00

1233 lines
28 KiB
CSS

[v-cloak] {
display: none;
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background: #10101a;
-webkit-font-smoothing: antialiased;
}
button {
border: 0;
padding: 0;
font: inherit;
color: inherit;
background: transparent;
-webkit-tap-highlight-color: transparent;
}
.wheel-page {
--wheel-vw: min(0.2666667vw, 2.048px);
min-height: 100vh;
overflow-x: hidden;
}
#app {
width: min(100vw, 768px);
min-height: 100vh;
margin: 0 auto;
overflow: hidden;
background: var(--hy-theme-bg);
}
.wheel-loading {
min-height: 100vh;
display: grid;
place-items: center;
color: var(--hy-theme-primary);
font-size: calc(16 * var(--wheel-vw));
}
.wheel-stage {
width: 100%;
height: calc(600 * var(--wheel-vw));
position: relative;
margin: 0 auto;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.wheel-classic {
background: linear-gradient(to bottom, #4244dd, #82ceff);
}
.wheel-classic .wheel-stage {
background-image: url('./assets/other/lucky_box_bg_new.png');
}
.wheel-luxury {
background: linear-gradient(to bottom, #cfd2fd, #e39dbf);
}
.wheel-luxury .wheel-stage {
height: calc(595 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_tow_bg_new.png');
}
.wheel-advanced {
background: #794724;
}
.wheel-advanced .wheel-stage {
background-image: url('./assets/other/lucky_box_three_bg_new.png');
}
.lucky-tab {
display: flex;
align-items: center;
gap: calc(10 * var(--wheel-vw));
position: absolute;
top: calc(60 * var(--wheel-vw));
left: 50%;
z-index: 3;
width: 100%;
padding: 0 calc(20 * var(--wheel-vw));
transform: translateX(-50%);
}
.wheel-luxury .lucky-tab {
top: calc(58 * var(--wheel-vw));
}
.tab-item {
flex: 1;
height: calc(40 * var(--wheel-vw));
color: #fff;
line-height: calc(36 * var(--wheel-vw));
text-align: center;
font-size: calc(14 * var(--wheel-vw));
background: url('./assets/other/lucky_box_defalute.png') no-repeat center /
100% 100%;
}
.tab-item.luxury {
background-image: url('./assets/other/lucky_box_tow_default.png');
}
.tab-item.advanced {
background-image: url('./assets/other/lucky_box_three_default.png');
}
.tab-item.classic.active {
background-image: url('./assets/other/lucky_box_middle.png');
}
.tab-item.luxury.active {
background-image: url('./assets/other/lucky_box_tow_middle.png');
}
.tab-item.advanced.active {
background-image: url('./assets/other/lucky_box_three_gold.png');
color: #fdd656;
}
.marquee-content,
.marquee-box {
position: absolute;
left: 50%;
z-index: 2;
overflow: hidden;
transform: translateX(-50%);
}
.marquee-content {
top: calc(113 * var(--wheel-vw));
width: 68%;
}
.marquee-box {
top: calc(104 * var(--wheel-vw));
width: 75%;
height: calc(28 * var(--wheel-vw));
padding: calc(4 * var(--wheel-vw)) calc(25 * var(--wheel-vw));
background: url('./assets/other/lucky_box_tow_notice.png') no-repeat
center / 100% 100%;
}
.wheel-advanced .marquee-box {
top: calc(113 * var(--wheel-vw));
width: 85%;
height: calc(31 * var(--wheel-vw));
padding: calc(5 * var(--wheel-vw)) calc(30 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_three_notice.png');
}
.marquee-box .marquee-content {
position: static;
width: 100%;
transform: none;
}
.reward {
display: inline-flex;
white-space: nowrap;
animation: marquee-scroll linear infinite;
}
.reward.reward-active {
animation-name: marquee-scroll-ar;
}
.reward-list {
display: flex;
align-items: center;
gap: calc(2 * var(--wheel-vw));
margin-right: calc(20 * var(--wheel-vw));
color: #fff;
font-size: calc(12 * var(--wheel-vw));
}
.reward-list .img {
width: calc(20 * var(--wheel-vw));
height: calc(20 * var(--wheel-vw));
border-radius: 50%;
}
.lucky-content {
position: absolute;
top: calc(140 * var(--wheel-vw));
left: 50%;
width: 90%;
height: calc(320 * var(--wheel-vw));
transform: translateX(-50%);
}
.wheel-luxury .lucky-content {
top: calc(145 * var(--wheel-vw));
width: 91%;
height: calc(353 * var(--wheel-vw));
}
.wheel-advanced .lucky-content {
top: calc(155 * var(--wheel-vw));
width: 93%;
}
.content {
position: relative;
width: 100%;
height: 100%;
}
.wheel-classic .content {
padding: calc(16 * var(--wheel-vw)) calc(18 * var(--wheel-vw))
calc(18 * var(--wheel-vw));
}
.wheel-luxury .content {
padding: calc(34 * var(--wheel-vw)) calc(26 * var(--wheel-vw));
overflow: hidden;
}
.right {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.wheel-luxury .right {
top: calc(42 * var(--wheel-vw));
left: 50%;
width: calc(300 * var(--wheel-vw));
height: calc(302 * var(--wheel-vw));
transform: translateX(-50%);
}
.lottery-grid {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
}
.grid-classic {
display: grid;
grid-template-columns: repeat(3, calc(96 * var(--wheel-vw)));
grid-template-rows: repeat(3, calc(94 * var(--wheel-vw)));
gap: calc(3 * var(--wheel-vw));
}
.grid-advanced {
display: grid;
grid-template-columns: repeat(4, calc(84 * var(--wheel-vw)));
grid-template-rows: repeat(4, calc(84 * var(--wheel-vw)));
gap: calc(4 * var(--wheel-vw));
}
.turntable-content {
position: absolute;
inset: 0;
background: url('./assets/other/lucky_box_tow_turntable.png') no-repeat
center / 100% 100%;
}
.grid-item {
position: relative;
width: 100%;
height: 100%;
text-align: center;
font-weight: 700;
}
.grid-classic .grid-item {
padding: calc(10 * var(--wheel-vw));
color: #572403;
font-size: calc(12 * var(--wheel-vw));
background: url('./assets/other/lucky_box_unselect.png') no-repeat center /
100% 100%;
}
.grid-classic .grid-item.active {
background-image: url('./assets/other/lucky_box_select.png');
}
.grid-advanced .grid-item {
padding: calc(10 * var(--wheel-vw));
color: #fdd656;
font-size: calc(12 * var(--wheel-vw));
background: url('./assets/other/lucky_box_three_unselect.png') no-repeat
center / 100% 100%;
}
.grid-advanced .grid-item.active {
background-image: url('./assets/other/lucky_box_three_select.png');
}
.grid-luxury .grid-item {
position: absolute;
display: block;
width: calc(76 * var(--wheel-vw));
height: calc(76 * var(--wheel-vw));
color: #ed417f;
font-size: calc(12 * var(--wheel-vw));
}
.grid-luxury .grid-item:nth-child(2n) {
color: #fff;
}
.grid-item .img {
width: 80%;
height: 80%;
object-fit: contain;
}
.grid-item,
.previewable-box {
cursor: zoom-in;
}
.grid-luxury .grid-item .img {
width: calc(55 * var(--wheel-vw));
height: calc(55 * var(--wheel-vw));
}
.gift-webp {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.item-gold {
display: flex;
align-items: center;
justify-content: center;
gap: calc(4 * var(--wheel-vw));
}
.grid-classic .item-gold {
position: absolute;
bottom: calc(8 * var(--wheel-vw));
left: 50%;
transform: translateX(-50%);
}
.grid-luxury .item-gold {
position: absolute;
bottom: calc(-5 * var(--wheel-vw));
left: 50%;
transform: translateX(-50%);
}
.item-gold img {
width: calc(15 * var(--wheel-vw));
height: calc(15 * var(--wheel-vw));
}
.start-button {
cursor: pointer;
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
}
.start-button:disabled,
.btn:disabled {
cursor: not-allowed;
filter: grayscale(0.35);
opacity: 0.72;
}
.wheel-empty {
position: absolute;
left: 50%;
top: 50%;
z-index: 4;
width: calc(210 * var(--wheel-vw));
min-height: calc(52 * var(--wheel-vw));
display: grid;
place-items: center;
padding: calc(8 * var(--wheel-vw)) calc(12 * var(--wheel-vw));
color: #fff;
font-size: calc(13 * var(--wheel-vw));
font-weight: 700;
line-height: 1.25;
text-align: center;
border: calc(1 * var(--wheel-vw)) solid rgba(255, 255, 255, 0.65);
border-radius: calc(10 * var(--wheel-vw));
background: rgba(0, 0, 0, 0.55);
transform: translate(-50%, -50%);
pointer-events: none;
}
.grid-classic .start-button {
grid-column: 2;
grid-row: 2;
width: 100%;
height: 100%;
background-image: url('./assets/other/lucky_box_go.png');
}
.grid-luxury .start-button {
position: absolute;
top: 50%;
left: 50%;
width: calc(220 * var(--wheel-vw));
height: calc(220 * var(--wheel-vw));
transform: translate(-50%, -50%) rotate(var(--pointer-rotate, 0deg));
background-image: url('./assets/other/lucky_box_tow_pointer.png');
}
.grid-luxury .start-button:disabled {
filter: none;
opacity: 1;
}
.grid-advanced .start-button {
grid-column: 2 / 4;
grid-row: 2 / 4;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
gap: calc(8 * var(--wheel-vw));
width: 100%;
height: 100%;
padding-bottom: calc(38 * var(--wheel-vw));
color: #fff;
font-size: calc(14 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_three_go.png');
}
.grid-advanced .start-button strong {
display: flex;
align-items: center;
gap: calc(4 * var(--wheel-vw));
color: #fffe47;
}
.grid-advanced .start-button i {
display: inline-block;
width: calc(16 * var(--wheel-vw));
height: calc(16 * var(--wheel-vw));
background: url('./assets/other/gold_new.png') no-repeat center / 100% 100%;
}
.btn-start {
position: absolute;
left: 50%;
bottom: calc(78 * var(--wheel-vw));
z-index: 3;
display: flex;
gap: calc(10 * var(--wheel-vw));
width: 82%;
color: #fff;
transform: translateX(-50%);
}
.wheel-luxury .btn-start {
bottom: calc(10 * var(--wheel-vw));
width: 95%;
gap: calc(2 * var(--wheel-vw));
}
.wheel-advanced .btn-start {
bottom: calc(20 * var(--wheel-vw));
width: 100%;
gap: calc(2 * var(--wheel-vw));
padding: 0 calc(10 * var(--wheel-vw));
color: #fdd656;
}
.btn {
flex: 1;
height: calc(62 * var(--wheel-vw));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: calc(3 * var(--wheel-vw));
padding-bottom: calc(10 * var(--wheel-vw));
font-size: calc(14 * var(--wheel-vw));
font-weight: 700;
background: url('./assets/other/lucky_box_unbtn.png') no-repeat center /
100% 100%;
}
.btn.active {
background-image: url('./assets/other/lucky_box_btn.png');
}
.wheel-luxury .btn {
height: calc(70 * var(--wheel-vw));
padding-bottom: calc(25 * var(--wheel-vw));
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
}
.wheel-advanced .btn {
background-image: url('./assets/other/lucky_box_three_unbtn.png');
padding-bottom: 0;
}
.wheel-advanced .btn.active {
color: #920e00;
background-image: url('./assets/other/lucky_box_three_btn.png');
}
.desc-content {
position: absolute;
top: calc(160 * var(--wheel-vw));
right: 0;
z-index: 4;
display: flex;
flex-direction: column;
gap: calc(35 * var(--wheel-vw));
}
.wheel-advanced .desc-content {
top: calc(243 * var(--wheel-vw));
gap: calc(38 * var(--wheel-vw));
}
.desc-content button {
width: calc(40 * var(--wheel-vw));
height: calc(50 * var(--wheel-vw));
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
}
.desc-content .rule {
background-image: url('./assets/other/lucky_box_rule.png');
}
.wheel-luxury .desc-content .rule {
background-image: url('./assets/other/lucky_box_tow_rule.png');
}
.desc-content .record {
background-image: url('./assets/other/lucky_box_reward.png');
}
.wheel-luxury .desc-content .record {
background-image: url('./assets/other/lucky_box_tow_reward.png');
}
.user-gold {
position: absolute;
bottom: calc(22 * var(--wheel-vw));
left: 50%;
z-index: 3;
width: calc(150 * var(--wheel-vw));
height: calc(40 * var(--wheel-vw));
display: flex;
align-items: center;
justify-content: center;
gap: calc(6 * var(--wheel-vw));
color: #fef303;
font-size: calc(14 * var(--wheel-vw));
background: url('./assets/other/lucky_box_gold.png') no-repeat center / 100%
100%;
transform: translateX(-50%);
}
.wheel-luxury .user-gold {
bottom: calc(88 * var(--wheel-vw));
color: #fff;
background-image: url('./assets/other/lucky_box_tow_gold.png');
}
.user-gold img {
width: calc(22 * var(--wheel-vw));
height: calc(22 * var(--wheel-vw));
}
.wheel-popup {
position: fixed;
top: 0;
bottom: 0;
left: 50%;
z-index: 20;
width: min(100vw, 768px);
overflow: auto;
background: rgba(0, 0, 0, 0.58);
transform: translateX(-50%);
}
.rule-content,
.popup-content,
.reward-content {
position: relative;
color: #fff;
}
.popup-close {
position: absolute;
z-index: 10;
width: calc(35 * var(--wheel-vw));
height: calc(35 * var(--wheel-vw));
font-size: calc(28 * var(--wheel-vw));
line-height: 1;
}
.rule-content {
width: 100%;
padding: calc(40 * var(--wheel-vw)) calc(20 * var(--wheel-vw))
calc(20 * var(--wheel-vw));
}
.rule-close {
right: calc(30 * var(--wheel-vw));
top: calc(52 * var(--wheel-vw));
color: #fff;
}
.rule-title,
.bg-title {
position: absolute;
left: 50%;
z-index: 2;
color: #fff;
font-weight: 700;
text-align: center;
transform: translateX(-50%);
}
.rule-title {
top: calc(10 * var(--wheel-vw));
width: calc(250 * var(--wheel-vw));
height: calc(60 * var(--wheel-vw));
padding-top: calc(2 * var(--wheel-vw));
font-size: calc(16 * var(--wheel-vw));
line-height: calc(60 * var(--wheel-vw));
background: url('./assets/other/lucky_box_title_top.png') no-repeat center /
100% 100%;
}
.rule-top {
width: 100%;
height: calc(30 * var(--wheel-vw));
background: url('./assets/other/lucky_box_top.png') no-repeat center / 100%
100%;
}
.rule-center {
width: 100%;
height: calc(300 * var(--wheel-vw));
margin-top: calc(-2 * var(--wheel-vw));
overflow: auto;
padding: calc(20 * var(--wheel-vw)) calc(20 * var(--wheel-vw)) 0;
color: #fff;
font-size: calc(16 * var(--wheel-vw));
font-weight: 700;
background: url('./assets/other/lucky_box_center.png') no-repeat center /
100% 100%;
}
.rule-bottom {
width: 100%;
height: calc(30 * var(--wheel-vw));
margin-top: calc(-2 * var(--wheel-vw));
background: url('./assets/other/lucky_box_bottom.png') no-repeat center /
100% 100%;
}
.rule-desc {
margin: 0 0 calc(10 * var(--wheel-vw));
word-break: break-word;
}
.popup-content {
padding: calc(10 * var(--wheel-vw)) calc(15 * var(--wheel-vw));
background: linear-gradient(to bottom, #4244dd, #80d2ff);
}
.popup-content .bg-title {
top: calc(20 * var(--wheel-vw));
width: calc(250 * var(--wheel-vw));
height: calc(60 * var(--wheel-vw));
padding-top: calc(2 * var(--wheel-vw));
font-size: calc(14 * var(--wheel-vw));
line-height: calc(60 * var(--wheel-vw));
background: url('./assets/other/lucky_box_title_top.png') no-repeat center /
100% 100%;
}
.popup-content .rule-close {
top: calc(32 * var(--wheel-vw));
}
.popup-content .rule-center {
height: calc(450 * var(--wheel-vw));
padding: 0 calc(12 * var(--wheel-vw));
}
.record-list {
padding-top: calc(10 * var(--wheel-vw));
}
.record-item {
margin-bottom: calc(10 * var(--wheel-vw));
padding: calc(8 * var(--wheel-vw));
border: calc(1 * var(--wheel-vw)) solid #fff;
border-radius: calc(10 * var(--wheel-vw));
}
.item-title {
display: grid;
grid-template-columns: repeat(3, 1fr);
margin-bottom: calc(10 * var(--wheel-vw));
text-align: center;
}
.item-title .left {
text-align: left;
}
.item-title .right {
text-align: right;
}
.box-content {
display: grid;
grid-template-columns: repeat(4, 1fr);
color: #fff;
font-size: calc(14 * var(--wheel-vw));
}
.box-desc {
color: #fff;
text-align: center;
}
.box {
width: calc(70 * var(--wheel-vw));
height: calc(70 * var(--wheel-vw));
margin: 0 auto calc(10 * var(--wheel-vw));
padding: calc(5 * var(--wheel-vw));
border: calc(1 * var(--wheel-vw)) solid #fff;
border-radius: calc(8 * var(--wheel-vw));
background: linear-gradient(133deg, #2c3aa1 0%, #5881e9 100%);
}
.box .img {
width: 100%;
height: 100%;
object-fit: contain;
}
.finished-text {
text-align: center;
color: rgba(255, 255, 255, 0.65);
font-size: calc(13 * var(--wheel-vw));
}
.reward-content {
width: 100%;
height: calc(520 * var(--wheel-vw));
background: url('./assets/other/lucky_box_reward_bg.png') no-repeat center /
100% 100%;
}
.reward-content .bg {
position: absolute;
top: calc(120 * var(--wheel-vw));
left: 50%;
z-index: -1;
width: calc(320 * var(--wheel-vw));
height: calc(370 * var(--wheel-vw));
border-radius: calc(20 * var(--wheel-vw));
background: linear-gradient(133deg, #2c3aa1 0%, #5881e9 100%);
transform: translateX(-50%);
}
.reward-content .title {
position: absolute;
top: calc(105 * var(--wheel-vw));
left: 50%;
color: #fff;
font-size: calc(16 * var(--wheel-vw));
font-weight: 700;
text-align: center;
transform: translateX(-50%);
}
.reward-close {
top: calc(100 * var(--wheel-vw));
right: calc(25 * var(--wheel-vw));
color: transparent;
background: url('./assets/other/lucky_box_close.png') no-repeat center /
100% 100%;
}
.reward-content .content {
position: absolute;
top: calc(150 * var(--wheel-vw));
left: 50%;
width: calc(300 * var(--wheel-vw));
height: calc(330 * var(--wheel-vw));
display: flex;
flex-direction: column;
transform: translateX(-50%);
}
.reward-content .box-content {
display: flex;
flex: 1 1 auto;
flex-wrap: wrap;
align-items: center;
align-content: flex-start;
justify-content: space-around;
gap: calc(10 * var(--wheel-vw)) calc(2 * var(--wheel-vw));
min-height: 0;
margin-top: calc(10 * var(--wheel-vw));
overflow: auto;
font-size: calc(12 * var(--wheel-vw));
}
.reward-content .tips {
width: 85%;
margin: calc(5 * var(--wheel-vw)) auto calc(10 * var(--wheel-vw));
color: #fff;
font-size: calc(12 * var(--wheel-vw));
line-height: calc(15 * var(--wheel-vw));
text-align: center;
}
.again-btn {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 85%;
height: calc(56 * var(--wheel-vw));
margin: calc(8 * var(--wheel-vw)) auto 0;
color: #fff;
font-size: calc(16 * var(--wheel-vw));
font-weight: 700;
line-height: 1.05;
text-align: center;
border: calc(2 * var(--wheel-vw)) solid #fff;
border-radius: calc(10 * var(--wheel-vw));
background: linear-gradient(to right, #1897ff, #2472ff);
}
.reward-total {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 85%;
gap: calc(4 * var(--wheel-vw));
margin: calc(8 * var(--wheel-vw)) auto 0;
color: #fff35a;
font-size: calc(13 * var(--wheel-vw));
font-weight: 800;
line-height: 1;
text-shadow: 0 calc(1 * var(--wheel-vw)) calc(2 * var(--wheel-vw))
rgba(116, 38, 0, 0.7);
}
.reward-total-label,
.reward-total-value {
min-width: 0;
}
.reward-total-value {
display: flex;
align-items: center;
gap: calc(4 * var(--wheel-vw));
overflow: hidden;
}
.reward-total img {
width: calc(16 * var(--wheel-vw));
height: calc(16 * var(--wheel-vw));
flex: 0 0 auto;
}
.reward-total-value span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.again-label {
display: block;
max-width: 92%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wheel-luxury .rule-content {
padding: calc(40 * var(--wheel-vw)) calc(20 * var(--wheel-vw))
calc(20 * var(--wheel-vw));
}
.wheel-luxury .rule-content::after,
.wheel-luxury .rule-content::before,
.wheel-luxury .popup-content::after,
.wheel-luxury .popup-content::before {
content: '';
position: absolute;
left: 50%;
z-index: 1;
width: 88%;
height: calc(120 * var(--wheel-vw));
background: url('./assets/other/lucky_box_tow_reward_yuan.png') no-repeat
center / 100% 100%;
transform: translateX(-50%);
}
.wheel-luxury .rule-content::after {
top: calc(50 * var(--wheel-vw));
}
.wheel-luxury .rule-content::before {
bottom: calc(30 * var(--wheel-vw));
transform: translateX(-50%) rotate(180deg);
}
.wheel-luxury .rule-title,
.wheel-luxury .popup-content .bg-title {
width: calc(220 * var(--wheel-vw));
height: calc(40 * var(--wheel-vw));
font-size: calc(14 * var(--wheel-vw));
line-height: calc(35 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_tow_rule_top.png');
}
.wheel-luxury .rule-title {
top: calc(32 * var(--wheel-vw));
width: calc(180 * var(--wheel-vw));
height: calc(35 * var(--wheel-vw));
line-height: calc(30 * var(--wheel-vw));
}
.wheel-luxury .rule-top {
height: calc(50 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_tow_reward_top.png');
}
.wheel-luxury .rule-center {
position: relative;
z-index: 2;
height: calc(300 * var(--wheel-vw));
padding: 0 calc(20 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_tow_reward_center.png');
}
.wheel-luxury .rule-bottom {
height: calc(50 * var(--wheel-vw));
background-image: url('./assets/other/lucky_box_tow_reward_bottom.png');
}
.wheel-luxury .popup-content {
padding: calc(15 * var(--wheel-vw));
background: transparent;
}
.wheel-luxury .popup-content::after {
top: calc(25 * var(--wheel-vw));
}
.wheel-luxury .popup-content::before {
bottom: calc(25 * var(--wheel-vw));
transform: translateX(-50%) rotate(180deg);
}
.wheel-luxury .popup-content .bg-title {
top: calc(6 * var(--wheel-vw));
}
.wheel-luxury .popup-content .rule-center {
height: calc(430 * var(--wheel-vw));
padding: 0 calc(12 * var(--wheel-vw));
}
.wheel-luxury .record-item {
border: 0;
background: rgba(126, 26, 63, 0.2);
}
.wheel-luxury .box {
background: linear-gradient(133deg, #e93476 0%, #ff7ea6 100%);
}
.wheel-luxury .reward-content {
width: 90%;
height: calc(410 * var(--wheel-vw));
margin: calc(38 * var(--wheel-vw)) auto 0;
background-image: url('./assets/other/lucky_box_tow_reward_bg.png');
}
.wheel-luxury .reward-content .bg {
top: 0;
width: calc(330 * var(--wheel-vw));
height: calc(350 * var(--wheel-vw));
background: linear-gradient(133deg, #fd67b1 0%, #fe6cab 100%);
}
.wheel-luxury .reward-content .title {
top: calc(-35 * var(--wheel-vw));
width: calc(280 * var(--wheel-vw));
height: calc(70 * var(--wheel-vw));
line-height: calc(75 * var(--wheel-vw));
background: url('./assets/other/lucky_box_tow_reward_desc.png') no-repeat
center / 100% 100%;
}
.wheel-luxury .reward-close {
top: calc(15 * var(--wheel-vw));
right: calc(15 * var(--wheel-vw));
color: #fff;
background: transparent;
}
.wheel-luxury .reward-content .content {
top: calc(40 * var(--wheel-vw));
}
.wheel-luxury .reward-content .box-content {
margin-top: 0;
}
.wheel-luxury .reward-content .tips {
margin: calc(2 * var(--wheel-vw)) auto calc(6 * var(--wheel-vw));
}
.wheel-luxury .again-btn {
height: calc(50 * var(--wheel-vw));
background: linear-gradient(to bottom, #ff85b4, #db2e6c);
}
.wheel-luxury .reward-content .box {
width: calc(78 * var(--wheel-vw));
height: calc(78 * var(--wheel-vw));
}
.wheel-advanced .rule-content {
width: 90%;
margin: calc(20 * var(--wheel-vw)) auto 0;
padding: 0;
overflow: hidden;
background: url('./assets/other/lucky_box_three_rule.png') no-repeat
center / 100% 100%;
}
.wheel-advanced .rule-close,
.wheel-advanced .popup-content .rule-close,
.wheel-advanced .reward-close {
right: calc(10 * var(--wheel-vw));
color: #4e0301;
background: transparent;
}
.wheel-advanced .rule-title,
.wheel-advanced .popup-content .bg-title {
top: calc(40 * var(--wheel-vw));
color: #fff;
font-size: calc(16 * var(--wheel-vw));
line-height: normal;
background: transparent;
}
.wheel-advanced .rule-content .rule-center {
height: calc(300 * var(--wheel-vw));
margin-top: calc(60 * var(--wheel-vw));
background: transparent;
}
.wheel-advanced .popup-content {
width: 95%;
margin: 0 auto;
overflow: hidden;
padding: 0 0 calc(8 * var(--wheel-vw));
background: url('./assets/other/lucky_box_three_history.png') no-repeat
center / 100% 100%;
}
.wheel-advanced .popup-content .rule-close {
top: calc(50 * var(--wheel-vw));
}
.wheel-advanced .popup-content .rule-center {
height: calc(450 * var(--wheel-vw));
margin-top: calc(80 * var(--wheel-vw));
padding: 0 calc(12 * var(--wheel-vw));
background: transparent;
}
.wheel-advanced .record-item {
border: 0;
background: rgba(126, 26, 63, 0.2);
}
.wheel-advanced .box {
background: linear-gradient(133deg, #4d0201 0%, #be210f 100%);
}
.wheel-advanced .reward-content {
width: 90%;
height: calc(440 * var(--wheel-vw));
margin: calc(60 * var(--wheel-vw)) auto 0;
background-image: url('./assets/other/lucky_box_three_reward_bg.png');
}
.wheel-advanced .reward-content .bg {
top: calc(50 * var(--wheel-vw));
width: calc(330 * var(--wheel-vw));
height: calc(390 * var(--wheel-vw));
background: linear-gradient(133deg, #ffaf37 0%, #f27f13 100%);
}
.wheel-advanced .reward-content .title {
top: calc(46 * var(--wheel-vw));
}
.wheel-advanced .reward-close {
top: calc(55 * var(--wheel-vw));
}
.wheel-advanced .reward-content .content {
top: calc(90 * var(--wheel-vw));
}
.wheel-advanced .again-btn {
background: linear-gradient(to bottom, #be210f, #4d0201);
}
.material-preview-overlay {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: center;
justify-content: center;
padding: calc(env(safe-area-inset-top) + 28px) calc(24 * var(--wheel-vw))
calc(env(safe-area-inset-bottom) + 28px);
background: rgba(0, 0, 0, 0.88);
}
.material-preview-close {
position: absolute;
top: calc(env(safe-area-inset-top) + 12px);
right: calc(16 * var(--wheel-vw));
z-index: 2;
width: calc(42 * var(--wheel-vw));
height: calc(42 * var(--wheel-vw));
color: #fff;
font-size: calc(36 * var(--wheel-vw));
font-weight: 700;
line-height: 1;
}
.material-preview-stage {
position: relative;
width: min(calc(100vw - 48px), calc(640 * var(--wheel-vw)));
height: min(
calc(
100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) -
96px
),
calc(640 * var(--wheel-vw))
);
pointer-events: none;
}
.material-preview-image,
.material-preview-effect {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
}
.material-preview-image {
object-fit: contain;
object-position: center;
}
.material-preview-image.is-dynamic-hidden {
visibility: hidden;
}
.material-preview-effect {
display: none;
}
.material-preview-effect.is-active {
display: block;
}
.material-preview-effect video,
.material-preview-effect canvas {
width: 100%;
height: 100%;
object-fit: contain;
}
@keyframes marquee-scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@keyframes marquee-scroll-ar {
from {
transform: translateX(0);
}
to {
transform: translateX(50%);
}
}