1014 lines
23 KiB
CSS
1014 lines
23 KiB
CSS
:root {
|
|
--huwaa-page-width: min(100vw, 430px);
|
|
--huwaa-unit: calc(var(--huwaa-page-width) / 375);
|
|
--huwaa-bg: #07211f;
|
|
--huwaa-panel: #043c2b;
|
|
--huwaa-green: #259c72;
|
|
--huwaa-gold: #fbbf24;
|
|
--huwaa-gold-light: #ffce5c;
|
|
--huwaa-white: #fff;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100%;
|
|
margin: 0;
|
|
background: #020b0a;
|
|
color: var(--huwaa-white);
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
|
|
'Helvetica Neue', Arial, sans-serif;
|
|
}
|
|
|
|
button {
|
|
margin: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
color: inherit;
|
|
font: inherit;
|
|
background: transparent;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button:focus-visible {
|
|
outline: calc(2 * var(--huwaa-unit)) solid #fff;
|
|
outline-offset: calc(2 * var(--huwaa-unit));
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: none;
|
|
user-select: none;
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.huwaa-page {
|
|
position: relative;
|
|
width: var(--huwaa-page-width);
|
|
min-height: calc(1114 * var(--huwaa-unit));
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
background: var(--huwaa-bg);
|
|
}
|
|
|
|
.huwaa-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
height: calc(1114 * var(--huwaa-unit));
|
|
overflow: hidden;
|
|
background: var(--huwaa-bg);
|
|
isolation: isolate;
|
|
}
|
|
|
|
.huwaa-palace {
|
|
position: absolute;
|
|
z-index: 0;
|
|
top: calc(28 * var(--huwaa-unit));
|
|
left: calc(-83 * var(--huwaa-unit));
|
|
width: calc(541 * var(--huwaa-unit));
|
|
height: calc(812 * var(--huwaa-unit));
|
|
-webkit-mask: url('./assets/layers/bg-palace-mask.svg') center / 100% 100%
|
|
no-repeat;
|
|
mask: url('./assets/layers/bg-palace-mask.svg') center / 100% 100% no-repeat;
|
|
}
|
|
|
|
.huwaa-palace img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0.5;
|
|
object-fit: cover;
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
.huwaa-status-bar {
|
|
position: absolute;
|
|
z-index: 12;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: calc(44 * var(--huwaa-unit));
|
|
background: #000;
|
|
}
|
|
|
|
.huwaa-status-time {
|
|
position: absolute;
|
|
top: calc(13 * var(--huwaa-unit));
|
|
left: calc(33.87 * var(--huwaa-unit));
|
|
width: calc(54 * var(--huwaa-unit));
|
|
height: calc(15 * var(--huwaa-unit));
|
|
color: #fff;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-size: calc(15 * var(--huwaa-unit));
|
|
font-weight: 400;
|
|
line-height: calc(15 * var(--huwaa-unit));
|
|
text-align: center;
|
|
}
|
|
|
|
.huwaa-status-cellular {
|
|
position: absolute;
|
|
top: calc(15 * var(--huwaa-unit));
|
|
left: calc(294.34 * var(--huwaa-unit));
|
|
width: calc(17 * var(--huwaa-unit));
|
|
height: calc(11.333 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-status-wifi {
|
|
position: absolute;
|
|
top: calc(16.33 * var(--huwaa-unit));
|
|
left: calc(316.34 * var(--huwaa-unit));
|
|
width: calc(15.333 * var(--huwaa-unit));
|
|
height: calc(11.01 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-status-battery {
|
|
position: absolute;
|
|
top: calc(16.34 * var(--huwaa-unit));
|
|
left: calc(336.67 * var(--huwaa-unit));
|
|
width: calc(24.33 * var(--huwaa-unit));
|
|
height: calc(11.333 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-nav {
|
|
position: absolute;
|
|
z-index: 11;
|
|
top: calc(44 * var(--huwaa-unit));
|
|
left: 0;
|
|
width: 100%;
|
|
height: calc(44 * var(--huwaa-unit));
|
|
background: #000;
|
|
}
|
|
|
|
.huwaa-nav h1 {
|
|
position: absolute;
|
|
top: calc(10 * var(--huwaa-unit));
|
|
left: 50%;
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
color: #fff;
|
|
font-size: calc(18 * var(--huwaa-unit));
|
|
font-weight: 500;
|
|
line-height: calc(18 * var(--huwaa-unit));
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-nav-back {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: calc(6 * var(--huwaa-unit));
|
|
width: calc(44 * var(--huwaa-unit));
|
|
height: calc(44 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.huwaa-nav-back img {
|
|
position: absolute;
|
|
top: calc(10 * var(--huwaa-unit));
|
|
left: calc(10 * var(--huwaa-unit));
|
|
width: calc(24 * var(--huwaa-unit));
|
|
height: calc(24 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-wallet-card {
|
|
position: absolute;
|
|
z-index: 4;
|
|
top: calc(111 * var(--huwaa-unit));
|
|
left: calc(12 * var(--huwaa-unit));
|
|
width: calc(351 * var(--huwaa-unit));
|
|
height: calc(205 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-wallet-skin {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.huwaa-wallet-texture {
|
|
position: absolute;
|
|
top: calc(32 * var(--huwaa-unit));
|
|
left: calc(12 * var(--huwaa-unit));
|
|
width: calc(327 * var(--huwaa-unit));
|
|
height: calc(120 * var(--huwaa-unit));
|
|
overflow: hidden;
|
|
border: calc(1 * var(--huwaa-unit)) solid #facd61;
|
|
border-radius: calc(8 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-wallet-texture img {
|
|
position: absolute;
|
|
top: -8.5%;
|
|
left: -0.29%;
|
|
width: 100.58%;
|
|
height: 117%;
|
|
}
|
|
|
|
.huwaa-wallet-rate {
|
|
position: absolute;
|
|
top: calc(45 * var(--huwaa-unit));
|
|
left: calc(120 * var(--huwaa-unit));
|
|
display: flex;
|
|
height: calc(16 * var(--huwaa-unit));
|
|
align-items: center;
|
|
gap: calc(4 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-wallet-rate > img:first-child {
|
|
width: calc(14 * var(--huwaa-unit));
|
|
height: calc(15 * var(--huwaa-unit));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.huwaa-wallet-rate strong {
|
|
color: #fff;
|
|
font-size: calc(14 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.huwaa-wallet-rate .huwaa-rate-exchange {
|
|
width: calc(14 * var(--huwaa-unit));
|
|
height: calc(12.521 * var(--huwaa-unit));
|
|
margin-left: calc(20 * var(--huwaa-unit));
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.huwaa-wallet-rate .huwaa-rate-finance,
|
|
.huwaa-wallet-rate .huwaa-rate-infinity {
|
|
width: calc(14 * var(--huwaa-unit));
|
|
height: calc(14 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-wallet-balance {
|
|
position: absolute;
|
|
top: calc(67 * var(--huwaa-unit));
|
|
left: calc(80 * var(--huwaa-unit));
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.huwaa-wallet-balance img {
|
|
width: calc(23 * var(--huwaa-unit));
|
|
height: calc(24 * var(--huwaa-unit));
|
|
margin-right: calc(5 * var(--huwaa-unit));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.huwaa-wallet-balance strong {
|
|
color: #fff;
|
|
font-size: calc(32 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-wallet-cash {
|
|
position: absolute;
|
|
top: calc(87 * var(--huwaa-unit));
|
|
left: calc(230 * var(--huwaa-unit));
|
|
color: var(--huwaa-gold);
|
|
font-size: calc(14 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-wallet-remaining {
|
|
position: absolute;
|
|
top: calc(112 * var(--huwaa-unit));
|
|
left: 50%;
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
font-size: calc(10 * var(--huwaa-unit));
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-wallet-remaining span {
|
|
color: #8cdfab;
|
|
}
|
|
|
|
.huwaa-wallet-remaining strong {
|
|
color: var(--huwaa-gold);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.huwaa-withdraw-button {
|
|
position: absolute;
|
|
top: calc(161 * var(--huwaa-unit));
|
|
left: calc(69 * var(--huwaa-unit));
|
|
width: calc(214 * var(--huwaa-unit));
|
|
height: calc(34 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.huwaa-withdraw-button::before {
|
|
position: absolute;
|
|
inset: calc(-5 * var(--huwaa-unit)) 0;
|
|
content: '';
|
|
}
|
|
|
|
.huwaa-withdraw-button img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.huwaa-withdraw-button span {
|
|
position: absolute;
|
|
inset: calc(7 * var(--huwaa-unit)) 0 auto;
|
|
color: var(--huwaa-gold-light);
|
|
font-size: calc(14 * var(--huwaa-unit));
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-wheel-region {
|
|
position: absolute;
|
|
z-index: 3;
|
|
top: calc(331 * var(--huwaa-unit));
|
|
left: 0;
|
|
width: calc(375 * var(--huwaa-unit));
|
|
height: calc(468 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-wheel-base {
|
|
position: absolute;
|
|
top: calc(18.768 * var(--huwaa-unit));
|
|
left: calc(2.5 * var(--huwaa-unit));
|
|
width: calc(370 * var(--huwaa-unit));
|
|
height: calc(437.464 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-reward-entry {
|
|
position: absolute;
|
|
z-index: 6;
|
|
top: calc(-3 * var(--huwaa-unit));
|
|
left: calc(308 * var(--huwaa-unit));
|
|
width: calc(44 * var(--huwaa-unit));
|
|
height: calc(44 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.huwaa-reward-entry img {
|
|
position: absolute;
|
|
top: calc(3 * var(--huwaa-unit));
|
|
left: calc(1 * var(--huwaa-unit));
|
|
width: calc(42 * var(--huwaa-unit));
|
|
height: calc(38 * var(--huwaa-unit));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.huwaa-reward-entry img:last-child {
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
.huwaa-wheel-prizes {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.huwaa-prize {
|
|
position: absolute;
|
|
z-index: 4;
|
|
width: calc(57 * var(--huwaa-unit));
|
|
height: calc(79 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
transition:
|
|
filter 120ms ease,
|
|
transform 120ms ease;
|
|
}
|
|
|
|
.huwaa-prize img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: calc(57 * var(--huwaa-unit));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.huwaa-prize span {
|
|
position: absolute;
|
|
top: calc(49 * var(--huwaa-unit));
|
|
left: calc(4 * var(--huwaa-unit));
|
|
width: calc(44 * var(--huwaa-unit));
|
|
height: calc(26 * var(--huwaa-unit));
|
|
overflow: visible;
|
|
color: #ba3320;
|
|
font-size: calc(11.187 * var(--huwaa-unit));
|
|
font-weight: 600;
|
|
line-height: calc(25.171 * var(--huwaa-unit));
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-prize.is-active {
|
|
z-index: 5;
|
|
filter: brightness(1.45)
|
|
drop-shadow(0 0 calc(7 * var(--huwaa-unit)) #fff09a);
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.huwaa-prize[data-index='0'] {
|
|
top: calc(68 * var(--huwaa-unit));
|
|
left: calc(159 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='0'] img,
|
|
.huwaa-prize[data-index='1'] img {
|
|
height: calc(53 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='1'] {
|
|
top: calc(103 * var(--huwaa-unit));
|
|
left: calc(74 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='2'] {
|
|
top: calc(108 * var(--huwaa-unit));
|
|
left: calc(241 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='2'] img,
|
|
.huwaa-prize[data-index='3'] img,
|
|
.huwaa-prize[data-index='4'] img {
|
|
height: calc(55 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='3'] {
|
|
top: calc(196 * var(--huwaa-unit));
|
|
left: calc(55 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='4'] {
|
|
top: calc(196 * var(--huwaa-unit));
|
|
left: calc(265 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='5'] {
|
|
top: calc(268 * var(--huwaa-unit));
|
|
left: calc(119 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='5'] img {
|
|
height: calc(52 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='6'] {
|
|
top: calc(267 * var(--huwaa-unit));
|
|
left: calc(201 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-prize[data-index='6'] img {
|
|
height: calc(51 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-spin-button {
|
|
position: absolute;
|
|
z-index: 7;
|
|
top: calc(146 * var(--huwaa-unit));
|
|
left: calc(135 * var(--huwaa-unit));
|
|
width: calc(106 * var(--huwaa-unit));
|
|
height: calc(117 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.huwaa-spin-button > img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.huwaa-spin-label {
|
|
position: absolute;
|
|
top: calc(40 * var(--huwaa-unit));
|
|
left: 50%;
|
|
width: calc(74 * var(--huwaa-unit));
|
|
transform: translateX(-50%);
|
|
color: #ba3320;
|
|
font-size: calc(22.375 * var(--huwaa-unit));
|
|
font-weight: 600;
|
|
line-height: calc(26 * var(--huwaa-unit));
|
|
text-align: center;
|
|
}
|
|
|
|
.huwaa-spin-cost {
|
|
position: absolute;
|
|
top: calc(76 * var(--huwaa-unit));
|
|
left: 50%;
|
|
display: flex;
|
|
width: calc(38 * var(--huwaa-unit));
|
|
height: calc(24 * var(--huwaa-unit));
|
|
align-items: center;
|
|
justify-content: center;
|
|
transform: translateX(-50%);
|
|
border: calc(1.02 * var(--huwaa-unit)) solid #fb7185;
|
|
border-radius: calc(11.735 * var(--huwaa-unit));
|
|
color: #fff;
|
|
font-size: calc(12.246 * var(--huwaa-unit));
|
|
font-weight: 600;
|
|
line-height: calc(14.286 * var(--huwaa-unit));
|
|
background: #e11d48;
|
|
}
|
|
|
|
.huwaa-spin-button[disabled] {
|
|
cursor: wait;
|
|
}
|
|
|
|
.huwaa-invite-button {
|
|
position: absolute;
|
|
z-index: 8;
|
|
top: calc(749 * var(--huwaa-unit));
|
|
left: calc(48 * var(--huwaa-unit));
|
|
width: calc(280 * var(--huwaa-unit));
|
|
height: calc(50 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.huwaa-invite-button img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.huwaa-invite-button span {
|
|
position: absolute;
|
|
top: calc(14 * var(--huwaa-unit));
|
|
left: 0;
|
|
width: 100%;
|
|
color: #501b00;
|
|
font-size: calc(16 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-extendable-panel {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.huwaa-extendable-skin {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.huwaa-skin-top,
|
|
.huwaa-skin-middle,
|
|
.huwaa-skin-bottom {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.huwaa-skin-top {
|
|
top: 0;
|
|
height: calc(117 * var(--huwaa-unit));
|
|
background: url('./assets/layers/panel-gold-emerald.webp') top center / 100%
|
|
auto no-repeat;
|
|
}
|
|
|
|
.huwaa-skin-middle {
|
|
top: calc(117 * var(--huwaa-unit));
|
|
bottom: calc(91.538 * var(--huwaa-unit));
|
|
background: linear-gradient(
|
|
90deg,
|
|
#011f14 0%,
|
|
#02261b 6%,
|
|
#033a26 27%,
|
|
#064a2f 50%,
|
|
#043724 74%,
|
|
#02261a 94%,
|
|
#011f14 100%
|
|
);
|
|
box-shadow:
|
|
inset calc(3 * var(--huwaa-unit)) 0 #e5a938,
|
|
inset calc(-3 * var(--huwaa-unit)) 0 #e5a938;
|
|
}
|
|
|
|
.huwaa-skin-bottom {
|
|
bottom: 0;
|
|
height: calc(91.538 * var(--huwaa-unit));
|
|
background: url('./assets/layers/panel-gold-emerald.webp') bottom center /
|
|
100% auto no-repeat;
|
|
}
|
|
|
|
.huwaa-task-panel {
|
|
z-index: 5;
|
|
top: calc(810 * var(--huwaa-unit));
|
|
left: calc(9 * var(--huwaa-unit));
|
|
width: calc(357 * var(--huwaa-unit));
|
|
height: calc(282.504 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-task-list {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: calc(31 * var(--huwaa-unit));
|
|
left: calc(15 * var(--huwaa-unit));
|
|
display: grid;
|
|
width: calc(327 * var(--huwaa-unit));
|
|
gap: calc(12 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-task-card {
|
|
position: relative;
|
|
display: flex;
|
|
width: 100%;
|
|
height: calc(69 * var(--huwaa-unit));
|
|
align-items: center;
|
|
border: calc(1 * var(--huwaa-unit)) solid var(--huwaa-green);
|
|
border-radius: calc(7 * var(--huwaa-unit));
|
|
background: rgba(8, 43, 50, 0.2);
|
|
}
|
|
|
|
.huwaa-task-icon {
|
|
position: absolute;
|
|
top: calc(12 * var(--huwaa-unit));
|
|
left: calc(12 * var(--huwaa-unit));
|
|
width: calc(42 * var(--huwaa-unit));
|
|
height: calc(45 * var(--huwaa-unit));
|
|
object-fit: cover;
|
|
}
|
|
|
|
.huwaa-task-copy {
|
|
position: absolute;
|
|
top: calc(12 * var(--huwaa-unit));
|
|
left: calc(62 * var(--huwaa-unit));
|
|
display: flex;
|
|
width: calc(167 * var(--huwaa-unit));
|
|
flex-direction: column;
|
|
gap: calc(4 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-task-copy strong {
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-size: calc(12 * var(--huwaa-unit));
|
|
font-weight: 400;
|
|
line-height: calc(12 * var(--huwaa-unit));
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-task-copy span {
|
|
display: -webkit-box;
|
|
width: calc(151 * var(--huwaa-unit));
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: calc(10 * var(--huwaa-unit));
|
|
font-weight: 400;
|
|
line-height: calc(10 * var(--huwaa-unit));
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.huwaa-task-reward {
|
|
position: absolute;
|
|
top: calc(10 * var(--huwaa-unit));
|
|
right: calc(12 * var(--huwaa-unit));
|
|
color: var(--huwaa-gold);
|
|
font-size: calc(14 * var(--huwaa-unit));
|
|
font-weight: 500;
|
|
line-height: calc(12 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-task-status {
|
|
position: absolute;
|
|
right: calc(12 * var(--huwaa-unit));
|
|
bottom: calc(10 * var(--huwaa-unit));
|
|
display: flex;
|
|
min-width: calc(82 * var(--huwaa-unit));
|
|
height: calc(22 * var(--huwaa-unit));
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: calc(1 * var(--huwaa-unit)) solid #3ce89b;
|
|
border-radius: calc(34 * var(--huwaa-unit));
|
|
padding: 0 calc(10 * var(--huwaa-unit));
|
|
color: #fff;
|
|
font-size: calc(10 * var(--huwaa-unit));
|
|
font-weight: 400;
|
|
line-height: calc(12 * var(--huwaa-unit));
|
|
background: #143322;
|
|
box-shadow:
|
|
inset calc(-1.867 * var(--huwaa-unit)) calc(-1.867 * var(--huwaa-unit))
|
|
calc(1.867 * var(--huwaa-unit)) rgba(0, 0, 0, 0.2),
|
|
inset calc(1.867 * var(--huwaa-unit)) calc(1.867 * var(--huwaa-unit))
|
|
calc(1.867 * var(--huwaa-unit)) rgba(0, 0, 0, 0.2),
|
|
inset 0 0 calc(9.333 * var(--huwaa-unit)) rgba(47, 182, 122, 0.2),
|
|
inset 0 0 calc(28 * var(--huwaa-unit)) rgba(96, 219, 164, 0.75),
|
|
0 0 calc(4.667 * var(--huwaa-unit)) rgba(47, 182, 122, 0.25);
|
|
}
|
|
|
|
.huwaa-task-card.is-pending .huwaa-task-status {
|
|
color: #501b00;
|
|
border-color: #f6c34e;
|
|
cursor: pointer;
|
|
background: #fbbf24;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.huwaa-modal-scrim {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.huwaa-win-modal,
|
|
.huwaa-reward-drawer {
|
|
position: fixed;
|
|
z-index: 30;
|
|
top: 0;
|
|
left: 50%;
|
|
width: var(--huwaa-page-width);
|
|
height: min(100dvh, calc(1114 * var(--huwaa-unit)));
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.huwaa-win-dialog {
|
|
position: absolute;
|
|
top: calc(350 * var(--huwaa-unit));
|
|
left: calc(24 * var(--huwaa-unit));
|
|
width: calc(327 * var(--huwaa-unit));
|
|
height: calc(415 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-win-skin {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.huwaa-win-media {
|
|
position: absolute;
|
|
top: calc(37.5 * var(--huwaa-unit));
|
|
left: calc(102.03 * var(--huwaa-unit));
|
|
display: flex;
|
|
width: calc(132 * var(--huwaa-unit));
|
|
height: calc(128 * var(--huwaa-unit));
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.huwaa-win-media img {
|
|
width: calc(112 * var(--huwaa-unit));
|
|
height: calc(102 * var(--huwaa-unit));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.huwaa-win-dialog h2 {
|
|
position: absolute;
|
|
top: calc(179 * var(--huwaa-unit));
|
|
left: 50%;
|
|
width: calc(312 * var(--huwaa-unit));
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
color: #fcf488;
|
|
font-size: calc(28 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
background: linear-gradient(
|
|
180deg,
|
|
#fcf488 0%,
|
|
#fce295 49.519%,
|
|
#ffbe1b 100%
|
|
);
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
-webkit-text-stroke: calc(1.25 * var(--huwaa-unit)) #351700;
|
|
paint-order: stroke fill;
|
|
text-shadow: 0 calc(1 * var(--huwaa-unit)) 0 #fff3a1;
|
|
}
|
|
|
|
.huwaa-win-kicker {
|
|
position: absolute;
|
|
top: calc(233 * var(--huwaa-unit));
|
|
left: 50%;
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
color: #fce295;
|
|
font-size: calc(16 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
background: linear-gradient(
|
|
180deg,
|
|
#fcf488 0%,
|
|
#fce295 49.519%,
|
|
#ffbe1b 100%
|
|
);
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
-webkit-text-stroke: calc(0.5 * var(--huwaa-unit)) #6f4700;
|
|
}
|
|
|
|
.huwaa-win-reward {
|
|
position: absolute;
|
|
top: calc(260 * var(--huwaa-unit));
|
|
left: 50%;
|
|
display: flex;
|
|
width: calc(253 * var(--huwaa-unit));
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
flex-direction: column;
|
|
color: #025333;
|
|
font-size: calc(20 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
.huwaa-win-reward strong,
|
|
.huwaa-win-reward span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-awesome-button {
|
|
position: absolute;
|
|
top: calc(331 * var(--huwaa-unit));
|
|
left: calc(37 * var(--huwaa-unit));
|
|
width: calc(250 * var(--huwaa-unit));
|
|
height: calc(53 * var(--huwaa-unit));
|
|
cursor: pointer;
|
|
}
|
|
|
|
.huwaa-awesome-button img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.huwaa-awesome-button span {
|
|
position: absolute;
|
|
top: calc(16 * var(--huwaa-unit));
|
|
left: 0;
|
|
width: 100%;
|
|
color: var(--huwaa-gold-light);
|
|
font-size: calc(16 * var(--huwaa-unit));
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
.huwaa-reward-drawer .huwaa-modal-scrim {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.huwaa-reward-sheet {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: calc(375 * var(--huwaa-unit));
|
|
height: calc(367 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-reward-sheet .huwaa-skin-top {
|
|
height: calc(123 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-reward-sheet .huwaa-skin-middle {
|
|
top: calc(123 * var(--huwaa-unit));
|
|
bottom: 0;
|
|
}
|
|
|
|
.huwaa-reward-sheet h2 {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: calc(34 * var(--huwaa-unit));
|
|
left: 50%;
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
color: var(--huwaa-gold);
|
|
font-size: calc(20 * var(--huwaa-unit));
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-win-dialog h2:focus,
|
|
.huwaa-reward-sheet h2:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.huwaa-estimated-grid {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: calc(77 * var(--huwaa-unit));
|
|
left: calc(12 * var(--huwaa-unit));
|
|
display: grid;
|
|
width: calc(351 * var(--huwaa-unit));
|
|
grid-template-columns: repeat(4, calc(71 * var(--huwaa-unit)));
|
|
column-gap: calc(22.333 * var(--huwaa-unit));
|
|
row-gap: calc(24 * var(--huwaa-unit));
|
|
max-height: calc(290 * var(--huwaa-unit));
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
padding-bottom: calc(12 * var(--huwaa-unit));
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.huwaa-estimated-grid::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.huwaa-estimated-item {
|
|
position: relative;
|
|
width: calc(71 * var(--huwaa-unit));
|
|
height: calc(95 * var(--huwaa-unit));
|
|
}
|
|
|
|
.huwaa-estimated-icon {
|
|
display: flex;
|
|
width: calc(71 * var(--huwaa-unit));
|
|
height: calc(71 * var(--huwaa-unit));
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: calc(1 * var(--huwaa-unit)) solid var(--huwaa-green);
|
|
border-radius: 50%;
|
|
background: rgba(8, 43, 50, 0.2);
|
|
}
|
|
|
|
.huwaa-estimated-icon img {
|
|
width: calc(44 * var(--huwaa-unit));
|
|
height: calc(47 * var(--huwaa-unit));
|
|
object-fit: cover;
|
|
}
|
|
|
|
.huwaa-estimated-item strong {
|
|
position: absolute;
|
|
top: calc(83 * var(--huwaa-unit));
|
|
left: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-size: calc(12 * var(--huwaa-unit));
|
|
font-weight: 400;
|
|
line-height: calc(12 * var(--huwaa-unit));
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.huwaa-stage.is-busy .huwaa-spin-button {
|
|
pointer-events: none;
|
|
}
|
|
|
|
html.huwaa-modal-open,
|
|
html.huwaa-modal-open body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.huwaa-prize {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
[dir='rtl'] .huwaa-nav-back img {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
@media (min-width: 431px) {
|
|
body {
|
|
padding-bottom: 24px;
|
|
}
|
|
|
|
.huwaa-page {
|
|
box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
|
|
}
|
|
}
|