:root {
  color-scheme: dark;
  --font-sans: "Gilroy", "Myriad Pro", "Montserrat", sans-serif;
  font-family: var(--font-sans);
  background: #160c31;
  --panel: rgba(10, 21, 60, 0.68);
  --panel-strong: rgba(15, 31, 84, 0.86);
  --line: rgba(168, 215, 255, 0.2);
  --text-soft: rgba(236, 245, 255, 0.72);
  --cyan: #45dcff;
  --pink: #ff55bd;
  --gold: #ffd257;
  --green: #77f27c;
  --nav-space: clamp(78px, 12dvh, 96px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  font-family: var(--font-sans);
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 103, 207, 0.34), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(62, 236, 255, 0.34), transparent 24%),
    linear-gradient(180deg, #101550 0%, #172b72 46%, #681a8d 100%);
}

button {
  border: 0;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 110ms ease,
    filter 110ms ease,
    box-shadow 110ms ease;
}

button:not(:disabled) {
  cursor: pointer;
}

button:not(:disabled):not(.tap-target):active {
  transform: translateY(1px) scale(0.965);
  filter: brightness(0.94);
}

button iconify-icon {
  flex: 0 0 auto;
  order: -1;
  font-size: 1.35em;
}

button:disabled {
  cursor: default;
  opacity: 0.76;
}

iconify-icon {
  display: block;
  line-height: 1;
}

.ux-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tap-phone,
.tap-phone * {
  font-weight: 700;
}

.tap-phone {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100vw, 430px);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(149, 221, 255, 0.48);
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(180deg, rgba(14, 36, 92, 0.08), rgba(8, 20, 58, 0.5)),
    url("./images/bakground.jpg") center / cover no-repeat;
  box-shadow:
    0 0 0 1px rgba(255, 92, 213, 0.32),
    0 24px 55px rgba(13, 7, 54, 0.48);
}

@supports (height: min(100dvh, 100svh)) {
  body {
    min-height: min(100dvh, 100svh);
  }

  .tap-phone {
    height: min(100dvh, 100svh);
    min-height: min(100dvh, 100svh);
  }
}

.tap-phone.is-leaderboard {
  grid-template-rows: minmax(0, 1fr);
}

.tap-phone.is-free-pack {
  background:
    linear-gradient(180deg, rgba(22, 48, 104, 0.04), rgba(8, 22, 58, 0.38)),
    url("./images/background-free.jpg") center / cover no-repeat;
}

.pull-refresh-indicator {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  z-index: 18;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(137, 224, 255, 0.46);
  border-radius: 999px;
  color: #eaf9ff;
  background:
    radial-gradient(circle at 28% 15%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(24, 76, 168, 0.96), rgba(8, 23, 82, 0.96));
  box-shadow: 0 12px 28px rgba(0, 13, 66, 0.36), 0 0 18px rgba(69, 220, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -54px, 0) scale(0.88);
  transition: opacity 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.pull-refresh-indicator.is-visible {
  opacity: 1;
}

.pull-refresh-indicator.is-ready {
  border-color: rgba(119, 242, 124, 0.72);
  box-shadow: 0 12px 28px rgba(0, 13, 66, 0.36), 0 0 20px rgba(119, 242, 124, 0.26);
}

.pull-refresh-indicator span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #071a53;
  background: linear-gradient(180deg, #9cf6ff, #28c5ff);
  font-size: 15px;
}

.pull-refresh-indicator.is-refreshing span {
  animation: pull-refresh-spin 760ms linear infinite;
}

.pull-refresh-indicator small {
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.tap-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 28, 78, 0.16), rgba(5, 22, 56, 0.58) 68%, rgba(42, 18, 66, 0.68)),
    radial-gradient(circle at 50% 36%, rgba(91, 232, 255, 0.26), transparent 38%);
}

.tap-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 24%, rgba(255, 255, 255, 0.92) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 19%, rgba(255, 255, 255, 0.84) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0.78;
}

.ambient {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 210px;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.24;
  animation: drift 9s ease-in-out infinite alternate;
}

.ambient-a {
  left: -88px;
  top: 18%;
  background: var(--pink);
}

.ambient-b {
  right: -92px;
  bottom: 16%;
  background: var(--cyan);
  animation-delay: -3s;
}

.game-head {
  position: relative;
  z-index: 4;
  padding: max(10px, env(safe-area-inset-top)) clamp(10px, 3.6vw, 16px) 0;
}

.profile-row,
.balance-chip,
.bottom-nav,
.energy-panel,
.status-strip,
.pack-card,
.task-card,
.withdraw-card,
.insight-card,
.referral-hero,
.withdraw-balance,
.metric-grid > div,
.leader-row,
.history-row {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.profile-row {
  display: grid;
  grid-template-columns: 44px minmax(74px, 1fr) minmax(108px, 1.12fr) 32px;
  gap: 7px;
  align-items: center;
  min-height: 62px;
  padding: 8px 8px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(3, 25, 84, 0.96), rgba(4, 23, 78, 0.9)),
    rgba(5, 24, 80, 0.92);
  box-shadow: 0 8px 24px rgba(0, 11, 58, 0.28), inset 0 -1px 0 rgba(105, 184, 255, 0.1);
}

.avatar-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 3px solid rgba(126, 232, 255, 0.95);
  border-radius: 13px;
  background:
    radial-gradient(circle at 48% 22%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, #27d6ff, #494bff 52%, #ff55bd);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 0 2px rgba(170, 62, 255, 0.8),
    0 0 24px rgba(82, 213, 255, 0.42);
}

button.avatar-box {
  padding: 0;
}

.avatar-box img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  object-position: center;
}

.profile-copy {
  min-width: 0;
}

.profile-copy strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-line {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 4px;
  color: rgba(221, 229, 255, 0.78);
  font-size: 10px;
  text-transform: uppercase;
}

.rank-line b {
  padding: 1px 6px;
  border-radius: 6px;
  color: #173311;
  background: linear-gradient(180deg, #c8ff8a, #99ea5c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 10px rgba(118, 236, 75, 0.22);
  font-size: 11px;
}

.profile-rank-line {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, auto);
  gap: 5px;
  align-items: center;
  max-width: 100%;
  margin-top: 5px;
  padding: 0;
  border: 0;
  color: rgba(221, 229, 255, 0.84);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-rank-line:active {
  transform: translateY(1px);
}

.profile-rank-line img,
.profile-rank-line iconify-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(80, 218, 255, 0.35));
}

.profile-rank-line b {
  overflow: hidden;
  min-width: 0;
  color: #51e4ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(61, 143, 242, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 8%, rgba(82, 176, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(14, 39, 101, 0.96), rgba(5, 22, 75, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -5px 12px rgba(2, 11, 52, 0.22),
    0 10px 24px rgba(0, 15, 70, 0.28);
}

.balance-chip > span {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.balance-chip small {
  overflow: hidden;
  color: rgba(222, 237, 255, 0.76);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.balance-chip strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 18px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-chip--sm strong {
  font-size: 15px;
}

.balance-chip--xs strong {
  font-size: 12px;
}

.balance-chip--xs small {
  font-size: 8px;
}

.plus-button,
.menu-button {
  display: grid;
  place-items: center;
  color: #092759;
  border-radius: 11px;
}

.plus-button {
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #9cf6ff, #28c5ff 52%, #1577e0);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.68),
    inset 0 -4px 0 rgba(0, 81, 160, 0.32),
    0 0 18px rgba(56, 217, 255, 0.55),
    0 8px 16px rgba(0, 69, 150, 0.28);
  font-size: 23px;
}

.plus-button iconify-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  font-size: 24px;
  line-height: 1;
  transform: none;
}

.menu-button {
  width: 32px;
  height: 40px;
  padding: 0;
  color: rgba(205, 232, 255, 0.82);
  background: rgba(10, 41, 100, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 18px;
}

.menu-button iconify-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin: 0;
  font-size: 22px;
  line-height: 1;
  order: initial;
  transform: none;
}

.install-banner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  margin: 7px 14px 0 6px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(110, 224, 255, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(61, 218, 255, 0.9), rgba(54, 105, 255, 0.68) 48%, rgba(126, 69, 255, 0.62)),
    rgba(6, 24, 76, 0.86);
  box-shadow:
    0 10px 22px rgba(0, 14, 62, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -10px 18px rgba(2, 18, 75, 0.24);
}

.install-banner::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(6, 29, 91, 0.78), rgba(5, 17, 62, 0.7));
}

.install-banner-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #0b2463;
  background: linear-gradient(180deg, #9cf6ff, #28c5ff 52%, #1577e0);
  box-shadow: 0 0 16px rgba(69, 225, 255, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.54);
  font-size: 20px;
}

.install-banner strong,
.install-banner small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-banner strong {
  font-size: 12px;
  line-height: 1;
}

.install-banner small {
  margin-top: 2px;
  color: rgba(213, 236, 255, 0.82);
  font-size: 9px;
  line-height: 1;
}

.install-banner-action,
.install-banner-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.install-banner-action {
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  color: #0b2463;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 11px;
  box-shadow: 0 6px 12px rgba(255, 194, 49, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.install-banner-close {
  position: absolute;
  top: -9px;
  right: -9px;
  z-index: 5;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(153, 228, 255, 0.42);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(20, 69, 159, 0.96), rgba(8, 22, 76, 0.96));
  box-shadow: 0 8px 16px rgba(0, 14, 62, 0.32), 0 0 12px rgba(69, 225, 255, 0.26);
  font-size: 12px;
}

.install-banner-close iconify-icon {
  font-size: 12px;
}

.app-update-prompt {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: calc(var(--nav-space) + 8px);
  z-index: 36;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(126, 232, 255, 0.36);
  border-radius: 18px;
  background: rgba(6, 20, 68, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.app-update-prompt > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 14px;
  color: #0b2463;
  background: linear-gradient(180deg, #9cf6ff, #28c5ff);
  font-size: 18px;
}

.app-update-prompt strong,
.app-update-prompt small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-update-prompt strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.15;
}

.app-update-prompt small {
  margin-top: 2px;
  color: rgba(213, 236, 255, 0.78);
  font-size: 10px;
}

.app-update-prompt button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: 0 8px 16px rgba(255, 194, 49, 0.24);
  font-size: 11px;
}

.app-update-prompt--inline {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  margin-top: 4px;
  flex: 0 0 auto;
}

.screen-body {
  position: relative;
  z-index: 3;
  min-height: 0;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 0;
  height: 100%;
  padding: clamp(10px, 1.8dvh, 22px) clamp(12px, 4vw, 18px) var(--nav-space);
  overflow: visible;
}

.tap-phone.has-install-banner .hero-stage {
  padding-top: clamp(6px, 1.2dvh, 14px);
  padding-bottom: var(--nav-space);
}

.hour-badge {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 38vw, 160px);
  height: clamp(32px, 4.8dvh, 40px);
  color: #fff;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid rgba(110, 224, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(61, 218, 255, 0.9), rgba(54, 105, 255, 0.68) 48%, rgba(126, 69, 255, 0.62)),
    rgba(6, 24, 76, 0.86);
  box-shadow:
    0 8px 16px rgba(0, 14, 62, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -6px 12px rgba(2, 18, 75, 0.24);
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 7, 40, 0.6);
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

.hour-badge::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(6, 29, 91, 0.9), rgba(5, 17, 62, 0.86));
}

.hour-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 18px;
  background: rgba(7, 24, 72, 0.38);
}

.status-strip div {
  min-width: 0;
  padding: 7px 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.status-strip span,
.section-title span,
.card-copy span,
.withdraw-balance span,
.metric-grid span,
.leader-row small,
.history-row small {
  color: var(--text-soft);
  font-size: clamp(10px, 3vw, 12px);
}

.status-strip strong {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 2px;
  font-size: clamp(12px, 3.6vw, 14px);
}

.main-balance-wrap {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: clamp(9px, 1.8dvh, 14px);
}

.main-balance-wrap > small {
  color: rgba(230, 242, 255, 0.76);
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-balance {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5vw, 12px);
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: clamp(48px, 14vw, 68px);
  line-height: 1;
  text-shadow: 0 4px 14px rgba(4, 13, 68, 0.5);
}

.coin-icon {
  display: grid;
  place-items: center;
  width: clamp(19px, 5.5vw, 25px);
  height: clamp(19px, 5.5vw, 25px);
  filter: drop-shadow(0 8px 12px rgba(255, 168, 0, 0.32));
}

.coin-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-balance .coin-icon {
  width: clamp(47px, 13vw, 62px);
  height: clamp(47px, 13vw, 62px);
}

.tap-target {
  position: relative;
  width: clamp(210px, 72vw, 300px);
  height: clamp(248px, calc(100dvh - 408px), 350px);
  min-height: 218px;
  margin-top: clamp(-36px, -4dvh, -22px);
  padding: 0;
  border: 0;
  background: transparent;
  touch-action: manipulation;
}

.tap-phone.has-install-banner .tap-target {
  height: clamp(218px, calc(100dvh - 470px), 320px);
}

.tap-ring {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(78vw, 292px);
  aspect-ratio: 1;
  border: 1px solid rgba(102, 232, 255, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 58%),
    conic-gradient(from 140deg, rgba(69, 220, 255, 0.28), rgba(255, 85, 189, 0.42), rgba(255, 210, 87, 0.28), rgba(69, 220, 255, 0.28));
  box-shadow: inset 0 0 48px rgba(51, 221, 255, 0.14), 0 0 34px rgba(255, 84, 189, 0.14);
  transform: translate(-50%, -50%);
  animation: ring-rotate 10s linear infinite;
}

.character-shadow {
  position: absolute;
  left: 50%;
  bottom: clamp(9px, 2dvh, 18px);
  width: 162px;
  height: 28px;
  border-radius: 50%;
  background: rgba(4, 11, 34, 0.38);
  filter: blur(5px);
  transform: translateX(-50%);
}

.fox-character {
  position: absolute;
  left: 50%;
  bottom: clamp(-28px, -4.4dvh, -12px);
  width: min(116%, 326px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
  transform-origin: bottom center;
  filter:
    drop-shadow(0 18px 20px rgba(0, 14, 64, 0.42))
    drop-shadow(0 0 22px rgba(69, 220, 255, 0.24));
  animation: fox-idle 2.8s ease-in-out infinite;
}

.tap-target.is-tapping .fox-character {
  animation: fox-hit 140ms ease-out;
}

.tap-target--sleeping .fox-character {
  width: min(108%, 310px);
  bottom: clamp(-18px, -3dvh, -6px);
  filter:
    grayscale(0.08)
    saturate(0.82)
    drop-shadow(0 14px 18px rgba(0, 14, 64, 0.38))
    drop-shadow(0 0 14px rgba(113, 178, 255, 0.18));
  animation: fox-sleep 3.2s ease-in-out infinite;
}

.tap-target--sleeping .character-shadow {
  width: 188px;
  height: 24px;
  opacity: 0.72;
}

.sleep-z {
  position: absolute;
  z-index: 6;
  left: 64%;
  top: 26%;
  color: rgba(232, 246, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(3, 14, 46, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(0.72) rotate(-8deg);
}

.tap-target--sleeping .sleep-z {
  animation: sleep-z-rise 2.8s ease-in-out infinite;
}

.tap-target--sleeping .sleep-z--2 {
  left: 70%;
  top: 18%;
  font-size: 14px;
  animation-delay: 0.72s;
}

.tap-target--sleeping .sleep-z--3 {
  left: 75%;
  top: 10%;
  font-size: 11px;
  animation-delay: 1.42s;
}

.skin-companion {
  position: absolute;
  z-index: 4;
  bottom: clamp(38px, 7dvh, 68px);
  width: clamp(54px, 16vw, 78px);
  height: clamp(54px, 16vw, 78px);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(0, 12, 64, 0.4)) drop-shadow(0 0 14px rgba(69, 220, 255, 0.24));
  animation: skin-float 2.6s ease-in-out infinite;
}

.skin-companion--1 {
  left: clamp(8px, 6vw, 28px);
}

.skin-companion--2 {
  right: clamp(8px, 6vw, 28px);
  animation-delay: -1.2s;
}

.tap-target.is-tapping .tap-ring {
  animation: ring-hit 160ms ease-out;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  max-width: 354px;
  margin-top: 10px;
}

.quick-action,
.buy-button,
.claim-button,
.referral-hero button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 10px 20px rgba(255, 190, 56, 0.16);
  font-size: clamp(12px, 3.5vw, 14px);
}

.quick-action.accent,
.claim-button {
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 20px rgba(39, 128, 255, 0.18);
}

.panel-view {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: clamp(12px, 3.5vw, 16px) clamp(12px, 4vw, 18px) clamp(88px, 13dvh, 106px);
  overflow-y: auto;
  scrollbar-width: none;
}

.panel-view::-webkit-scrollbar {
  display: none;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.section-title strong {
  font-size: clamp(18px, 5.6vw, 24px);
}

.pack-list,
.task-list,
.withdraw-list,
.history-list,
.leader-list {
  display: grid;
  gap: 10px;
}

.pack-card,
.task-card,
.withdraw-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.78), rgba(10, 22, 70, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pack-card.owned {
  border-color: rgba(119, 242, 124, 0.34);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #132260;
  background: linear-gradient(145deg, #7cecff, #348bff);
  box-shadow: 0 10px 20px rgba(52, 139, 255, 0.2);
  font-size: 24px;
}

.card-icon.green {
  background: linear-gradient(145deg, #b5ff7a, #35d77b);
}

.card-icon.gold {
  background: linear-gradient(145deg, #fff1a2, #ffb93e);
}

.card-copy {
  min-width: 0;
}

.card-copy strong {
  display: block;
  overflow: hidden;
  margin: 2px 0;
  font-size: clamp(13px, 3.8vw, 15px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-copy small {
  display: block;
  color: var(--text-soft);
  font-size: clamp(10px, 3vw, 12px);
  line-height: 1.25;
}

.reward {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 5px;
  color: var(--gold) !important;
}

.buy-button,
.claim-button {
  min-width: 72px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.insight-card,
.referral-hero,
.withdraw-balance {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 85, 189, 0.24), rgba(69, 220, 255, 0.16)), var(--panel);
}

.insight-card > iconify-icon {
  color: var(--gold);
  font-size: 32px;
}

.insight-card strong,
.withdraw-balance strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
}

.referrals-view {
  align-content: start;
}

.referral-hero {
  justify-content: space-between;
  min-height: 138px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 210, 87, 0.34), transparent 25%),
    linear-gradient(135deg, rgba(255, 85, 189, 0.34), rgba(58, 198, 255, 0.2)),
    var(--panel-strong);
}

.referral-hero strong {
  display: block;
  margin: 4px 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 9vw, 38px);
}

.referral-hero small {
  display: block;
  max-width: 190px;
  color: var(--text-soft);
  line-height: 1.3;
}

.referral-hero button {
  flex: 0 0 auto;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.metric-grid > div,
.leader-row,
.history-row {
  border-radius: 16px;
  background: rgba(8, 25, 74, 0.56);
}

.metric-grid > div {
  min-width: 0;
  padding: 10px;
}

.metric-grid strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: clamp(18px, 5vw, 24px);
}

.leader-row,
.history-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
}

.leader-row > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 10px;
  color: #11215d;
  background: var(--gold);
}

.withdraw-balance {
  display: grid;
  gap: 2px;
  background:
    linear-gradient(135deg, rgba(119, 242, 124, 0.26), rgba(69, 220, 255, 0.16)),
    var(--panel-strong);
}

.history-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.history-row span,
.leader-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav {
  position: absolute;
  left: clamp(10px, 4vw, 18px);
  right: clamp(10px, 4vw, 18px);
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  margin: 0;
  padding: 6px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(23, 61, 136, 0.76), rgba(13, 28, 83, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 26px rgba(0, 16, 69, 0.28);
}

.nav-item {
  display: grid;
  gap: 3px;
  place-items: center;
  min-width: 0;
  min-height: clamp(40px, 6.8dvh, 50px);
  padding: 4px 2px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: transparent;
  font-size: clamp(8px, 2.45vw, 10px);
  font-weight: 400;
}

.mini-bars {
  display: grid;
  gap: 5px;
  padding: 7px 5px 0;
}

.mini-bars span {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.status-pills span,
.status-pill-button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(6, 23, 72, 0.46);
  backdrop-filter: blur(12px);
  font-size: 11px;
}

.status-pill-button {
  cursor: pointer;
}

.status-pills b,
.status-pill-button b {
  font-weight: 800;
}

.roulette-float {
  position: absolute;
  top: clamp(156px, 25dvh, 204px);
  right: clamp(4px, 2vw, 18px);
  z-index: 8;
  width: clamp(71px, 20.4vw, 99px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.roulette-float::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 2px solid rgba(126, 232, 255, 0.72);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.78);
}

.roulette-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  filter:
    drop-shadow(0 10px 16px rgba(0, 18, 72, 0.34))
    drop-shadow(0 0 12px rgba(81, 228, 255, 0.28));
  animation: roulette-spin 5.8s linear infinite;
  will-change: transform;
}

.roulette-float:active::after {
  animation: roulette-press-pulse 360ms ease-out;
}

.roulette-float:active img {
  filter:
    brightness(1.12)
    drop-shadow(0 10px 16px rgba(0, 18, 72, 0.34))
    drop-shadow(0 0 16px rgba(81, 228, 255, 0.38));
}

.cap-note {
  display: none;
  position: absolute;
  top: 198px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  width: min(90%, 320px);
  padding: 8px 10px;
  border: 1px solid rgba(126, 232, 255, 0.44);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(8, 23, 76, 0.96);
  box-shadow: 0 12px 30px rgba(0, 8, 48, 0.5);
  backdrop-filter: blur(16px);
}

.cap-note::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 56px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(126, 232, 255, 0.44) transparent;
}

.cap-note::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 56px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(8, 23, 76, 0.96) transparent;
}

.cap-note--visible {
  display: grid;
}

.cap-note > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #10205a;
  background: linear-gradient(180deg, #9defff, #51e4ff);
}

.cap-note small {
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.25;
}

.cap-note--reached {
  border-color: rgba(255, 210, 87, 0.44);
  background: rgba(70, 45, 4, 0.42);
}

.cap-note--reached > span {
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
}

.tap-target--locked {
  filter: grayscale(0.2) brightness(0.82);
}

.upgrade-button {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: clamp(-14px, -1.4dvh, -8px);
  padding: 0 18px 0 12px;
  border: 1px solid rgba(126, 232, 255, 0.48);
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(38, 132, 255, 0.94), rgba(33, 84, 211, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -5px 12px rgba(0, 34, 132, 0.26),
    0 0 24px rgba(62, 218, 255, 0.28),
    0 12px 24px rgba(0, 13, 80, 0.28);
  text-shadow: 0 2px 8px rgba(0, 9, 60, 0.44);
  transition: transform 120ms ease, filter 120ms ease;
}

.upgrade-button:active {
  transform: translateY(1px) scale(0.98);
}

.upgrade-button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #10205a;
  background: linear-gradient(180deg, #ffffff, #9defff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 14px rgba(91, 226, 255, 0.4);
}

.upgrade-button strong {
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.support-badge {
  display: inline-grid;
  vertical-align: middle;
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff5b7d, #d9214a);
  font-size: 10px;
  font-weight: 900;
}

.support-entry-card {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
}

.support-entry-card > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #10205a;
  background: linear-gradient(180deg, #9defff, #51e4ff);
}

.support-entry-card--unread {
  border-color: rgba(255, 91, 125, 0.5);
  box-shadow: 0 0 22px rgba(255, 91, 125, 0.14);
}

.support-compose-card,
.support-thread-card {
  gap: 10px;
}

.support-compose-card label,
.support-thread-card label,
.blocked-support-form {
  display: grid;
  gap: 6px;
}

.support-compose-card select,
.support-compose-card textarea,
.support-thread-card textarea,
.blocked-support-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(4, 18, 58, 0.62);
  font: inherit;
  font-size: 12px;
}

.support-compose-card textarea,
.support-thread-card textarea,
.blocked-support-form textarea {
  min-height: 86px;
  padding: 10px;
  resize: vertical;
}

.support-image-picker {
  min-height: auto;
}

.support-image-picker input {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 1px dashed rgba(126, 232, 255, 0.32);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(4, 18, 58, 0.42);
  font-size: 11px;
}

.support-image-picker span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.3;
}

.support-view {
  padding-bottom: 96px;
}

.support-compose-details {
  gap: 10px;
}

.support-compose-details summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  color: #eaffff;
  font-size: 13px;
  font-weight: 900;
}

.support-compose-details summary::-webkit-details-marker {
  display: none;
}

.support-compose-details summary iconify-icon {
  color: #67f1ff;
  font-size: 18px;
}

.support-compose-details:not([open]) {
  min-height: 54px;
  padding-block: 8px;
  border-radius: 16px;
  background: rgba(7, 28, 82, 0.58);
}

.support-ticket-panel {
  gap: 10px;
}

.support-ticket-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-ticket-panel-head small {
  display: grid;
  flex: 0 0 auto;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #10205a;
  background: #9defff;
  font-size: 11px;
  font-weight: 900;
}

.support-ticket-list {
  display: grid;
  gap: 8px;
  max-height: 228px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-width: thin;
}

.support-ticket-row {
  position: relative;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(5, 20, 62, 0.5);
  text-align: left;
}

.profile-card .support-ticket-row {
  display: grid;
  min-height: 66px;
  padding: 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(5, 20, 62, 0.5) !important;
  box-shadow: none;
  white-space: normal;
}

.support-ticket-row > i {
  width: 8px;
  height: 36px;
  border-radius: 999px;
  background: rgba(157, 239, 255, 0.38);
}

.support-ticket-row span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.support-ticket-row span > strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-row span > small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-row time {
  color: rgba(255, 255, 255, 0.44);
  font-size: 9px;
}

.support-ticket-row em {
  min-width: 74px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #10205a;
  background: rgba(157, 239, 255, 0.9);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.support-ticket-row.is-active {
  border-color: rgba(81, 228, 255, 0.58);
  background: rgba(29, 93, 190, 0.32);
}

.profile-card .support-ticket-row.is-active {
  background: rgba(29, 93, 190, 0.32) !important;
}

.profile-card .support-ticket-row.has-unread {
  border-color: rgba(81, 228, 255, 0.48);
  background: rgba(7, 35, 91, 0.62) !important;
}

.support-ticket-row.is-active > i {
  background: #51e4ff;
  box-shadow: 0 0 14px rgba(81, 228, 255, 0.48);
}

.support-ticket-row.has-unread b {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #e22d52;
}

.support-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #10205a;
  background: #9defff;
  font-size: 10px;
  font-weight: 900;
}

.support-status--waiting_user {
  background: #76f28a;
}

.support-status--closed {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.18);
}

.support-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.support-messages {
  display: grid;
  gap: 8px;
  max-height: min(36dvh, 340px);
  overflow-y: auto;
  padding-right: 2px;
  overscroll-behavior: contain;
}

.support-message {
  max-width: 86%;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.support-message--player {
  justify-self: end;
  background: rgba(81, 228, 255, 0.18);
}

.support-message--admin {
  justify-self: start;
  background: rgba(118, 242, 138, 0.16);
}

.support-message p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.35;
}

.support-message-image {
  display: block;
  max-width: 100%;
  max-height: 220px;
  margin-top: 6px;
  border: 1px solid rgba(126, 232, 255, 0.2);
  border-radius: 12px;
  object-fit: contain;
}

.support-message small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.support-rating-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(81, 228, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(9, 27, 76, 0.82), rgba(5, 20, 62, 0.48));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.support-rating-card-head {
  display: grid;
  gap: 6px;
}

.support-rating-card strong {
  font-size: 16px;
  line-height: 1.1;
}

.support-rating-card small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.support-rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.support-rating-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 110px;
  padding: 14px 10px;
  border: 1px solid rgba(126, 232, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.support-rating-button:hover {
  transform: translateY(-1px);
  border-color: rgba(81, 228, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(81, 228, 255, 0.18), rgba(81, 228, 255, 0.08)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 26px rgba(81, 228, 255, 0.12);
}

.support-rating-emoji {
  font-size: 44px;
  line-height: 1;
}

.support-rating-text {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  max-width: 100%;
}

.support-rating-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(5, 20, 62, 0.9), rgba(5, 20, 62, 0.62));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.support-rating-result-emoji {
  font-size: 32px;
  line-height: 1;
}

.support-rating-result strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}

.support-rating-result small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .support-rating-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-rating-button {
    min-height: 96px;
  }

  .support-rating-emoji {
    font-size: 38px;
  }
}

.support-wait-note {
  padding: 10px 12px;
  border: 1px solid rgba(126, 232, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(5, 20, 62, 0.42);
  font-size: 12px;
  line-height: 1.35;
}

.blocked-support-form {
  width: min(86%, 320px);
  margin: 14px auto 0;
}

.upgrade-button--locked {
  border-color: rgba(255, 215, 112, 0.44);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(41, 80, 160, 0.94), rgba(31, 46, 121, 0.92));
}

.upgrade-button--ready {
  animation: softPulse 1.8s ease-in-out infinite;
}

.skin-claim-card {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nav-space) + 48px);
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 8px;
  align-items: center;
  width: min(92%, 340px);
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(97, 223, 255, 0.38);
  border-radius: 18px;
  background: rgba(9, 33, 91, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 24px rgba(0, 12, 64, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.skin-claim-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
}

.skin-claim-info > span {
  grid-row: span 2;
  display: flex;
  align-items: center;
  min-width: 34px;
}

.skin-claim-card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: -8px;
  border-radius: 10px;
  background: rgba(47, 178, 255, 0.18);
}

.skin-claim-card small,
.skin-card small {
  color: var(--text-soft);
  font-size: 10px;
}

.skin-claim-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skin-claim-action {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 11px;
}

.skin-claim-close {
  display: grid;
  width: 24px;
  height: 24px;
  min-height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dceaff;
  background: rgba(5, 16, 52, 0.62);
  font-size: 12px;
}

.skin-claim-close iconify-icon {
  font-size: 13px;
}
.skin-claim-action:disabled {
  opacity: 0.55;
}

.energy-shortcut-pill {
  position: absolute;
  left: 46px;
  bottom: calc(var(--nav-space) + 56px);
  z-index: 8;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(6, 23, 72, 0.46);
  backdrop-filter: blur(12px);
  font-size: 11px;
}

.energy-shortcut-pill b {
  font-weight: 800;
}

.energy-shortcut-pill iconify-icon {
  color: #ffcf00;
  font-size: 14px;
}

.sheet-panel,
.loading-view {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  height: 100%;
  padding: clamp(12px, 3.5vw, 16px) clamp(12px, 4vw, 18px) var(--nav-space);
  overflow-y: auto;
  scrollbar-width: none;
}

.sheet-panel::-webkit-scrollbar {
  display: none;
}

.tap-phone.has-update-prompt .sheet-panel {
  padding-bottom: calc(var(--nav-space) + 76px);
}

.sheet-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.sheet-head span {
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
}

.sheet-head strong {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2px;
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1;
  text-align: right;
  overflow-wrap: anywhere;
}

.sheet-head--avatars {
  display: grid;
  justify-content: start;
  gap: 4px;
}

.sheet-head--avatars strong {
  text-align: left;
}

.pack-grid,
.task-list {
  display: grid;
  gap: 14px;
}

.task-loading-card {
  display: grid;
  min-height: 118px;
  place-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.72), rgba(10, 22, 70, 0.62));
  color: rgba(236, 245, 255, 0.86);
  text-align: center;
}

.task-loading-card iconify-icon {
  color: var(--cyan);
  font-size: 30px;
  animation: taskLoadingSpin 1s linear infinite;
}

.task-loading-card strong {
  font-size: 14px;
}

@keyframes taskLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

.pack-card,
.task-row,
.profile-card,
.wallet-hero-card,
.wallet-held-card,
.wallet-cycle-card,
.wallet-history-row {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.78), rgba(10, 22, 70, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.pack-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(92px, auto);
  column-gap: 14px;
  row-gap: 10px;
  align-items: center;
  min-height: 104px;
  padding: 11px;
  overflow: hidden;
  border-color: rgba(65, 168, 255, 0.6);
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 20%, rgba(42, 232, 255, 0.24), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(255, 207, 64, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(7, 43, 122, 0.94), rgba(4, 15, 56, 0.92) 48%, rgba(4, 20, 76, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(126, 216, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(4, 93, 255, 0.26),
    0 13px 30px rgba(2, 9, 35, 0.34),
    0 0 24px rgba(34, 138, 255, 0.24);
}

.pack-card--active {
  border-color: rgba(94, 231, 255, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(126, 216, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(4, 93, 255, 0.36),
    0 0 30px rgba(54, 174, 255, 0.35);
}

.pack-card > span,
.task-row > span,
.withdraw-headline > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #132260;
  background: linear-gradient(145deg, #7cecff, #348bff);
  box-shadow: 0 10px 20px rgba(52, 139, 255, 0.2);
  font-size: 24px;
}

.pack-card > .pack-card-art {
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 84px;
  height: 76px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 18px rgba(64, 197, 255, 0.26));
}

.pack-card .pack-info-trigger {
  min-height: 0;
  border: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.pack-card .pack-info-trigger::before,
.pack-card .pack-info-trigger::after {
  content: none;
}

.pack-card .pack-card-art.pack-info-trigger {
  border-radius: 16px;
}

.pack-card .pack-card-art.pack-info-trigger:focus-visible,
.pack-card .pack-cap-showcase.pack-info-trigger:focus-visible {
  outline: 2px solid rgba(68, 218, 255, 0.85);
  outline-offset: 3px;
}

.pack-card > .pack-card-art .ux-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.pack-card-main {
  display: grid;
  justify-items: start;
  min-width: 0;
  gap: 4px;
  padding-left: 2px;
  text-align: left;
}

.pack-card .pack-card-title {
  width: 100%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.16), 0 0 16px rgba(81, 169, 255, 0.28);
  white-space: normal;
}

.pack-cap-showcase {
  position: relative;
  display: grid;
  align-items: start;
  justify-content: flex-start;
  width: 100%;
  gap: 2px;
  padding: 0;
  text-align: left;
}

.pack-cap-showcase small {
  margin: 0;
  color: rgba(238, 246, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.pack-cap-showcase span {
  position: relative;
  display: inline;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #68ff8d;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(8, 73, 36, 0.45),
    0 0 10px rgba(94, 255, 133, 0.6);
  white-space: nowrap;
}

.pack-cap-showcase span::before,
.pack-cap-showcase span::after {
  content: none;
}

.pack-cap-showcase span::before {
  left: -9px;
}

.pack-cap-showcase span::after {
  right: -9px;
}

.pack-card strong,
.task-row strong,
.profile-card strong,
.withdraw-card strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pack-card small,
.task-row small,
.profile-card small,
.withdraw-card small {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.pack-meta {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-weight: 400;
}

.pack-meta strong {
  display: inline;
  color: #45dcff;
  font-size: inherit;
  font-weight: 900;
  white-space: nowrap;
}

.pack-card .pack-energy {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: #8cc2ff;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-shadow: 0 0 12px rgba(45, 188, 255, 0.32);
  white-space: nowrap;
}

.pack-energy iconify-icon,
.pack-energy-svg {
  color: #24c9ff;
  font-size: 1.18em;
  filter: drop-shadow(0 0 7px rgba(53, 207, 255, 0.55));
}

.pack-energy-svg {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.pack-energy span {
  display: inline;
  min-width: 0;
  font-weight: 400;
}

.wallet-view {
  gap: 13px;
}

.wallet-hero-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 12%, rgba(42, 232, 255, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(15, 54, 135, 0.88), rgba(37, 13, 111, 0.78));
}

.wallet-hero-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0, 194, 255, 0.22), rgba(144, 52, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(80, 217, 255, 0.5), 0 0 24px rgba(34, 194, 255, 0.18);
}

.wallet-hero-icon .coin-img {
  width: 40px;
  height: 40px;
}

.wallet-hero-card small,
.wallet-cycle-card small,
.wallet-history-row small {
  color: rgba(223, 236, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wallet-hero-card strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: clamp(28px, 9vw, 38px);
  line-height: 1;
}

.wallet-hero-card p,
.wallet-held-card p,
.wallet-history-row p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.wallet-history-row p {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.wallet-held-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 11px;
  border-color: rgba(255, 211, 96, 0.38);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 211, 96, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(33, 48, 114, 0.82), rgba(54, 25, 101, 0.72));
}

.wallet-held-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #2b1a04;
  background: linear-gradient(180deg, #fff09d, #ffb72e);
  box-shadow: 0 10px 18px rgba(255, 183, 46, 0.16);
  font-size: 21px;
}

.wallet-held-card small {
  color: rgba(255, 232, 168, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wallet-held-card strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
}

.wallet-cycle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 13px;
}

.wallet-cycle-card strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.wallet-progress {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.wallet-progress span {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.wallet-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4eff76, #18cbff, #e337ff);
  box-shadow: 0 0 18px rgba(29, 213, 255, 0.32);
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wallet-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border-radius: 15px;
  color: #071b53;
  background: linear-gradient(180deg, #a9f6ff, #20b9ff 55%, #1675e2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 24px rgba(13, 150, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.wallet-history {
  display: grid;
  gap: 9px;
}

.wallet-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-history-head strong {
  font-size: 15px;
}

.wallet-history-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(107, 183, 255, 0.22);
  border-radius: 16px;
  background: rgba(4, 15, 49, 0.42);
}

.wallet-history-tabs button {
  min-width: 0;
  min-height: 32px;
  padding: 0 6px;
  overflow: hidden;
  border-radius: 11px;
  color: rgba(224, 236, 255, 0.74);
  background: transparent;
  box-shadow: none;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-history-tabs button.active {
  color: #06194e;
  background: linear-gradient(180deg, #a9f6ff, #20b9ff);
  box-shadow: 0 8px 16px rgba(32, 185, 255, 0.18);
}

.wallet-history-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.wallet-history-row > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #8df7ff;
  background: linear-gradient(145deg, rgba(7, 54, 142, 0.84), rgba(32, 18, 108, 0.76));
  box-shadow: inset 0 0 0 1px rgba(61, 199, 255, 0.42);
  font-size: 22px;
}

.wallet-history-row strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
}

.wallet-history-row--neutral small,
.wallet-history-row--neutral strong,
.wallet-history-row--neutral p {
  font-weight: 500;
}

.wallet-history-row b {
  align-self: center;
  justify-self: end;
  max-width: 92px;
  overflow: hidden;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(4, 15, 49, 0.52);
  font-size: 11px;
  line-height: 1.1;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-history-action,
.wallet-resume-payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: #071b53;
  background: linear-gradient(180deg, #a9f6ff, #20b9ff);
  box-shadow: 0 8px 16px rgba(32, 185, 255, 0.18);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.wallet-resume-payment {
  margin-top: 8px;
}

.wallet-history-action {
  align-self: center;
  justify-self: end;
  max-width: 116px;
  text-align: center;
  line-height: 1.05;
}

.wallet-history-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.wallet-history-action--ghost {
  color: rgba(230, 240, 255, 0.86);
  background: rgba(8, 23, 69, 0.5);
  box-shadow: inset 0 0 0 1px rgba(141, 194, 255, 0.25);
  font-weight: 600;
}

.wallet-history-row--positive b {
  color: #9effb5;
  background: rgba(22, 112, 55, 0.28);
}

.wallet-history-row--negative b {
  color: #ffd98f;
  background: rgba(122, 77, 12, 0.3);
}

.wallet-history-row--neutral b {
  color: rgba(224, 236, 255, 0.76);
  background: rgba(75, 105, 164, 0.22);
}

.pack-card button,
.task-row b,
.withdraw-card button,
.profile-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 13px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 10px 20px rgba(255, 190, 56, 0.16);
  font-size: 12px;
  white-space: nowrap;
}

.pack-card button {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(255, 246, 164, 0.98);
  border-radius: 13px;
  color: #572d00;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.7), transparent 17%),
    linear-gradient(180deg, #fff28d 0%, #ffc629 42%, #f19b11 100%);
  box-shadow:
    0 0 10px rgba(255, 226, 92, 0.95),
    0 0 24px rgba(255, 188, 42, 0.62),
    inset 0 2px 0 rgba(255, 255, 255, 0.74),
    inset 0 -6px 10px rgba(142, 75, 0, 0.34);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.06;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
}

.pack-card button:disabled {
  opacity: 1;
  filter: none;
}

.pack-card .pack-info-trigger {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
  text-shadow: none;
}

.pack-card .pack-info-trigger::before,
.pack-card .pack-info-trigger::after {
  content: none;
}

.pack-card .pack-card-art.pack-info-trigger {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.pack-card .pack-cap-showcase.pack-info-trigger {
  width: 100%;
  display: grid;
}

.pack-actions {
  display: grid;
  align-self: center;
  gap: 7px;
  justify-items: stretch;
}

.pack-actions button {
  min-width: 0;
}

.pack-actions .pack-fox-button {
  color: #eaf7ff;
  background: linear-gradient(180deg, rgba(60, 197, 255, 0.95), rgba(37, 104, 255, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 18px rgba(25, 122, 255, 0.18);
}

.pack-pending-note {
  display: block;
  max-width: 160px;
  color: #ffe480;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.pack-actions .pack-continue-button {
  color: #07184c;
  background: linear-gradient(180deg, #72efff, #229cff);
  box-shadow:
    0 0 8px rgba(56, 225, 255, 0.78),
    0 0 20px rgba(20, 181, 255, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.44);
}

.pack-fox-minimum {
  display: block;
  max-width: 150px;
  color: rgba(224, 236, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.pack-info-overlay {
  position: absolute;
  inset: 0;
  z-index: 36;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 18px;
  background: rgba(3, 8, 30, 0.66);
  backdrop-filter: blur(10px);
}

.pack-info-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 350px);
  padding: 20px 16px 16px;
  border: 1px solid rgba(83, 206, 255, 0.44);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 223, 255, 0.24), transparent 42%),
    radial-gradient(circle at 14% 18%, rgba(119, 242, 124, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(15, 55, 137, 0.97), rgba(6, 18, 66, 0.98));
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 28px rgba(42, 184, 255, 0.18);
  text-align: center;
}

.pack-info-art {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(33, 197, 255, 0.2), rgba(86, 65, 255, 0.18));
  box-shadow: inset 0 0 0 1px rgba(99, 220, 255, 0.46), 0 0 24px rgba(31, 188, 255, 0.2);
}

.pack-info-art .ux-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pack-info-head {
  display: grid;
  gap: 4px;
}

.pack-info-head small {
  color: #6eeaff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pack-info-head strong {
  font-size: 24px;
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(84, 187, 255, 0.25);
}

.pack-info-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

.pack-info-stats article {
  display: grid;
  gap: 6px;
  min-height: 86px;
  align-content: center;
  padding: 12px 8px;
  border: 1px solid rgba(84, 210, 255, 0.28);
  border-radius: 18px;
  background: rgba(4, 18, 62, 0.48);
}

.pack-info-stats small {
  color: rgba(226, 238, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.pack-info-stats strong {
  color: #68ff8d;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 12px rgba(104, 255, 141, 0.38);
}

.pack-info-energy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.pack-info-energy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(122, 195, 255, 0.22);
  border-radius: 999px;
  color: rgba(226, 238, 255, 0.88);
  background: rgba(3, 13, 47, 0.38);
  font-size: 12px;
  font-weight: 500;
}

.pack-info-card p {
  margin: 0;
  color: rgba(226, 238, 255, 0.76);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
}

.pack-info-primary {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  color: #09205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 10px 20px rgba(255, 190, 56, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.pack-card button.pack-info-trigger {
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.pack-card button.pack-info-trigger::before,
.pack-card button.pack-info-trigger::after {
  content: none !important;
}

.task-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(72px, auto);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
  color: #fff;
  text-align: left;
}

.task-row > div {
  min-width: 0;
}

.task-row b {
  min-width: 72px;
  max-width: 92px;
  font-weight: 500;
}

.task-row--progress {
  border-color: rgba(76, 229, 255, 0.45);
}

.task-row .task-check-badge--progress {
  min-width: 70px;
  max-width: 112px;
  color: #dff8ff;
  background: linear-gradient(180deg, rgba(32, 169, 255, 0.92), rgba(57, 86, 235, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 20px rgba(35, 170, 255, 0.16);
  font-size: 11px;
  font-weight: 500;
}

.task-modal-continue--progress:disabled {
  color: rgba(235, 246, 255, 0.82);
  background: linear-gradient(180deg, rgba(48, 83, 151, 0.92), rgba(31, 48, 106, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.task-row b .coin-img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.task-row--done {
  border-color: rgba(119, 242, 124, 0.48);
}

.task-row--done > span {
  background: linear-gradient(145deg, #b5ff7a, #35d77b);
}

.task-row--locked {
  opacity: 0.72;
}

.task-row--locked > span {
  background: linear-gradient(145deg, #fff4a8, #ffcd4d);
}

.task-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 34;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(40px, 8dvh, 72px) 14px 24px;
  background: rgba(3, 8, 30, 0.66);
  backdrop-filter: blur(10px);
}

.task-modal {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 372px);
  padding: 18px 16px 16px;
  border: 1px solid rgba(126, 232, 255, 0.34);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(81, 228, 255, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(18, 58, 139, 0.96), rgba(7, 19, 66, 0.96));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.task-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(2, 12, 44, 0.56);
}

.task-modal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #10205a;
  background: linear-gradient(145deg, #7cecff, #348bff);
  box-shadow: 0 12px 24px rgba(52, 139, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 30px;
}

.task-modal-head {
  display: grid;
  gap: 5px;
  text-align: center;
}

.task-modal-head small,
.task-modal-head p,
.task-modal-steps small {
  color: var(--text-soft);
}

.task-modal-head small {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.task-modal-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.task-modal-head p {
  max-width: 300px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.task-modal-steps {
  display: grid;
  gap: 8px;
  width: 100%;
}

.task-modal-steps article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(126, 232, 255, 0.16);
  border-radius: 15px;
  background: rgba(3, 12, 43, 0.34);
}

.task-modal-steps article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 20px;
}

.task-modal-steps strong,
.task-modal-steps small {
  display: block;
}

.task-modal-steps strong {
  font-size: 13px;
  font-weight: 500;
}

.task-modal-steps small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.task-modal-reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 17, 56, 0.58);
}

.task-modal-reward .coin-img {
  width: 22px;
  height: 22px;
}

.task-modal-reward strong {
  font-weight: 500;
}

.task-modal-continue {
  width: 100%;
  min-height: 44px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  box-shadow: 0 12px 24px rgba(39, 128, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 14px;
  font-weight: 500;
}

.task-modal-continue:disabled {
  opacity: 0.62;
}

.daily-ticket-overlay {
  position: absolute;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 8, 30, 0.68);
  backdrop-filter: blur(12px);
}

.daily-ticket-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 342px);
  padding: 20px 16px 16px;
  border: 1px solid rgba(126, 232, 255, 0.36);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 226, 101, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(18, 58, 139, 0.96), rgba(7, 19, 66, 0.97));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  text-align: center;
}

.daily-ticket-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 24px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: 0 14px 28px rgba(255, 204, 74, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-size: 36px;
}

.daily-ticket-copy {
  display: grid;
  gap: 6px;
}

.daily-ticket-copy small {
  color: #7cecff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-ticket-copy h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
}

.daily-ticket-copy p {
  margin: 0 auto;
  max-width: 280px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.daily-ticket-actions {
  display: grid;
  gap: 8px;
  width: 100%;
}

.daily-ticket-actions button {
  min-height: 44px;
  border-radius: 15px;
  font-size: 13px;
}

.daily-ticket-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: 0 12px 24px rgba(255, 204, 74, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.daily-ticket-secondary {
  color: #d8eeff;
  background: rgba(5, 17, 56, 0.58);
}

.roulette-prize-overlay,
.skin-preview-overlay,
.skin-confirm-overlay {
  position: absolute;
  inset: 0;
  z-index: 44;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(81, 228, 255, 0.2), transparent 34%),
    rgba(3, 8, 30, 0.72);
  backdrop-filter: blur(12px);
}

.roulette-prize-card,
.skin-preview-card,
.skin-confirm-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 342px);
  padding: 22px 16px 16px;
  border: 1px solid rgba(126, 232, 255, 0.42);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 226, 101, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(20, 66, 155, 0.96), rgba(7, 19, 66, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-align: center;
}

.roulette-prize-close,
.skin-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(2, 12, 44, 0.56);
}

.roulette-prize-media,
.skin-preview-art {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 30px;
  color: #10205a;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.5), transparent 30%),
    linear-gradient(145deg, #7cecff, #267cff);
  box-shadow:
    0 18px 34px rgba(39, 128, 255, 0.3),
    0 0 28px rgba(126, 232, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  overflow: hidden;
  font-size: 54px;
}

.skin-preview-card {
  width: min(84%, 328px);
  padding-top: 30px;
  animation: skinPreviewIn 180ms ease-out both;
}

.skin-confirm-card {
  width: min(92%, 360px);
  padding-top: 30px;
  animation: skinPreviewIn 180ms ease-out both;
}

.skin-preview-art {
  width: min(66vw, 218px);
  height: min(66vw, 218px);
  padding: clamp(12px, 4vw, 20px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(145deg, #27d6ff, #494bff 52%, #ff55bd);
  animation: skinPreviewFloat 3.2s ease-in-out infinite;
}

.skin-preview-art img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 18px rgba(0, 10, 48, 0.22));
  animation: skinPreviewGlow 2.8s ease-in-out infinite;
}

.roulette-prize-media img,
.roulette-prize-media .coin-img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.roulette-prize-copy,
.skin-preview-copy {
  display: grid;
  gap: 6px;
}

.roulette-prize-copy small,
.skin-preview-copy small {
  color: #7cecff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.roulette-prize-copy h2,
.skin-preview-copy h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1;
}

.roulette-prize-copy p,
.skin-preview-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 900;
}

.skin-confirm-error {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(255, 222, 104, 0.46);
  border-radius: 12px;
  color: #ffe46b;
  background: rgba(47, 24, 58, 0.55);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.roulette-prize-primary {
  width: 100%;
  min-height: 46px;
  border-radius: 16px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: 0 12px 24px rgba(255, 204, 74, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.rank-rules-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 12%, rgba(65, 217, 255, 0.16), transparent 30%),
    rgba(2, 6, 26, 0.76);
  backdrop-filter: blur(10px);
}

.rank-rules-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(94vw, 390px);
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  border: 1px solid rgba(99, 211, 255, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at 76% 0%, rgba(255, 222, 86, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(18, 57, 136, 0.98), rgba(7, 16, 58, 0.98));
  box-shadow:
    0 30px 74px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.rank-rules-card::-webkit-scrollbar {
  width: 0;
}

.rank-rules-hero {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-right: 40px;
}

.rank-rules-current-art {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(42, 218, 255, 0.45), rgba(73, 75, 255, 0.38), rgba(255, 221, 85, 0.28));
  cursor: pointer;
  animation: rankMedalFloat 3s ease-in-out infinite;
}

.rank-rules-current-art img,
.rank-rules-current-art iconify-icon {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 8, 40, 0.34));
  animation: rankMedalGlow 2.6s ease-in-out infinite;
}

.rank-rules-hero small {
  color: #51e4ff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank-rules-hero h2 {
  margin: 4px 0;
  font-size: 20px;
  line-height: 1.05;
}

.rank-rules-hero p {
  margin: 0;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.rank-progress-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 18px;
  background: rgba(4, 18, 62, 0.52);
}

.rank-progress-panel > strong {
  color: #fff;
  font-size: 13px;
}

.rank-progress-panel > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rank-progress-panel span {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 14px;
  background: rgba(5, 12, 45, 0.62);
}

.rank-progress-panel small {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank-progress-panel b {
  color: #51e4ff;
  font-size: 13px;
}

.rank-next-goal {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(255, 214, 88, 0.45);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 68, 0.18), transparent 38%),
    rgba(7, 24, 75, 0.72);
  box-shadow: 0 0 22px rgba(255, 209, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rank-next-goal small {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #51e4ff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank-next-goal strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.rank-next-goal ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-next-goal li {
  color: rgba(226, 234, 255, 0.86);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.rank-total-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.rank-total-progress span {
  color: rgba(226, 234, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.rank-total-progress b {
  color: #51e4ff;
  font-size: 12px;
}

.rank-total-progress i,
.rank-progress-line i,
.rank-team-box i {
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(2, 9, 35, 0.78);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.42);
}

.rank-total-progress em,
.rank-progress-line i em,
.rank-team-box i b {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #28c6ff, var(--rank-accent, #51e4ff));
  box-shadow: 0 0 12px rgba(81, 228, 255, 0.35);
}

.rank-rules-list {
  display: grid;
  gap: 11px;
}

.rank-rules-list article {
  --rank-accent: #51e4ff;
  --rank-border: rgba(81, 228, 255, 0.26);
  --rank-wash: rgba(81, 228, 255, 0.12);
  --rank-glow: rgba(81, 228, 255, 0.18);
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 40px;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--rank-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, var(--rank-wash), transparent 42%),
    rgba(5, 13, 48, 0.56);
}

.rank-rules-list article.is-reached {
  --rank-accent: #92ef56;
  border-color: rgba(147, 239, 86, 0.45);
  background:
    radial-gradient(circle at 100% 0%, rgba(147, 239, 86, 0.13), transparent 38%),
    rgba(5, 13, 48, 0.58);
}

.rank-rules-list article.is-next {
  padding: 14px 12px;
  border-color: rgba(255, 214, 88, 0.68);
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 214, 88, 0.2), transparent 42%),
    rgba(7, 24, 75, 0.82);
  box-shadow: 0 0 24px rgba(255, 214, 88, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rank-rules-list article[data-rank-accent*="bronze"] {
  --rank-accent: #d98a3a;
  --rank-border: rgba(217, 138, 58, 0.38);
  --rank-wash: rgba(217, 138, 58, 0.15);
  --rank-glow: rgba(217, 138, 58, 0.22);
}

.rank-rules-list article[data-rank-accent*="silver"],
.rank-rules-list article[data-rank-accent*="platinum"] {
  --rank-accent: #bccce6;
  --rank-border: rgba(188, 204, 230, 0.35);
  --rank-wash: rgba(188, 204, 230, 0.13);
  --rank-glow: rgba(188, 204, 230, 0.2);
}

.rank-rules-list article[data-rank-accent*="gold"],
.rank-rules-list article[data-rank-accent*="king"] {
  --rank-accent: #ffd257;
  --rank-border: rgba(255, 210, 87, 0.42);
  --rank-wash: rgba(255, 210, 87, 0.14);
  --rank-glow: rgba(255, 210, 87, 0.22);
}

.rank-rules-list article[data-rank-accent*="royal"],
.rank-rules-list article[data-rank-accent*="legendary"],
.rank-rules-list article[data-rank-accent*="mythic"] {
  --rank-accent: #b983ff;
  --rank-border: rgba(185, 131, 255, 0.38);
  --rank-wash: rgba(185, 131, 255, 0.14);
  --rank-glow: rgba(185, 131, 255, 0.22);
}

.rank-rule-icon {
  display: grid;
  width: 74px;
  height: 90px;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--rank-border);
  border-radius: 16px;
  background: rgba(13, 38, 99, 0.72);
  cursor: pointer;
  box-shadow: 0 0 14px var(--rank-glow);
}

.rank-rules-current-art:active,
.rank-rule-icon:active {
  transform: scale(0.97);
}

.rank-rule-icon img,
.rank-rule-icon iconify-icon {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 12px;
  object-fit: contain;
}

.rank-rules-list strong,
.rank-rules-list small,
.rank-rules-list p {
  display: block;
  margin: 0;
}

.rank-rules-list article header {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.rank-rules-list article header strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-rules-list article header span {
  flex: 0 0 auto;
  color: rgba(218, 229, 255, 0.74);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.rank-rules-list article.is-next header span {
  color: #ffd257;
}

.rank-next-badge {
  display: inline-flex !important;
  gap: 4px;
  align-items: center;
  width: max-content;
  margin-top: 4px !important;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0c2453 !important;
  background: linear-gradient(180deg, #fff4a8, #ffcf4a);
  font-size: 8px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.rank-requirement-lines {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.rank-progress-line {
  display: grid;
  gap: 4px;
}

.rank-progress-line > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.rank-progress-line span,
.rank-team-box strong {
  color: rgba(211, 222, 255, 0.72);
  font-size: 9px;
  font-weight: 500;
}

.rank-progress-line b {
  color: #51e4ff;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.rank-team-box {
  display: grid;
  gap: 5px;
  padding-top: 3px;
  border-top: 1px solid rgba(126, 232, 255, 0.12);
}

.rank-team-box.is-ready {
  display: flex;
  gap: 5px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  color: #9df66d;
  background: rgba(87, 208, 82, 0.12);
  font-size: 9px;
  font-weight: 800;
}

.rank-team-box > span {
  display: grid;
  gap: 4px;
}

.rank-team-box em {
  color: #51e4ff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.rank-missing-text {
  color: rgba(255, 224, 150, 0.9);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
}

.rank-missing-text.is-ready {
  color: #9df66d;
}

.rank-rules-list article > b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #51e4ff;
  background: rgba(4, 14, 52, 0.74);
  font-size: 10px;
  box-shadow: inset 0 0 0 1px var(--rank-border);
}

.rank-rules-list article.is-reached > b {
  color: #173311;
  background: linear-gradient(180deg, #d7ff95, #92ef56);
}

.rank-image-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 145;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 26, 0.74);
  backdrop-filter: blur(12px);
}

.rank-image-preview-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rank-image-preview-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(92vw, 380px);
  padding: 16px;
  border: 1px solid rgba(99, 211, 255, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(81, 228, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 57, 136, 0.98), rgba(7, 16, 58, 0.98));
  box-shadow:
    0 30px 74px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.rank-image-preview-art {
  display: grid;
  width: min(78vw, 310px);
  height: min(72vh, 390px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(126, 232, 255, 0.2);
  border-radius: 22px;
  background: rgba(4, 14, 52, 0.62);
  box-shadow: 0 0 24px rgba(81, 228, 255, 0.16);
}

.rank-image-preview-art img {
  width: 94%;
  height: 94%;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 8, 40, 0.42));
  animation: rankMedalGlow 2.6s ease-in-out infinite;
}

.rank-image-preview-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.rank-image-preview-card--wide {
  width: min(94vw, 680px);
}

.rank-image-preview-art--wide {
  width: min(86vw, 600px);
  height: auto;
  aspect-ratio: 16 / 7;
}

.rank-image-preview-art--wide img {
  width: 100%;
  height: 100%;
}

@media (max-width: 380px) {
  .rank-rules-card {
    padding: 15px;
    border-radius: 22px;
  }

  .rank-rules-hero {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    padding-right: 34px;
  }

  .rank-rules-current-art {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .rank-rules-hero h2 {
    font-size: 19px;
  }

  .rank-rules-list article {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .rank-rule-icon {
    width: 62px;
    height: 78px;
  }

  .rank-rules-list article > b {
    grid-column: 2;
    justify-self: start;
  }
}

@keyframes rankMedalFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}

@keyframes rankMedalGlow {
  0%, 100% {
    filter: drop-shadow(0 12px 20px rgba(0, 8, 40, 0.34));
  }

  50% {
    filter: drop-shadow(0 16px 26px rgba(81, 228, 255, 0.3));
  }
}

.skin-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.skin-confirm-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 900;
}

.fox-upgrade-overlay {
  padding: 14px;
  background:
    radial-gradient(circle at 78% 14%, rgba(155, 75, 255, 0.22), transparent 24%),
    radial-gradient(circle at 22% 76%, rgba(0, 213, 255, 0.16), transparent 28%),
    rgba(2, 5, 22, 0.78);
}

.fox-upgrade-card {
  gap: 14px;
  width: min(94vw, 380px);
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px 18px 18px;
  border-color: rgba(113, 199, 255, 0.48);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(116, 85, 255, 0.24), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(154, 65, 255, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(18, 55, 130, 0.96), rgba(8, 16, 58, 0.98));
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(151, 82, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.fox-upgrade-card::-webkit-scrollbar {
  width: 0;
}

.fox-upgrade-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(42, 218, 255, 0.94), rgba(147, 80, 255, 0.5), rgba(221, 75, 255, 0.78));
  opacity: 0.78;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.fox-upgrade-card .payment-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(137, 176, 255, 0.38);
  border-radius: 16px;
  background: rgba(2, 12, 44, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fox-upgrade-coin {
  position: relative;
  display: grid;
  width: 136px;
  height: 136px;
  place-items: center;
  margin-top: -4px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 226, 92, 0.22), transparent 58%),
    conic-gradient(from 120deg, rgba(64, 224, 255, 0.42), rgba(156, 75, 255, 0.5), rgba(64, 224, 255, 0.42));
  filter: drop-shadow(0 18px 28px rgba(0, 18, 80, 0.34));
}

.fox-upgrade-coin .coin-img {
  width: 86%;
  height: 86%;
  filter: drop-shadow(0 12px 18px rgba(255, 181, 0, 0.32));
}

.fox-upgrade-copy {
  display: grid;
  gap: 6px;
  text-align: center;
}

.fox-upgrade-copy small {
  color: #30e6ff;
  font-size: 12px;
  font-weight: 500;
}

.fox-upgrade-copy strong {
  color: #fff;
  font-size: clamp(18px, 5vw, 23px);
  font-weight: 500;
  line-height: 1.08;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.fox-upgrade-wallet {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(152, 88, 255, 0.52);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 50%, rgba(34, 218, 255, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(8, 44, 116, 0.72), rgba(43, 18, 92, 0.72));
}

.fox-upgrade-wallet > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  color: #27ddff;
  background: rgba(4, 24, 70, 0.72);
  box-shadow: 0 0 18px rgba(39, 221, 255, 0.18);
}

.fox-upgrade-wallet iconify-icon {
  font-size: 34px;
}

.fox-upgrade-wallet small,
.fox-upgrade-wallet strong,
.fox-upgrade-wallet b {
  display: block;
}

.fox-upgrade-wallet small {
  color: rgba(224, 236, 255, 0.76);
  font-size: 13px;
  font-weight: 500;
}

.fox-upgrade-wallet strong {
  margin-top: 3px;
  color: #fff;
  font-size: clamp(25px, 7vw, 34px);
  font-weight: 500;
  line-height: 1;
}

.fox-upgrade-wallet b {
  margin-top: 5px;
  color: rgba(178, 209, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
}

.fox-upgrade-summary {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fox-upgrade-summary article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px 9px;
  align-items: center;
  min-height: 90px;
  padding: 12px;
  border: 1px solid rgba(87, 200, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(43, 223, 255, 0.16), transparent 42%),
    rgba(2, 13, 52, 0.5);
}

.fox-upgrade-summary article:nth-child(2) {
  border-color: rgba(178, 94, 255, 0.34);
  background:
    radial-gradient(circle at 0 0, rgba(174, 78, 255, 0.18), transparent 42%),
    rgba(35, 13, 70, 0.48);
}

.fox-upgrade-summary article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(45, 224, 255, 0.48);
  border-radius: 11px;
  color: #33e6ff;
  background: rgba(7, 26, 78, 0.68);
}

.fox-upgrade-summary article > span .coin-img {
  width: 24px;
  height: 24px;
}

.fox-upgrade-summary small,
.fox-upgrade-note {
  color: rgba(224, 236, 255, 0.78);
  font-size: 12px;
  font-weight: 500;
}

.fox-upgrade-summary small {
  grid-column: 2;
  align-self: end;
}

.fox-upgrade-summary strong {
  grid-column: 1 / -1;
  color: #fff;
  font-size: clamp(18px, 4.7vw, 22px);
  font-weight: 500;
  line-height: 1.08;
}

.fox-upgrade-summary article:first-child strong {
  color: #9ff6ff;
}

.fox-upgrade-summary article:nth-child(2) strong {
  color: #d6a5ff;
}

.fox-upgrade-control {
  display: grid;
  width: 100%;
  gap: 16px;
  margin-top: 2px;
}

.fox-upgrade-control input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  margin: 0;
  accent-color: #28d8ff;
  background: transparent;
}

.fox-upgrade-control input[type='range']::-webkit-slider-runnable-track {
  height: 12px;
  border: 1px solid rgba(142, 184, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(36, 224, 255, 0.95), rgba(111, 103, 255, 0.45)),
    rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 4px rgba(2, 8, 35, 0.42), 0 0 18px rgba(36, 224, 255, 0.16);
}

.fox-upgrade-control input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  margin-top: -12px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0 10%, transparent 12%),
    linear-gradient(180deg, #7dffff, #1fc8ff);
  box-shadow:
    0 0 0 5px rgba(35, 216, 255, 0.26),
    0 0 24px rgba(33, 213, 255, 0.78),
    0 8px 14px rgba(0, 10, 48, 0.38);
}

.fox-upgrade-control input[type='range']::-moz-range-track {
  height: 12px;
  border: 1px solid rgba(142, 184, 255, 0.38);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(36, 224, 255, 0.95), rgba(111, 103, 255, 0.45));
}

.fox-upgrade-control input[type='range']::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(180deg, #7dffff, #1fc8ff);
  box-shadow: 0 0 0 5px rgba(35, 216, 255, 0.26), 0 0 24px rgba(33, 213, 255, 0.78);
}

.fox-upgrade-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 6px 10px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(96, 202, 255, 0.36);
  border-radius: 18px;
  background: rgba(4, 18, 64, 0.76);
}

.fox-upgrade-input-wrap small {
  grid-column: 1 / -1;
  color: rgba(165, 196, 255, 0.86);
  font-size: 12px;
  font-weight: 500;
}

.fox-upgrade-control input[type='number'] {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 20px;
  font-weight: 500;
  outline: none;
}

.fox-upgrade-input-wrap b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid rgba(96, 129, 255, 0.32);
  border-radius: 14px;
  color: rgba(184, 205, 255, 0.88);
  background: rgba(7, 20, 66, 0.58);
  font-size: 14px;
  font-weight: 500;
}

.fox-upgrade-input-wrap b .coin-img {
  width: 20px;
  height: 20px;
}

.fox-upgrade-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: -2px 0 0;
  color: rgba(174, 207, 255, 0.88);
  text-align: center;
  line-height: 1.35;
}

.fox-upgrade-note iconify-icon {
  flex: 0 0 auto;
  color: #28d8ff;
  font-size: 18px;
}

.fox-upgrade-card .skin-confirm-actions {
  gap: 12px;
  margin-top: 2px;
}

.fox-upgrade-card .skin-confirm-actions button {
  min-height: 56px;
  border-radius: 18px;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 500;
  line-height: 1.12;
}

.fox-upgrade-card .skin-confirm-secondary {
  border: 1px solid rgba(39, 174, 255, 0.62);
  color: #fff;
  background: rgba(3, 18, 58, 0.72);
}

.fox-upgrade-card .skin-confirm-primary {
  color: #07184c;
  background: linear-gradient(180deg, #fff09a, #ffb21d);
  box-shadow: 0 0 24px rgba(255, 190, 35, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.fox-upgrade-card .skin-confirm-primary .coin-img {
  width: 27px;
  height: 27px;
}

@media (max-height: 720px) {
  .fox-upgrade-card {
    gap: 10px;
    padding: 26px 15px 15px;
  }

  .fox-upgrade-coin {
    width: 96px;
    height: 96px;
  }

  .fox-upgrade-copy strong {
    font-size: clamp(24px, 7vw, 30px);
  }

  .fox-upgrade-wallet {
    padding: 12px;
  }

  .fox-upgrade-wallet strong {
    font-size: clamp(22px, 6.2vw, 28px);
  }

  .fox-upgrade-summary article {
    min-height: 76px;
    padding: 10px;
  }

  .fox-upgrade-input-wrap {
    padding: 10px 12px;
  }

  .fox-upgrade-card .skin-confirm-actions button {
    min-height: 50px;
  }
}

.skin-confirm-primary {
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
}

.skin-confirm-secondary {
  color: #d8eeff;
  background: rgba(5, 17, 56, 0.62);
}

.skin-confirm-primary .coin-img {
  width: 20px;
  height: 20px;
}

.withdraw-change-card {
  gap: 12px;
  padding-bottom: 18px;
}

.withdraw-change-card .skin-preview-copy p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.withdraw-pending-card .skin-preview-copy h2 {
  font-size: 23px;
  line-height: 0.98;
}

.withdraw-pending-card .roulette-prize-primary {
  font-size: 13px;
}

.withdraw-change-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(118, 242, 124, 0.48);
  border-radius: 20px;
  color: #dfffe3;
  background: linear-gradient(180deg, rgba(65, 222, 152, 0.82), rgba(32, 112, 221, 0.72));
  box-shadow: 0 14px 28px rgba(35, 212, 153, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 30px;
}

.withdraw-change-summary {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(126, 232, 255, 0.24);
  border-radius: 15px;
  background: rgba(4, 18, 58, 0.46);
  text-align: left;
}

.withdraw-change-summary small {
  color: #7cecff;
  font-size: 10px;
  font-weight: 900;
}

.withdraw-change-summary strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-change-password {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(126, 232, 255, 0.24);
  border-radius: 15px;
  background: rgba(5, 17, 56, 0.62);
}

.withdraw-change-password input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
}

.withdraw-card,
.profile-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 14px;
}

.withdraw-view {
  display: flex;
  flex-direction: column;
  align-content: normal;
}

.withdraw-card:not(.withdraw-card--pending) {
  min-height: max-content;
}

.withdraw-headline {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.withdraw-headline > div {
  min-width: 0;
}

.withdraw-headline strong {
  font-size: 15px;
}

.withdraw-headline small {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-select {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.crypto-network-select {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(107, 183, 255, 0.24);
  border-radius: 17px;
  background: rgba(5, 17, 56, 0.54);
}

.network-select button,
.crypto-network-select button {
  min-width: 0;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 13px;
  color: rgba(225, 237, 255, 0.86);
  background: rgba(5, 17, 56, 0.62);
  box-shadow: none;
  font-size: 11px;
}

.network-button-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.network-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  color: currentColor;
}

.network-button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.network-select button.active,
.crypto-network-select button.active {
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  box-shadow: 0 8px 18px rgba(39, 128, 255, 0.22);
}

.network-select iconify-icon,
.crypto-network-select iconify-icon {
  flex: 0 0 auto;
  display: block;
  font-size: 18px;
}

.network-inline-svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.withdraw-error {
  min-height: 0;
  color: #ffb1c9;
  font-size: 11px;
  line-height: 1.2;
}

.withdraw-fee-note {
  display: block;
  padding: 9px 10px;
  border: 1px solid rgba(255, 210, 87, 0.34);
  border-radius: 13px;
  color: rgba(255, 247, 207, 0.86);
  background: rgba(47, 34, 86, 0.46);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.withdraw-action-stack {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.withdraw-saved-note {
  display: block;
  padding: 0 2px;
  color: rgba(225, 237, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.withdraw-note,
.withdraw-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 25, 74, 0.58);
}

.withdraw-note {
  padding: 12px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.28;
}

.withdraw-pending-state {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 11px;
  border: 1px solid rgba(255, 210, 87, 0.62);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 178, 55, 0.28), rgba(255, 70, 147, 0.18)),
    rgba(18, 35, 94, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.withdraw-card .withdraw-pending-state {
  grid-column: 1 / -1;
  margin: 4px 0 0;
}

.withdraw-card--pending {
  gap: 12px;
}

.withdraw-pending-state > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  box-shadow: 0 8px 18px rgba(255, 190, 56, 0.18);
}

.withdraw-pending-state > div {
  min-width: 0;
}

.withdraw-pending-state strong {
  display: block;
  overflow: visible;
  color: #fff7cf;
  font-size: 13px;
  line-height: 1.15;
  text-overflow: clip;
  white-space: normal;
}

.withdraw-pending-state small {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  margin-top: 3px;
  color: rgba(255, 247, 207, 0.82);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.22;
  text-overflow: clip;
  white-space: normal;
}

.withdraw-card--pending .network-select button,
.withdraw-card--pending input {
  opacity: 0.86;
}

.withdraw-card--pending .network-select button {
  pointer-events: none;
}

.withdraw-note--pending {
  border-color: rgba(255, 210, 87, 0.72);
  color: #fff7cf;
  background:
    linear-gradient(135deg, rgba(255, 178, 55, 0.34), rgba(255, 70, 147, 0.22)),
    rgba(42, 22, 82, 0.82);
  box-shadow: 0 10px 24px rgba(255, 116, 64, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.withdraw-list {
  display: grid;
  gap: 8px;
}

.withdraw-history {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.withdraw-card:not(.withdraw-card--pending) + .withdraw-history {
  margin-top: 24px;
}

.withdraw-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.withdraw-history-head strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-history-head small,
.withdraw-pagination span {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.withdraw-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.withdraw-row--empty {
  justify-content: center;
  color: var(--text-soft);
  font-size: 12px;
}

.withdraw-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.withdraw-pagination button {
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  color: #10205a;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 16px rgba(39, 128, 255, 0.16);
  font-size: 11px;
  font-weight: 500;
}

.withdraw-pagination button:disabled {
  color: rgba(228, 238, 255, 0.48);
  background: rgba(5, 17, 56, 0.58);
  box-shadow: none;
}

.withdraw-pagination span {
  text-align: center;
  white-space: nowrap;
}

.withdraw-row a,
.withdraw-row small {
  display: block;
  color: var(--text-soft);
  font-size: 11px;
}

.withdraw-card input,
.profile-card input {
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  line-height: 44px;
  background: rgba(4, 14, 46, 0.54);
  outline: 0;
}

.withdraw-input-wrap {
  position: relative;
  display: block;
  min-height: 44px;
}

.auth-input-wrap {
  position: relative;
  display: block;
}

.withdraw-input-wrap iconify-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  z-index: 1;
  color: rgba(126, 232, 255, 0.78);
  font-size: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.auth-input-wrap iconify-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  z-index: 1;
  color: rgba(126, 232, 255, 0.78);
  font-size: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.withdraw-input-wrap input {
  padding-left: 42px;
  padding-right: 12px;
}

.withdraw-input-wrap input::placeholder {
  color: rgba(218, 233, 255, 0.54);
  font-size: 12px;
}

.auth-input-wrap input {
  padding-left: 42px;
}

.auth-input-wrap--password input {
  padding-right: 50px;
}

.password-toggle-button {
  position: absolute;
  right: 6px;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(126, 232, 255, 0.18);
  border-radius: 12px;
  color: rgba(226, 240, 255, 0.86);
  background: linear-gradient(180deg, rgba(43, 85, 172, 0.44), rgba(5, 18, 58, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.password-toggle-button:active {
  transform: translateY(-50%) scale(0.96);
}

.auth-input-wrap .password-toggle-button iconify-icon {
  position: static;
  color: currentColor;
  font-size: 18px;
  pointer-events: none;
  transform: none;
}

.profile-card .password-toggle-button {
  position: absolute;
  right: 6px;
  left: auto;
  top: 50%;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 12px;
  color: rgba(226, 240, 255, 0.9);
  background: linear-gradient(180deg, rgba(43, 85, 172, 0.44), rgba(5, 18, 58, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.game-captcha {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(126, 232, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 219, 100, 0.18), transparent 36%),
    rgba(4, 14, 46, 0.38);
}

.game-captcha > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.game-captcha-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profile-card .game-captcha-grid button {
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(126, 232, 255, 0.26);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(180deg, rgba(35, 105, 221, 0.78), rgba(8, 27, 82, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 20px rgba(0, 14, 74, 0.18);
  font-size: 22px;
}

.captcha-coin-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(255, 186, 52, 0.34));
}

.profile-card .game-captcha-grid button.is-selected {
  border-color: rgba(255, 232, 125, 0.92);
  background: linear-gradient(180deg, #fff4a8, #ffb83f);
  box-shadow: 0 0 0 2px rgba(255, 204, 79, 0.24), 0 12px 26px rgba(255, 187, 58, 0.28);
  color: #12245f;
}

.game-captcha-feedback {
  min-height: 14px;
  font-weight: 500;
}

.auth-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(68, 207, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(17, 52, 128, 0.84), rgba(9, 22, 72, 0.72));
}

.withdraw-card button,
.profile-card button {
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
}

.withdraw-card .network-select button {
  color: rgba(225, 237, 255, 0.86);
  background: rgba(5, 17, 56, 0.62);
  box-shadow: none;
}

.withdraw-card .network-select button.active {
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
}

.withdraw-submit {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 38px;
  font-size: 12px;
}

.profile-card p {
  overflow-wrap: anywhere;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 500;
}

.streak-profile-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 215, 86, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(17, 55, 132, 0.86), rgba(7, 20, 66, 0.72));
}

.streak-profile-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #10245b;
  background: linear-gradient(180deg, #ffe982 0%, #f6ba19 100%);
  box-shadow:
    0 0 16px rgba(255, 222, 86, 0.34),
    inset 0 2px 0 rgba(255, 255, 255, 0.58);
  font-size: 23px;
}

.streak-profile-card b {
  min-width: 54px;
  padding: 7px 10px;
  border-radius: 13px;
  color: #153510;
  text-align: center;
  background: linear-gradient(180deg, #d7ff95, #92ef56);
  box-shadow:
    0 0 16px rgba(146, 239, 86, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 900;
}

.sponsor-profile-card {
  display: grid;
  gap: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(81, 228, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(17, 55, 132, 0.86), rgba(7, 20, 66, 0.72));
}

.sponsor-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.sponsor-card-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #091f58;
  background: linear-gradient(145deg, #7cecff, #348bff);
  box-shadow: 0 0 18px rgba(56, 225, 255, 0.28);
  font-size: 23px;
}

.sponsor-card-head strong,
.sponsor-card-head small {
  margin: 0;
}

.sponsor-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.sponsor-data-grid > div,
.sponsor-empty {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 14px;
  background: rgba(3, 14, 47, 0.38);
}

.sponsor-data-grid small {
  margin: 0 0 4px;
  color: #51e4ff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.sponsor-data-grid p,
.sponsor-empty {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
}

.profile-links-card {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 211, 87, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(17, 52, 128, 0.84), rgba(9, 22, 72, 0.72));
}

.profile-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.profile-link-button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid rgba(126, 232, 255, 0.34);
  border-radius: 15px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(38, 130, 255, 0.9), rgba(18, 64, 176, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 22px rgba(0, 20, 82, 0.22);
  font-size: 11px;
  line-height: 1.15;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 110ms ease,
    filter 110ms ease,
    box-shadow 110ms ease;
}

.profile-link-button:active {
  transform: translateY(1px) scale(0.965);
  filter: brightness(0.94);
}

.profile-link-button iconify-icon {
  font-size: 22px;
}

.profile-link-button span {
  min-width: 0;
  font-weight: 600;
}

.legal-accept-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(126, 232, 255, 0.2);
  border-radius: 15px;
  color: rgba(232, 243, 255, 0.88);
  background: rgba(4, 14, 46, 0.34);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.profile-card .legal-accept-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #51e4ff;
}

.legal-accept-row a {
  color: #78eaff;
  font-weight: 700;
  text-decoration: none;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.avatar-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.78), rgba(10, 22, 70, 0.68));
}

.avatar-card--active {
  border-color: rgba(119, 242, 124, 0.58);
  box-shadow: 0 0 22px rgba(119, 242, 124, 0.14);
}

.avatar-card > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #27d6ff, #494bff 52%, #ff55bd);
}

.avatar-card img {
  width: 112%;
  height: 112%;
  object-fit: contain;
}

.avatar-card strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-card small {
  color: var(--text-soft);
  font-size: 11px;
}

.avatar-card button {
  min-height: 34px;
  border-radius: 12px;
  padding: 0 12px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 12px;
}

.avatar-card .avatar-usdt-button {
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
}

.avatar-actions {
  display: grid;
  width: 100%;
  gap: 6px;
}

.avatar-card .avatar-fox-button {
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
}

.avatar-pay-note {
  display: block;
  min-height: 18px;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.skin-grid {
  display: grid;
  gap: 10px;
}

.skin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(91, 177, 255, 0.28);
  border-radius: 18px;
  background: rgba(6, 18, 58, 0.72);
}

.skin-tabs button {
  min-height: 42px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(5, 17, 56, 0.72);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-coin-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  order: -1;
}

.tab-pico-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  order: -1;
  filter: brightness(0) invert(1);
  opacity: 0.76;
  transition: filter 0.2s, opacity 0.2s;
}

.skin-tabs button.active .tab-pico-img {
  filter: brightness(0.1) contrast(1.5); /* make it dark (#10205a-like) when active */
  opacity: 1;
}

.skin-tabs button.active {
  color: #10205a;
  background: linear-gradient(180deg, #57e7ff, #2b8cff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 22px rgba(43, 140, 255, 0.22);
}

.skin-section-card {
  gap: 6px;
}

.skin-store-intro button {
  justify-self: start;
  min-height: 34px;
  margin-top: 4px;
  border-radius: 12px;
  padding: 0 14px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 12px;
  font-weight: 900;
}

.skin-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 88px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.78), rgba(10, 22, 70, 0.68));
}

.skin-card--active {
  border-color: rgba(119, 242, 124, 0.58);
  box-shadow: 0 0 22px rgba(119, 242, 124, 0.14);
}

.skin-art {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 40% 22%, rgba(255, 255, 255, 0.26), transparent 36%), linear-gradient(145deg, #27d6ff, #494bff 52%, #ff55bd);
}

.skin-art img {
  width: 112%;
  height: 112%;
  object-fit: contain;
}

.skin-card div {
  min-width: 0;
}

.skin-card strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skin-meta {
  display: grid;
  gap: 4px;
  font-weight: 400;
}

.skin-generate-meta {
  color: rgba(225, 237, 255, 0.82);
  font-weight: 400;
}

.skin-meta strong {
  display: inline;
  color: #45dcff;
  font-size: inherit;
  font-weight: 900;
  white-space: nowrap;
}

.skin-price-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  color: rgba(225, 237, 255, 0.82);
}

.skin-card button,
.skins-view .empty-state button {
  min-height: 34px;
  border-radius: 12px;
  padding: 0 10px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 11px;
}

.skin-card--store {
  grid-template-columns: 72px minmax(0, 1fr);
}

.skin-card--locked {
  border-color: rgba(142, 184, 255, 0.22);
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.56), rgba(10, 22, 70, 0.52));
}

.skin-card--locked .skin-art {
  filter: saturate(0.76) brightness(0.82);
}

.skin-buy-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
}

.skin-lock-note {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(142, 184, 255, 0.28);
  border-radius: 12px;
  color: rgba(226, 238, 255, 0.84);
  background: rgba(5, 17, 56, 0.68);
  font-size: 11px;
  font-weight: 900;
}

.skin-lock-note iconify-icon {
  color: #ffd968;
  font-size: 15px;
}

.skin-buy-actions button:first-child {
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
}

.skin-buy-actions button:last-child {
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
}

.skin-buy-actions .avatar-pay-note {
  align-self: center;
}

.avatar-pay-note--usdt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(225, 237, 255, 0.82);
  font-weight: 400;
}

.usdt-note-icon {
  display: inline-grid;
  width: 30px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(69, 220, 255, 0.48);
  border-radius: 8px;
  color: #45dcff;
  background: rgba(19, 104, 205, 0.22);
  filter: drop-shadow(0 0 7px rgba(69, 220, 255, 0.44));
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

.payment-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(44px, 9dvh, 78px) 14px 26px;
  background: rgba(3, 8, 30, 0.64);
  backdrop-filter: blur(10px);
}

.payment-sheet {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 360px);
  padding: 18px 16px 16px;
  border: 1px solid rgba(98, 196, 255, 0.36);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(75, 211, 255, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(19, 62, 146, 0.96), rgba(7, 19, 66, 0.96));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.payment-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(2, 12, 44, 0.56);
}

.payment-network {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #c9eeff;
  background: rgba(5, 17, 56, 0.58);
  font-size: 12px;
}

.payment-sheet h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.payment-qr {
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  padding: 10px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.payment-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-lines {
  display: grid;
  gap: 9px;
  width: 100%;
}

.payment-copy-row {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(126, 232, 255, 0.16);
  border-radius: 16px;
  background: rgba(3, 12, 43, 0.24);
}

.payment-copy-row small,
.payment-copy-row strong {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-copy-row small {
  color: var(--text-soft);
  font-size: 10px;
  text-transform: uppercase;
}

.payment-copy-row strong {
  font-size: 13px;
}

.payment-copy-row button {
  display: inline-grid;
  grid-template-columns: 24px auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 13px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 12px;
}

.payment-copy-row button > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.payment-copy-row button iconify-icon {
  font-size: 16px;
}

.payment-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(3, 12, 43, 0.58);
}

.payment-countdown strong {
  font-size: 16px;
}

.payment-countdown small,
.payment-note {
  color: var(--text-soft);
  font-size: 11px;
}

.payment-note {
  max-width: 280px;
  margin: 0;
  text-align: center;
  line-height: 1.35;
}

.referrals-view {
  gap: 10px;
}

.referral-hero-card,
.referral-row,
.empty-state,
.referral-stats article {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.referral-hero-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 20%, rgba(69, 220, 255, 0.24), transparent 35%),
    linear-gradient(180deg, rgba(18, 58, 139, 0.82), rgba(9, 24, 76, 0.72));
}

.referral-hero-card > span {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, #32d8ff, #814fff 55%, #ff61bf);
  font-size: 30px;
}

.referral-profile-art img {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 14px;
  object-fit: cover;
  background: radial-gradient(circle at 50% 22%, rgba(69, 220, 255, 0.38), rgba(18, 58, 139, 0.86));
}

.referral-hero-card strong,
.referral-row strong,
.empty-state strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-hero-card small,
.referral-row small,
.empty-state small {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 11px;
}

.referral-hero-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  font-size: 12px;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.referral-stats article {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 15px;
  background: rgba(8, 25, 74, 0.58);
}

.referral-stats small {
  color: var(--text-soft);
  font-size: 11px;
}

.referral-stats strong {
  font-size: 15px;
}

.referral-list {
  display: grid;
  gap: 8px;
}

.unilevel-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.72), rgba(10, 22, 70, 0.62));
}

.unilevel-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
}

.unilevel-title small {
  color: var(--text-soft);
  font-size: 11px;
}

.unilevel-level-chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.unilevel-level-chips span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 12px;
  color: #c9eeff;
  background: rgba(5, 17, 56, 0.58);
  font-size: 11px;
}

.unilevel-level-chips b {
  color: #fff;
  font-size: 13px;
}

.unilevel-list {
  display: grid;
  gap: 7px;
  max-height: 240px;
  overflow-y: auto;
}

.unilevel-list article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 13px;
  background: rgba(5, 17, 56, 0.46);
}

.unilevel-list article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  font-size: 11px;
}

.network-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  box-shadow: 0 10px 22px rgba(39, 128, 255, 0.22);
  font-size: 12px;
}

.network-map-view {
  gap: 10px;
}

.earnings-view {
  gap: 10px;
}

.earnings-summary-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(82, 218, 255, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(84, 226, 255, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(12, 58, 142, 0.74), rgba(35, 20, 113, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 26px rgba(0, 18, 82, 0.18);
}

.earnings-summary-card > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(83, 216, 255, 0.52);
  border-radius: 15px;
  background: linear-gradient(180deg, #51e4ff, #267cff);
  box-shadow: 0 0 18px rgba(39, 128, 255, 0.28);
}

.earnings-summary-card iconify-icon {
  font-size: 26px;
}

.earnings-summary-card small,
.earnings-note {
  color: var(--text-soft);
}

.earnings-summary-card strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
}

.earnings-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.earnings-kpis article {
  display: grid;
  gap: 3px;
  min-height: 72px;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(126, 232, 255, 0.16);
  border-radius: 15px;
  background: rgba(8, 25, 74, 0.58);
}

.earnings-kpis small {
  color: var(--text-soft);
  font-size: 10px;
}

.earnings-kpis strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
}

.earnings-note {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(255, 218, 101, 0.24);
  border-radius: 14px;
  background: rgba(84, 58, 12, 0.24);
  font-size: 11px;
  line-height: 1.35;
}

.earnings-rules-panel,
.pack-level-list {
  display: grid;
  gap: 9px;
}

.pack-level-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(82, 218, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 45, 111, 0.7), rgba(10, 22, 70, 0.58));
}

.pack-level-card.is-active {
  border-color: rgba(255, 218, 101, 0.62);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 218, 101, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(30, 75, 154, 0.78), rgba(20, 32, 91, 0.66));
}

.pack-level-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.pack-level-card header div {
  min-width: 0;
}

.pack-level-card header strong,
.pack-level-card header small {
  display: block;
}

.pack-level-card header strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.pack-level-card header small,
.pack-level-card header b {
  color: var(--text-soft);
  font-size: 11px;
}

.pack-level-card header b {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(5, 17, 56, 0.58);
}

.pack-level-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pack-level-grid span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(5, 17, 56, 0.56);
}

.pack-level-grid small {
  color: var(--text-soft);
  font-size: 10px;
}

.pack-level-grid strong {
  color: #fff;
  font-size: 13px;
}

.pack-level-grid p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
}

.earnings-pack-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 0 5px 6px;
}

.earnings-pack-head > span {
  width: 5px;
  height: 46px;
  flex: 0 0 auto;
  margin-top: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #55ffe2, #24baff);
  box-shadow: 0 0 14px rgba(85, 255, 226, 0.72), 0 0 28px rgba(36, 186, 255, 0.42);
}

.earnings-pack-head h2,
.earnings-pack-head p {
  margin: 0;
}

.earnings-pack-head h2 {
  color: #fff;
  font-size: clamp(30px, 9.4vw, 42px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.earnings-pack-head p {
  margin-top: 10px;
  color: rgba(236, 243, 255, 0.76);
  font-size: clamp(13px, 3.8vw, 16px);
  line-height: 1.35;
}

.earnings-view .network-toolbar {
  margin-bottom: 2px;
}

.earnings-view .earnings-rules-panel {
  gap: 12px;
}

.earnings-view .pack-level-list {
  gap: 16px;
}

.earnings-view .pack-level-card {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 18px;
  border-color: rgba(110, 145, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 92%, rgba(41, 126, 255, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(10, 31, 83, 0.86), rgba(15, 12, 58, 0.78));
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.035), 0 12px 35px rgba(0, 0, 0, 0.28);
}

.earnings-view .pack-level-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(0, 230, 255, 0.82), rgba(75, 95, 255, 0.3), rgba(185, 65, 255, 0.82));
  opacity: 0.74;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.earnings-view .pack-level-card::after {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 16%;
  left: -20px;
  width: 36px;
  border-radius: 999px;
  background: rgba(0, 225, 255, 0.48);
  filter: blur(18px);
  opacity: 0.58;
  pointer-events: none;
}

.earnings-view .pack-level-card.is-active {
  border-color: rgba(72, 255, 218, 0.78);
  background:
    radial-gradient(circle at 12% 10%, rgba(72, 255, 218, 0.18), transparent 34%),
    radial-gradient(circle at 94% 92%, rgba(41, 126, 255, 0.35), transparent 34%),
    linear-gradient(135deg, rgba(9, 43, 77, 0.92), rgba(8, 20, 58, 0.82));
  box-shadow: 0 0 26px rgba(72, 255, 218, 0.2), inset 0 0 35px rgba(72, 255, 218, 0.07), 0 12px 35px rgba(0, 0, 0, 0.32);
}

.earnings-view .pack-level-card.is-active::before {
  background: linear-gradient(120deg, rgba(72, 255, 218, 1), rgba(0, 190, 255, 0.72), rgba(72, 255, 218, 0.88));
  opacity: 1;
}

.earnings-view .pack-level-card header,
.earnings-view .pack-level-grid {
  position: relative;
  z-index: 1;
}

.earnings-view .pack-level-card header {
  align-items: flex-start;
}

.pack-level-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.pack-level-title > div {
  min-width: 0;
}

.pack-level-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(72, 240, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(52, 255, 239, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(10, 45, 100, 0.78), rgba(7, 15, 52, 0.78));
  box-shadow: inset 0 0 20px rgba(0, 220, 255, 0.08), 0 0 20px rgba(0, 220, 255, 0.13);
}

.pack-level-icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.earnings-view .pack-level-card header strong {
  overflow-wrap: anywhere;
  font-size: clamp(20px, 5.5vw, 27px);
  font-weight: 900;
  letter-spacing: 0;
}

.earnings-view .pack-level-card header small {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 7px;
  color: rgba(232, 239, 255, 0.72);
  font-size: 13px;
}

.earnings-view .pack-level-card header em,
.earnings-view .pack-level-card header mark {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.earnings-view .pack-level-card header em {
  padding: 4px 10px;
  border: 1px solid rgba(160, 190, 255, 0.34);
  color: rgba(197, 205, 255, 0.92);
  background: rgba(8, 18, 58, 0.54);
}

.earnings-view .pack-level-card header mark {
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid rgba(75, 255, 209, 0.46);
  color: #65ffd7;
  background: rgba(11, 85, 62, 0.36);
  box-shadow: 0 0 14px rgba(75, 255, 209, 0.16);
}

.earnings-view .pack-level-card header mark iconify-icon {
  font-size: 15px;
}

.earnings-view .pack-level-card header > b {
  padding: 10px 15px;
  border: 1px solid rgba(197, 109, 255, 0.52);
  border-radius: 999px;
  color: rgba(235, 242, 255, 0.88);
  background: linear-gradient(180deg, rgba(154, 69, 255, 0.42), rgba(87, 36, 180, 0.34));
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.04), 0 0 18px rgba(161, 73, 255, 0.18);
  font-size: 13px;
}

.earnings-view .pack-level-card.is-active header > b {
  border-color: rgba(104, 255, 223, 0.9);
  color: #04152a;
  background: linear-gradient(180deg, #5dffdd, #23d6ae);
  box-shadow: 0 0 22px rgba(70, 255, 215, 0.34);
}

.earnings-view .pack-level-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.earnings-view .pack-level-grid.is-one {
  grid-template-columns: minmax(0, 88px);
}

.earnings-view .pack-level-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 88px));
}

.earnings-view .pack-level-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 88px));
}

.earnings-view .pack-level-grid span {
  position: relative;
  overflow: hidden;
  min-height: 64px;
  border: 1px solid rgba(94, 115, 255, 0.38);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(10, 23, 67, 0.95), rgba(5, 13, 42, 0.88));
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.035), 0 0 12px rgba(75, 94, 255, 0.08);
}

.earnings-view .pack-level-grid span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
  opacity: 0.7;
  transform: translateX(-100%);
}

.earnings-view .pack-level-grid span:hover::before {
  animation: shine 900ms ease forwards;
}

.earnings-view .pack-level-grid .is-primary {
  border-color: rgba(0, 229, 255, 0.85);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(12, 60, 130, 0.95), rgba(4, 18, 55, 0.92));
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.3), inset 0 0 20px rgba(0, 229, 255, 0.08);
}

.earnings-view .pack-level-grid small {
  color: rgba(172, 147, 255, 0.88);
  font-size: 13px;
  font-weight: 900;
}

.earnings-view .pack-level-grid .is-primary small {
  color: #52f3ff;
}

.earnings-view .pack-level-grid strong {
  color: #fff;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.1);
}

@keyframes shine {
  to {
    transform: translateX(100%);
  }
}

@keyframes button-shine {
  0% {
    transform: translateX(-80%);
  }

  45% {
    transform: translateX(80%);
  }

  100% {
    transform: translateX(80%);
  }
}

.network-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.network-toolbar button,
.network-toolbar div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.network-toolbar button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 13px;
  color: #fff;
  background: rgba(15, 43, 116, 0.74);
}

.network-toolbar div {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(5, 17, 56, 0.46);
}

.network-toolbar div button {
  width: 32px;
  min-height: 30px;
  padding: 0;
  background: linear-gradient(180deg, #51e4ff, #267cff);
}

.network-toolbar b {
  min-width: 44px;
  font-size: 12px;
  text-align: center;
}

.network-canvas {
  min-height: 520px;
  overflow: auto;
  touch-action: pan-x pan-y;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 12%, rgba(69, 220, 255, 0.2), transparent 34%),
    rgba(5, 17, 56, 0.36);
}

.network-scale {
  display: grid;
  justify-items: center;
  gap: 22px;
  min-width: 720px;
  padding: 22px 18px 34px;
  transform: scale(var(--network-scale));
  transform-origin: top center;
}

.network-root,
.network-node {
  display: grid;
  justify-items: center;
  gap: 5px;
  position: relative;
  width: 116px;
  min-height: 112px;
  padding: 10px 8px;
  border: 1px solid rgba(126, 232, 255, 0.38);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 58, 139, 0.86), rgba(9, 24, 76, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 14px 28px rgba(0, 15, 66, 0.2);
}

.network-root > span,
.network-node > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, #27d6ff, #494bff 52%, #ff55bd);
  box-shadow: 0 0 0 2px rgba(176, 74, 255, 0.62), 0 0 18px rgba(55, 208, 255, 0.34);
  font-size: 30px;
}

.network-root img {
  width: 118%;
  height: 118%;
  object-fit: contain;
}

.network-root strong,
.network-node strong,
.network-root small,
.network-node small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-root strong,
.network-node strong {
  font-size: 13px;
}

.network-root small,
.network-node small {
  color: var(--text-soft);
  font-size: 10px;
}

.network-branch {
  display: grid;
  gap: 24px;
  justify-items: center;
  position: relative;
}

.network-branch.has-children::before {
  content: "";
  width: 2px;
  height: 24px;
  margin-top: -24px;
  background: linear-gradient(180deg, rgba(126, 232, 255, 0.78), rgba(126, 232, 255, 0.18));
}

.network-level {
  display: grid;
  gap: 12px;
  justify-items: center;
  position: relative;
}

.network-level header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #c9eeff;
  background: rgba(5, 17, 56, 0.66);
  font-size: 12px;
}

.network-level header b {
  color: #fff;
}

.network-level > div {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  padding-top: 18px;
}

.network-level > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 58px;
  right: 58px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 232, 255, 0.7), transparent);
}

.network-node::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 2px;
  height: 18px;
  background: rgba(126, 232, 255, 0.56);
}

.network-empty {
  width: min(100%, 360px);
}

.unilevel-list strong,
.unilevel-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unilevel-list small {
  color: var(--text-soft);
  font-size: 10px;
}

.referral-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 9px;
  border-radius: 17px;
  background: rgba(8, 25, 74, 0.58);
}

.referral-row > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(69, 220, 255, 0.14);
  color: var(--cyan);
  font-size: 24px;
}

.referral-row b {
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(15, 43, 116, 0.74);
  font-size: 12px;
  white-space: nowrap;
}

.referral-country-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.referral-country-line span:not(.country-flag) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(8, 25, 74, 0.52);
  text-align: center;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 86px;
  z-index: 40;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #fff;
  background: rgba(5, 16, 48, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.video-claim {
  min-height: 40px;
  border-radius: 14px;
  color: #10205a;
  background: linear-gradient(180deg, #fff4a8, #ffcd4d);
  font-size: 13px;
}

.loading-view {
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
}

.fox-loading {
  grid-row: 1 / -1;
  align-content: center;
  justify-items: center;
  gap: 22px;
  min-height: 100dvh;
  padding: 28px 18px;
}

.loading-brand {
  display: inline-grid;
  grid-template-columns: 54px auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(126, 232, 255, 0.36);
  border-radius: 20px;
  background: rgba(7, 26, 78, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px rgba(0, 12, 60, 0.22);
}

.loading-logo,
.loading-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(126, 232, 255, 0.96);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.46), transparent 28%),
    linear-gradient(145deg, #27d6ff, #494bff 52%, #ff55bd);
  box-shadow:
    0 0 0 2px rgba(167, 70, 255, 0.72),
    0 0 22px rgba(75, 226, 255, 0.48);
}

.loading-logo {
  width: 48px;
  height: 48px;
}

.loading-logo img,
.loading-avatar img {
  width: 118%;
  height: 118%;
  object-fit: contain;
}

.loading-brand strong,
.loading-brand small {
  display: block;
}

.loading-brand strong {
  font-size: 20px;
  line-height: 1;
}

.loading-brand small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
}

.loading-track {
  position: relative;
  width: min(92%, 360px);
  height: 54px;
  padding: 5px 70px 5px 6px;
  border: 2px solid rgba(172, 183, 255, 0.78);
  border-left-color: rgba(56, 245, 255, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 28px rgba(71, 224, 255, 0.18);
}

.loading-fill {
  position: relative;
  width: var(--progress);
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #20e8e7 0%, #287cff 52%, #8d52ff 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    inset 0 -6px 12px rgba(4, 26, 119, 0.2),
    0 0 24px rgba(64, 225, 255, 0.34);
  transition: width 180ms ease;
}

.loading-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 18px 17px, rgba(255, 255, 255, 0.55) 0 4px, transparent 4.5px),
    radial-gradient(circle at 10px 24px, rgba(255, 255, 255, 0.36) 0 3px, transparent 3.5px),
    radial-gradient(circle at 18px 28px, rgba(255, 255, 255, 0.36) 0 3px, transparent 3.5px),
    radial-gradient(circle at 26px 24px, rgba(255, 255, 255, 0.36) 0 3px, transparent 3.5px);
  background-size: 58px 42px;
  animation: loadingPaws 1.8s linear infinite;
}

.loading-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.38) 48%, transparent 58% 100%);
  transform: translateX(-110%);
  animation: loadingShine 1.65s ease-in-out infinite;
}

.loading-paws {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.loading-avatar {
  position: absolute;
  top: 50%;
  left: clamp(42px, var(--progress), calc(100% - 74px));
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  transition: left 180ms ease;
}

.loading-track b {
  position: absolute;
  top: 50%;
  right: 18px;
  color: rgba(238, 233, 255, 0.86);
  font-family: var(--font-sans);
  font-size: 24px;
  transform: translateY(-50%);
}

@keyframes loadingPaws {
  to {
    background-position: 58px 0;
  }
}

@keyframes loadingShine {
  0% {
    transform: translateX(-110%);
  }

  55%,
  100% {
    transform: translateX(110%);
  }
}

.blocked-view {
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
}

.blocked-view iconify-icon {
  margin: 0 auto;
  color: #ffcf5a;
  font-size: 54px;
}

.blocked-view h1 {
  margin: 0;
  font-size: 28px;
}

.blocked-view p {
  max-width: 300px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.blocked-view small {
  max-width: 280px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.45;
}

.leaderboard-view {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  align-content: stretch;
  gap: clamp(10px, 1.8dvh, 14px);
  min-height: 0;
  height: 100%;
  padding: clamp(12px, 2dvh, 18px) clamp(14px, 4vw, 24px) calc(var(--nav-space) + 16px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.leaderboard-view::-webkit-scrollbar {
  display: none;
}

.leaderboard-view::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 0;
  width: min(88vw, 360px);
  height: 148px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0, rgba(86, 225, 255, 0.44), transparent 58%),
    linear-gradient(180deg, rgba(81, 203, 255, 0.2), transparent);
  filter: blur(2px);
  transform: translateX(-50%);
}

.leader-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(44px, 7dvh, 54px);
  font-family: var(--font-sans);
  font-size: clamp(24px, 7.4vw, 34px);
}

.offline-banner {
  justify-self: center;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(255, 210, 87, 0.42);
  border-radius: 999px;
  color: rgba(255, 236, 190, 0.94);
  background: rgba(70, 45, 4, 0.36);
  font-size: clamp(11px, 3.1vw, 13px);
}

.offline-banner--cap {
  border-radius: 16px;
  line-height: 1.25;
  text-align: center;
}

.leader-title iconify-icon {
  font-size: clamp(38px, 11vw, 50px);
  filter: drop-shadow(0 10px 18px rgba(255, 180, 0, 0.38));
}

.leader-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.leader-metrics article {
  display: grid;
  grid-template-columns: clamp(38px, 11vw, 48px) minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: clamp(52px, 8dvh, 64px);
  padding: 9px 12px;
  border: 1px solid rgba(139, 204, 255, 0.38);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 22%, rgba(67, 179, 255, 0.3), transparent 34%),
    linear-gradient(180deg, rgba(19, 55, 132, 0.86), rgba(19, 42, 105, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 24px rgba(0, 17, 82, 0.2);
}

.leader-metrics article:first-child {
  border-color: rgba(255, 204, 87, 0.8);
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 190, 38, 0.34), transparent 30%),
    linear-gradient(180deg, rgba(31, 73, 155, 0.88), rgba(20, 47, 122, 0.78));
}

.leader-metrics article > span {
  display: grid;
  place-items: center;
  width: clamp(38px, 11vw, 48px);
  height: clamp(38px, 11vw, 48px);
  font-size: clamp(36px, 10vw, 44px);
  filter: drop-shadow(0 8px 12px rgba(255, 176, 0, 0.32));
}

.leader-metrics small,
.season-clock span {
  display: block;
  color: rgba(211, 224, 255, 0.72);
  font-size: clamp(11px, 3.3vw, 14px);
}

.leader-metrics strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1.05;
}

.season-clock {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #fff;
  letter-spacing: 0;
}

.season-clock .season-status-image {
  width: min(100%, 220px);
  height: 76px;
  margin-bottom: 4px;
}

.season-status-image-button {
  display: grid;
  width: min(100%, 220px);
  margin: 0 0 4px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
}

.season-status-image-button .season-status-image {
  width: 100%;
  margin: 0;
}

.season-status-image-button:focus-visible {
  outline: 2px solid rgba(81, 228, 255, 0.92);
  outline-offset: 3px;
}

.season-clock span {
  font-size: clamp(13px, 4vw, 16px);
  text-transform: uppercase;
}

.season-clock strong {
  font-size: clamp(16px, 4.4vw, 20px);
}

.season-clock small,
.ranking-only {
  color: rgba(255, 224, 138, 0.92);
  font-size: clamp(12px, 3.4vw, 14px);
  font-weight: 800;
}

.ranking-only {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(98, 159, 255, 0.24);
  border-radius: 14px;
  background: rgba(11, 45, 112, 0.28);
}

.season-status-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 78px;
  border: 1px solid rgba(98, 159, 255, 0.32);
  border-radius: 16px;
  padding: 12px;
  background:
    radial-gradient(circle at 10% 20%, rgba(48, 219, 255, 0.2), transparent 35%),
    linear-gradient(135deg, rgba(12, 58, 142, 0.66), rgba(27, 17, 92, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 28px rgba(4, 15, 60, 0.22);
}

.season-status-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(83, 216, 255, 0.5);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(38, 179, 255, 0.92), rgba(38, 95, 218, 0.74));
  box-shadow: 0 0 18px rgba(33, 189, 255, 0.34);
}

.season-status-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid rgba(83, 216, 255, 0.5);
  border-radius: 14px;
  background: rgba(12, 35, 92, 0.72);
  box-shadow: 0 0 18px rgba(33, 189, 255, 0.28);
}

.season-status-card iconify-icon {
  font-size: 24px;
}

.season-status-card strong,
.season-status-card small,
.season-status-card p {
  display: block;
  margin: 0;
}

.season-status-card strong {
  color: #fff;
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.15;
}

.season-status-card small {
  margin-top: 3px;
  color: rgba(226, 236, 255, 0.84);
  font-size: clamp(12px, 3.3vw, 14px);
  font-weight: 600;
}

.season-status-card p {
  margin-top: 5px;
  color: rgba(255, 224, 138, 0.94);
  font-size: clamp(11px, 3.1vw, 13px);
  font-weight: 600;
  line-height: 1.35;
}

.season-status-card--ended > span {
  border-color: rgba(255, 218, 101, 0.62);
  background: linear-gradient(180deg, rgba(255, 194, 72, 0.95), rgba(255, 127, 48, 0.78));
  box-shadow: 0 0 18px rgba(255, 176, 60, 0.32);
}

.season-status-card--paid > span {
  border-color: rgba(96, 255, 203, 0.62);
  background: linear-gradient(180deg, rgba(72, 244, 190, 0.96), rgba(20, 153, 223, 0.78));
  box-shadow: 0 0 18px rgba(63, 239, 195, 0.34);
}

.leader-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 4vw, 20px);
}

.leader-tabs button {
  min-height: clamp(42px, 6.5dvh, 52px);
  color: rgba(226, 235, 255, 0.78);
  border-radius: 9px;
  background: rgba(15, 47, 119, 0.42);
  font-size: clamp(14px, 4.1vw, 17px);
}

.leader-tabs button.active {
  color: #fff;
  background: linear-gradient(180deg, #348cff, #2168ff);
  box-shadow: 0 12px 22px rgba(23, 91, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.leaderboard-card {
  display: grid;
  gap: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 46% 0%, rgba(255, 212, 176, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(39, 76, 166, 0.78), rgba(41, 47, 115, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 36px rgba(0, 14, 74, 0.24);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.leaderboard-card::-webkit-scrollbar {
  display: none;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: clamp(48px, 13vw, 58px) minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: clamp(60px, 8.8dvh, 72px);
  padding: 8px clamp(12px, 4vw, 18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-row.is-current {
  background: linear-gradient(90deg, rgba(57, 179, 255, 0.16), transparent 58%);
}

.leader-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(46px, 12.2vw, 54px);
  height: clamp(46px, 12.2vw, 54px);
  overflow: hidden;
  border: 2px solid #38d8ff;
  border-radius: 13px;
  background: linear-gradient(145deg, #26d6ff, #5452ff 54%, #ff63c2);
  box-shadow: 0 0 0 2px rgba(176, 74, 255, 0.62), 0 0 18px rgba(55, 208, 255, 0.34);
  font-size: clamp(30px, 8vw, 38px);
}

.leader-avatar img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  object-position: center 76%;
}

.leaderboard-row strong {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  font-size: clamp(17px, 4.7vw, 21px);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-flag {
  flex: 0 0 auto;
  font-size: 0.95em;
  line-height: 1;
}

.leader-country-flag-img {
  flex: 0 0 auto;
  width: 18px;
  height: 13px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.18);
}

.leader-country-globe {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #51e4ff;
  font-size: 15px;
  line-height: 1;
}

.leaderboard-row strong span:not(.country-flag) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-row small {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 3px;
  color: rgba(214, 225, 255, 0.74);
  font-size: clamp(11px, 3.3vw, 14px);
  text-transform: uppercase;
}

.leaderboard-row small b {
  padding: 1px 6px;
  border-radius: 6px;
  color: #173311;
  background: linear-gradient(180deg, #d2ff9b, #9bea61);
}

.leader-player-rank {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 6px;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(214, 225, 255, 0.78);
  font-size: clamp(11px, 3vw, 13px);
  line-height: 1.1;
}

.leader-player-rank > span:last-child {
  min-width: 0;
  overflow: hidden;
  color: #45dcff;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-rank-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(69, 220, 255, 0.28);
  border-radius: 7px;
  background: rgba(5, 17, 56, 0.58);
  color: #45dcff;
  box-shadow: 0 0 12px rgba(69, 220, 255, 0.16);
}

.leader-rank-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.leader-rank-mark iconify-icon {
  font-size: 15px;
}

.leader-coins {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: clamp(86px, 26vw, 108px);
  padding: 9px 11px;
  border-radius: 13px;
  background: rgba(15, 43, 116, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-size: clamp(17px, 5vw, 22px);
}

.leader-coins .coin-img {
  width: clamp(21px, 6vw, 26px);
  height: clamp(21px, 6vw, 26px);
}

.roulette-page {
  display: grid;
  align-content: start;
  justify-items: center;
  height: 100%;
  min-height: 0;
  padding: clamp(10px, 3vw, 14px) clamp(12px, 4vw, 18px) calc(var(--nav-space) + 10px);
  overflow-y: auto;
  overflow-x: hidden;
}

.roulette-stage {
  position: relative;
  display: grid;
  width: min(88vw, 346px);
  aspect-ratio: 1;
  margin-top: clamp(10px, 2.8dvh, 20px);
  place-items: center;
  overflow: visible;
}

.roulette-ticket-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(126, 232, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 18, 58, 0.5);
  font-size: clamp(13px, 3.8vw, 15px);
  font-weight: 850;
}

.roulette-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(85, 230, 255, 0.18), transparent 56%),
    conic-gradient(from 90deg, rgba(94, 238, 255, 0.58), rgba(156, 110, 255, 0.5), rgba(255, 72, 190, 0.38), rgba(94, 238, 255, 0.58));
  filter: blur(14px);
  opacity: 0.9;
}

.roulette-pointer {
  position: absolute;
  top: -7px;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 54px;
  height: 46px;
  place-items: center;
  color: #fff2a2;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 12px rgba(0, 15, 70, 0.52));
  font-size: 46px;
}

.roulette-wheel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 4px solid rgba(129, 245, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 248, 255, 0.98) 0 24%, transparent 24.4%),
    conic-gradient(from -90deg, var(--wheel-gradient));
  filter:
    drop-shadow(0 22px 30px rgba(0, 16, 69, 0.5))
    drop-shadow(0 0 28px rgba(96, 232, 255, 0.4));
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.16),
    inset 0 0 0 18px rgba(9, 30, 92, 0.18),
    inset 0 0 34px rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(153, 103, 255, 0.68);
}

.roulette-wheel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(1, 8, 40, 0.38),
    0 0 14px rgba(126, 232, 255, 0.34);
}

.roulette-ring {
  position: absolute;
  inset: 4px;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(3, 12, 52, 0.08) 34.5% 35.8%, transparent 36.2%),
    radial-gradient(circle, transparent 0 57%, rgba(255, 255, 255, 0.18) 57.5% 59%, transparent 59.4%),
    radial-gradient(circle, transparent 0 78%, rgba(3, 12, 52, 0.16) 78.5% 100%);
  pointer-events: none;
}

.roulette-slice {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: clamp(54px, 16vw, 70px);
  min-height: clamp(74px, 21vw, 92px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(var(--slice-angle)) translateY(clamp(-112px, -30vw, -94px)) translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
  z-index: 2;
}

.roulette-prize-icon {
  display: grid;
  width: clamp(25px, 7vw, 32px);
  height: clamp(25px, 7vw, 32px);
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 3px 5px rgba(0, 10, 44, 0.38));
}

.roulette-slice img,
.roulette-slice .coin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.roulette-slice iconify-icon {
  font-size: clamp(18px, 5.4vw, 24px);
}

.roulette-slice b {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(10px, 3.05vw, 13px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 2px 5px rgba(0, 12, 58, 0.78);
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.roulette-slice--none {
  opacity: 1;
}

.roulette-slice--skin .roulette-prize-icon {
  background: transparent;
}

.roulette-slice--tokens .roulette-prize-icon,
.roulette-slice--tickets .roulette-prize-icon {
  background: transparent;
}

.roulette-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: clamp(78px, 23vw, 94px);
  height: clamp(78px, 23vw, 94px);
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(130, 130, 130, 0.78);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1), rgba(246, 248, 255, 1));
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.26),
    0 0 26px rgba(5, 22, 77, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
}

.roulette-hub strong {
  color: rgba(130, 130, 130, 0.78);
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.codepen-roulette {
  display: block;
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: calc(var(--wheel-size) * 0.03);
  filter:
    drop-shadow(0 22px 30px rgba(0, 16, 69, 0.5))
    drop-shadow(0 0 28px rgba(96, 232, 255, 0.42));
}

.codepen-roulette .shadow {
  display: block;
  position: absolute;
  inset: 0;
  border: 4px solid rgba(129, 245, 255, 0.88);
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(153, 103, 255, 0.68),
    0 0 24px rgba(81, 228, 255, 0.42),
    inset 0 0.3em 0 rgba(0, 0, 0, 0.22),
    inset 0 0 0 10px rgba(255, 255, 255, 0.12),
    inset 0 0 0 19px rgba(9, 30, 92, 0.16);
  pointer-events: none;
}

.codepen-roulette .markers {
  display: block;
  position: absolute;
  inset: -1px;
  overflow: hidden;
  border-radius: 100%;
  pointer-events: none;
}

.codepen-roulette .markers .triangle {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 0;
  height: 0;
  margin-top: -1.25em;
  border-style: solid;
  border-width: 1.25em 0 1.25em 1.25em;
  border-color: transparent transparent transparent #fff2a2;
  filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
}

.codepen-roulette .spinner {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  transform: rotateZ(0deg);
  backface-visibility: hidden;
}

.codepen-roulette .spinner::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(1, 8, 40, 0.32),
    inset 0 0 0 72px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.codepen-roulette .item {
  position: absolute;
  width: 0;
  height: 0;
  top: calc(var(--wheel-size) * -0.5);
  left: calc(var(--wheel-size) * 0.5);
  border: 0 solid transparent;
  transform-origin: 0% var(--wheel-size);
}

.codepen-roulette .label {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  font-size: 0.56em;
  font-weight: 500;
  white-space: nowrap;
  transform-origin: 0 0;
  text-shadow: 0 2px 5px rgba(0, 12, 58, 0.72);
}

.codepen-roulette .label .roulette-prize-icon,
.codepen-roulette .label .text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 1em;
  font-weight: 500;
  text-indent: 0 !important;
}

.codepen-roulette .label .roulette-prize-icon {
  width: 1.45em;
  height: 1.45em;
  flex: 0 0 1.45em;
  margin-right: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55em;
  background: rgba(5, 12, 38, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0.2em 0.45em rgba(0, 8, 35, 0.28);
  filter: drop-shadow(0 2px 4px rgba(0, 10, 44, 0.34));
}

.codepen-roulette .label .roulette-prize-icon img,
.codepen-roulette .label .roulette-prize-icon .coin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.codepen-roulette .label iconify-icon {
  font-size: 1.3em;
}

.codepen-roulette .item[data-type="quiz"] .label {
  font-size: 0.78em;
  font-weight: 500;
}

.codepen-roulette .item[data-type="question"] .label {
  font-size: 0.62em;
  font-weight: 500;
}

.codepen-roulette .item[data-type="question"] .roulette-prize-icon {
  width: 1.65em;
  height: 1.65em;
  flex-basis: 1.65em;
  border-radius: 0.58em;
  background: rgba(5, 12, 38, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0.25em 0.55em rgba(0, 8, 35, 0.34);
  padding: 0.15em;
}

.codepen-roulette .item[data-type="replay"] .label .text {
  display: inline-block;
  width: auto;
  max-width: 8.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.05;
}

.codepen-roulette .label .text {
  text-align: inherit;
}

.codepen-roulette .button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: 10em;
  height: 10em;
  margin-top: -5em;
  margin-left: -5em;
  border: 0;
  border-radius: 100%;
  outline: none;
  color: #999;
  background: #fff;
  box-shadow: 0 0.4em 0 rgba(0, 0, 0, 0.25);
  font-weight: 900;
  line-height: 10em;
  text-align: center;
  user-select: none;
  transition: transform 150ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.codepen-roulette .button span {
  color: rgba(130, 130, 130, 0.78);
  font-size: 1.65em;
  letter-spacing: -0.05em;
}

.codepen-roulette .button:active {
  transform: scale(0.92);
  box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
}

.codepen-roulette .button:disabled {
  cursor: default;
  opacity: 1;
}

.roulette-note {
  width: min(88%, 340px);
  margin: clamp(10px, 2.4dvh, 16px) 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(126, 232, 255, 0.24);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(4, 18, 58, 0.44);
  text-align: center;
  font-size: clamp(12px, 3.5vw, 14px);
  font-weight: 400;
  line-height: 1.35;
}

.roulette-note--result {
  border-color: rgba(255, 210, 87, 0.52);
  background: rgba(74, 48, 5, 0.44);
}

.roulette-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: clamp(10px, 2.2dvh, 14px);
  padding: 0 18px;
  border: 1px solid rgba(126, 232, 255, 0.48);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(62, 188, 255, 0.95), rgba(37, 128, 255, 0.95));
  box-shadow: 0 14px 30px rgba(19, 95, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 500;
}

.roulette-spin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: clamp(10px, 2.2dvh, 14px);
  padding: 0 22px;
  border-radius: 999px;
  color: #07184c;
  background: linear-gradient(180deg, #fff19a, #ffd257);
  box-shadow: 0 14px 30px rgba(255, 210, 87, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.roulette-spin-button:disabled {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 24, 72, 0.72);
  box-shadow: none;
}

.roulette-cost {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 400;
}

:is(
  .quick-action:not(.accent),
  .buy-button,
  .referral-hero button,
  .install-banner-action,
  .app-update-prompt button,
  .pack-card button:not(.pack-fox-button),
  .task-row b,
  .skin-claim-action,
  .daily-ticket-primary,
  .skin-confirm-primary,
  .roulette-spin-button,
  .skin-store-intro button,
  .skin-card button,
  .skins-view .empty-state button,
  .avatar-card button:not(.avatar-usdt-button),
  .skin-buy-actions button:last-child
) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 239, 157, 0.95);
  color: #08205a;
  background: linear-gradient(180deg, #fff7aa 0%, #ffda5e 48%, #f2ad24 100%);
  box-shadow:
    0 0 8px rgba(255, 226, 92, 0.8),
    0 0 20px rgba(255, 188, 42, 0.52),
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -4px 8px rgba(155, 91, 0, 0.32);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

:is(
  .quick-action.accent,
  .claim-button,
  .wallet-actions button,
  .wallet-history-tabs button.active,
  .pack-actions .pack-fox-button,
  .task-row .task-check-badge--progress,
  .network-select button.active,
  .crypto-network-select button.active,
  .withdraw-card button,
  .profile-card button,
  .withdraw-submit,
  .skin-tabs button.active,
  .skin-buy-actions button:first-child,
  .avatar-card .avatar-usdt-button,
  .roulette-prize-primary,
  .roulette-back,
  .leader-tabs button.active,
  .network-open-button
) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(155, 250, 255, 0.95);
  color: #06214d;
  background: linear-gradient(180deg, #69eaff 0%, #33c7ff 45%, #1596ee 100%);
  box-shadow:
    0 0 8px rgba(56, 225, 255, 0.9),
    0 0 22px rgba(20, 181, 255, 0.65),
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -4px 8px rgba(0, 70, 170, 0.38);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

:is(
  .quick-action:not(.accent),
  .buy-button,
  .referral-hero button,
  .install-banner-action,
  .app-update-prompt button,
  .pack-card button:not(.pack-fox-button),
  .task-row b,
  .skin-claim-action,
  .daily-ticket-primary,
  .skin-confirm-primary,
  .roulette-spin-button,
  .skin-store-intro button,
  .skin-card button,
  .skins-view .empty-state button,
  .avatar-card button:not(.avatar-usdt-button),
  .skin-buy-actions button:last-child,
  .quick-action.accent,
  .claim-button,
  .wallet-actions button,
  .wallet-history-tabs button.active,
  .pack-actions .pack-fox-button,
  .task-row .task-check-badge--progress,
  .network-select button.active,
  .crypto-network-select button.active,
  .withdraw-card button,
  .profile-card button,
  .withdraw-submit,
  .skin-tabs button.active,
  .skin-buy-actions button:first-child,
  .avatar-card .avatar-usdt-button,
  .roulette-prize-primary,
  .roulette-back,
  .leader-tabs button.active,
  .network-open-button
)::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  right: 5px;
  z-index: 0;
  height: 45%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

:is(
  .quick-action:not(.accent),
  .buy-button,
  .referral-hero button,
  .install-banner-action,
  .app-update-prompt button,
  .pack-card button:not(.pack-fox-button),
  .task-row b,
  .skin-claim-action,
  .daily-ticket-primary,
  .skin-confirm-primary,
  .roulette-spin-button,
  .skin-store-intro button,
  .skin-card button,
  .skins-view .empty-state button,
  .avatar-card button:not(.avatar-usdt-button),
  .skin-buy-actions button:last-child,
  .quick-action.accent,
  .claim-button,
  .wallet-actions button,
  .wallet-history-tabs button.active,
  .pack-actions .pack-fox-button,
  .task-row .task-check-badge--progress,
  .network-select button.active,
  .crypto-network-select button.active,
  .withdraw-card button,
  .profile-card button,
  .withdraw-submit,
  .skin-tabs button.active,
  .skin-buy-actions button:first-child,
  .avatar-card .avatar-usdt-button,
  .roulette-prize-primary,
  .roulette-back,
  .leader-tabs button.active,
  .network-open-button
)::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-80%);
  animation: button-shine 3s infinite;
  pointer-events: none;
}

:is(
  .quick-action:not(.accent),
  .buy-button,
  .referral-hero button,
  .install-banner-action,
  .app-update-prompt button,
  .pack-card button:not(.pack-fox-button),
  .task-row b,
  .skin-claim-action,
  .daily-ticket-primary,
  .skin-confirm-primary,
  .roulette-spin-button,
  .skin-store-intro button,
  .skin-card button,
  .skins-view .empty-state button,
  .avatar-card button:not(.avatar-usdt-button),
  .skin-buy-actions button:last-child,
  .quick-action.accent,
  .claim-button,
  .wallet-actions button,
  .wallet-history-tabs button.active,
  .pack-actions .pack-fox-button,
  .task-row .task-check-badge--progress,
  .network-select button.active,
  .crypto-network-select button.active,
  .withdraw-card button,
  .profile-card button,
  .withdraw-submit,
  .skin-tabs button.active,
  .skin-buy-actions button:first-child,
  .avatar-card .avatar-usdt-button,
  .roulette-prize-primary,
  .roulette-back,
  .leader-tabs button.active,
  .network-open-button
):disabled::after {
  animation: none;
  opacity: 0;
}

:is(
  .quick-action:not(.accent),
  .buy-button,
  .referral-hero button,
  .install-banner-action,
  .app-update-prompt button,
  .pack-card button:not(.pack-fox-button),
  .task-row b,
  .skin-claim-action,
  .daily-ticket-primary,
  .skin-confirm-primary,
  .roulette-spin-button,
  .skin-store-intro button,
  .skin-card button,
  .skins-view .empty-state button,
  .avatar-card button:not(.avatar-usdt-button),
  .skin-buy-actions button:last-child,
  .quick-action.accent,
  .claim-button,
  .wallet-actions button,
  .wallet-history-tabs button.active,
  .pack-actions .pack-fox-button,
  .task-row .task-check-badge--progress,
  .network-select button.active,
  .crypto-network-select button.active,
  .withdraw-card button,
  .profile-card button,
  .withdraw-submit,
  .skin-tabs button.active,
  .skin-buy-actions button:first-child,
  .avatar-card .avatar-usdt-button,
  .roulette-prize-primary,
  .roulette-back,
  .leader-tabs button.active,
  .network-open-button
) > * {
  position: relative;
  z-index: 1;
}

.nav-item iconify-icon {
  font-size: clamp(18px, 5.4vw, 22px);
}

.nav-icon-img {
  width: clamp(18px, 5.4vw, 22px);
  height: clamp(18px, 5.4vw, 22px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.2s;
}

.nav-item.active .nav-icon-img {
  opacity: 1;
}

.nav-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(180deg, var(--pink), #8b54ff);
  box-shadow: 0 9px 18px rgba(255, 85, 189, 0.26);
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: max(5px, calc(env(safe-area-inset-bottom) * 0.35));
  z-index: 10;
  width: 104px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.tap-pop {
  position: absolute;
  z-index: 30;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  pointer-events: none;
  text-shadow: 0 4px 13px rgba(0, 33, 130, 0.45);
  animation: pop-up 640ms ease-out forwards;
}

.tap-pop.boost {
  color: var(--green);
}

.tap-pop.warn {
  color: #ffb1c9;
}

@keyframes pop-up {
  from {
    opacity: 0;
    transform: translate(-50%, -10%) scale(0.82);
  }

  18% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translate(-50%, -150%) scale(1.12);
  }
}

@keyframes pull-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes softPulse {
  0%,
  100% {
    filter: brightness(1);
    transform: translateY(0);
  }

  50% {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }
}

@keyframes roulette-press-pulse {
  0% {
    opacity: 0.78;
    transform: scale(0.74);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes fox-idle {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(-5px) scale(1.015);
  }
}

@keyframes fox-hit {
  0% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(2px) scale(0.985, 1.012);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

@keyframes fox-sleep {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1, 0.992) rotate(-1deg);
  }

  50% {
    transform: translateX(-50%) translateY(3px) scale(1.012, 1) rotate(1deg);
  }
}

@keyframes sleep-z-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.68) rotate(-10deg);
  }

  18% {
    opacity: 0.95;
  }

  78% {
    opacity: 0.75;
  }

  100% {
    opacity: 0;
    transform: translate3d(18px, -58px, 0) scale(1.18) rotate(8deg);
  }
}

@keyframes ring-rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes roulette-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes skinPreviewIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skinPreviewFloat {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 18px 34px rgba(39, 128, 255, 0.3),
      0 0 28px rgba(126, 232, 255, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  50% {
    transform: translateY(-5px);
    box-shadow:
      0 22px 40px rgba(39, 128, 255, 0.36),
      0 0 34px rgba(126, 232, 255, 0.46),
      inset 0 1px 0 rgba(255, 255, 255, 0.38);
  }
}

@keyframes skinPreviewGlow {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes skin-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@keyframes ring-hit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.99);
  }

  to {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(16px, -12px, 0) scale(1.08);
  }
}

@media (min-width: 390px) and (min-height: 760px) {
  .tap-target {
    height: clamp(282px, calc(100dvh - 430px), 378px);
  }
}

@media (max-width: 350px), (max-height: 660px) {
  .profile-row {
    min-height: 50px;
  }

  .hero-stage {
    padding-top: 8px;
    padding-bottom: var(--nav-space);
  }

  .tap-phone.has-install-banner .hero-stage {
    padding-top: 6px;
    padding-bottom: var(--nav-space);
  }

  .status-strip {
    padding: 6px;
  }

  .tap-target {
    width: clamp(186px, 66vw, 236px);
    height: clamp(210px, calc(100dvh - 374px), 280px);
  }

  .tap-phone.has-install-banner .tap-target {
    height: clamp(190px, calc(100dvh - 438px), 250px);
  }

  .main-balance {
    margin-top: 8px;
    font-size: clamp(30px, 10vw, 38px);
  }

  .pack-card,
  .task-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 8px;
  }

  .withdraw-card {
    grid-template-columns: 1fr;
    min-height: max-content;
    padding: 10px;
  }

  .withdraw-headline {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .bottom-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }
}

@media (max-height: 570px) {
  .status-strip {
    display: none;
  }

  .tap-target {
    height: clamp(196px, calc(100dvh - 318px), 250px);
  }

  .tap-phone.has-install-banner .tap-target {
    height: clamp(172px, calc(100dvh - 392px), 220px);
  }

  .energy-panel {
    padding: 8px;
  }

  .nav-item {
    min-height: 39px;
  }

  .install-banner {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 5px;
    padding: 5px;
    margin-right: 13px;
  }

  .install-banner-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .install-banner-action {
    min-height: 30px;
    padding: 0 9px;
  }
}

.profile-card .auth-input-wrap .password-toggle-button {
  position: absolute;
  right: 6px;
  left: auto;
  top: 50%;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 12px;
  color: rgba(226, 240, 255, 0.9);
  background: linear-gradient(180deg, rgba(43, 85, 172, 0.44), rgba(5, 18, 58, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.profile-card .auth-input-wrap .password-toggle-button iconify-icon {
  position: static;
  color: currentColor;
  font-size: 18px;
  transform: none;
}

.pack-card button.pack-info-trigger {
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: inherit !important;
  text-shadow: none !important;
}

.pack-card button.pack-card-art.pack-info-trigger {
  width: 84px !important;
  height: 76px !important;
}

.pack-card button.pack-cap-showcase.pack-info-trigger {
  display: grid !important;
  width: 100% !important;
}

    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes skin-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@keyframes ring-hit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.99);
  }

  to {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(16px, -12px, 0) scale(1.08);
  }
}

@media (min-width: 390px) and (min-height: 760px) {
  .tap-target {
    height: clamp(282px, calc(100dvh - 430px), 378px);
  }
}

@media (max-width: 350px), (max-height: 660px) {
  .profile-row {
    min-height: 50px;
  }

  .hero-stage {
    padding-top: 8px;
    padding-bottom: var(--nav-space);
  }

  .tap-phone.has-install-banner .hero-stage {
    padding-top: 6px;
    padding-bottom: var(--nav-space);
  }

  .status-strip {
    padding: 6px;
  }

  .tap-target {
    width: clamp(186px, 66vw, 236px);
    height: clamp(210px, calc(100dvh - 374px), 280px);
  }

  .tap-phone.has-install-banner .tap-target {
    height: clamp(190px, calc(100dvh - 438px), 250px);
  }

  .main-balance {
    margin-top: 8px;
    font-size: clamp(30px, 10vw, 38px);
  }

  .pack-card,
  .task-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 8px;
  }

  .withdraw-card {
    grid-template-columns: 1fr;
    min-height: max-content;
    padding: 10px;
  }

  .withdraw-headline {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .bottom-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }
}

@media (max-height: 570px) {
  .status-strip {
    display: none;
  }

  .tap-target {
    height: clamp(196px, calc(100dvh - 318px), 250px);
  }

  .tap-phone.has-install-banner .tap-target {
    height: clamp(172px, calc(100dvh - 392px), 220px);
  }

  .energy-panel {
    padding: 8px;
  }

  .nav-item {
    min-height: 39px;
  }

  .install-banner {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 5px;
    padding: 5px;
    margin-right: 13px;
  }

  .install-banner-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .install-banner-action {
    min-height: 30px;
    padding: 0 9px;
  }
}

.profile-card .auth-input-wrap .password-toggle-button {
  position: absolute;
  right: 6px;
  left: auto;
  top: 50%;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 12px;
  color: rgba(226, 240, 255, 0.9);
  background: linear-gradient(180deg, rgba(43, 85, 172, 0.44), rgba(5, 18, 58, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.profile-card .auth-input-wrap .password-toggle-button iconify-icon {
  position: static;
  color: currentColor;
  font-size: 18px;
  transform: none;
}

.pack-card button.pack-info-trigger {
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: inherit !important;
  text-shadow: none !important;
}

.pack-card button.pack-card-art.pack-info-trigger {
  width: 84px !important;
  height: 76px !important;
}

.pack-card button.pack-cap-showcase.pack-info-trigger {
  display: grid !important;
  width: 100% !important;
}

.pack-card button.pack-info-trigger::before,
.pack-card button.pack-info-trigger::after {
  content: none !important;
}

/* --- HK Cards Widget Styles --- */

/* Fila de badges: dos elementos lado a lado, centrados */
.earn-badges-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
}

/* Widget de tarjetas: ocupa todo el ancho usando márgenes negativos para escapar el padding del hero-stage */
.hk-cards-widget {
  position: relative;
  width: calc(100% + 2 * clamp(12px, 4vw, 18px));
  margin-left: calc(-1 * clamp(12px, 4vw, 18px));
  margin-right: calc(-1 * clamp(12px, 4vw, 18px));
  margin-top: 10px;
  padding: 0;
  z-index: 5;
}

/* Arco dorado de extremo a extremo con borde redondeado */
.hk-cards-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  border-top: 2.5px solid #f2ba43;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -8px 22px rgba(242, 186, 67, 0.5);
  /* Arriba: muestra el brillo (-70px hacia arriba). Abajo: corta los 32px inferiores para ocultar los extremos del arco */
  clip-path: inset(-70px 0 32px 0);
  z-index: 2;
  background: transparent;
}

/* Grid de 4 columnas con padding lateral para que las tarjetas no queden en los bordes */
.hk-cards-widget .cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(3px, 1.2vw, 5px);
  padding: 10px clamp(12px, 4vw, 18px) 10px clamp(12px, 4vw, 18px);
}

/* Tarjetas con borde degradado: dorado arriba → transparente abajo */
.hk-cards-widget .card {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(42, 232, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(7, 43, 122, 0.94), rgba(4, 15, 56, 0.92) 48%, rgba(4, 20, 76, 0.96));
  background-clip: padding-box;
  border-radius: 14px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease;
  overflow: visible;
}

/* Borde degradado celeste arriba → transparente abajo */
.hk-cards-widget .card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 15.5px;
  background: linear-gradient(to bottom, rgba(42, 232, 255, 0.9) 0%, rgba(42, 180, 255, 0.3) 40%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* Tarjeta completada: borde verde */
.hk-cards-widget .card.completed::before {
  background: linear-gradient(to bottom, rgba(76, 175, 80, 0.9) 0%, rgba(76, 175, 80, 0.2) 50%, transparent 100%);
}

.hk-cards-widget .card.completed {
  box-shadow: inset 0 3px 10px rgba(76, 175, 80, 0.1);
}

.hk-cards-widget .card:active {
  transform: scale(0.96);
}

/* Badge de check verde */
.hk-cards-widget .check-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #66bb6a, #388e3c);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(4, 15, 56, 0.95);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hk-cards-widget .check-badge::after {
  content: '';
  width: 4px;
  height: 7px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

/* Punto de notificación */
.hk-cards-widget .dot-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px #fff;
}

/* Icono 3D */
.hk-cards-widget .icon-3d-box {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hk-cards-widget .icon-3d-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.85));
}

/* Títulos y subtítulos de tarjetas */
.hk-cards-widget .card-title {
  font-size: clamp(9px, 2.5vw, 11px);
  font-weight: 500;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin-bottom: 3px;
}

.hk-cards-widget .card-time {
  font-size: clamp(8px, 2.2vw, 10px);
  font-weight: 400;
  color: #6d737d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

/* Cabecera del HUD moderno estilo Hamster */
.hud-stats-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  padding: 0 4px;
}

/* Caja de Rango a la izquierda */
.hud-rank-box {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.hud-rank-header {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #57e7ff;
}

.hud-rank-name {
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  color: #57e7ff;
}

.hud-rank-header iconify-icon {
  font-size: 10px;
  color: #57e7ff;
  margin-top: 1px;
}

.hud-rank-level-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  margin-top: 2px;
}

.hud-rank-bar {
  width: 100%;
  height: 6px;
  background: rgba(4, 15, 56, 0.6);
  border: 1px solid rgba(87, 231, 255, 0.1);
  border-radius: 999px;
  margin-top: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.hud-rank-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #42e8ff, #2b8cff);
  box-shadow: 0 0 6px rgba(66, 232, 255, 0.6);
}

/* Pastilla de Estadísticas a la derecha (Estilo de las Cards) */
.hud-right-pill {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(42, 232, 255, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(7, 43, 122, 0.94), rgba(4, 15, 56, 0.92) 48%, rgba(4, 20, 76, 0.96));
  background-clip: padding-box;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: 0 4px 10px rgba(0, 12, 64, 0.25);
  box-sizing: border-box;
  z-index: 1;
}

.hud-right-pill::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(42, 232, 255, 0.9) 0%, rgba(42, 180, 255, 0.3) 40%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.hud-pill-circle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.1s ease;
}

.hud-pill-circle-btn:active {
  transform: scale(0.93);
}

.hud-pill-circle-btn.exchange-btn {
  background: linear-gradient(135deg, #42e8ff, #2b8cff);
  color: #061748;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(66, 232, 255, 0.3);
}

.hud-pill-circle-btn.exchange-btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.hud-pill-circle-btn.settings-btn {
  background: linear-gradient(135deg, rgba(7, 43, 122, 0.8), rgba(4, 15, 56, 0.9));
  border: 1px solid rgba(87, 231, 255, 0.4);
  color: #57e7ff;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Profit Center */
.hud-profit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hud-profit-title {
  font-size: 8px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  margin-bottom: 2px;
}

.hud-profit-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.hud-profit-coin {
  display: flex;
  align-items: center;
}

.hud-profit-coin img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.hud-profit-amount {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.hud-profit-info {
  display: flex;
  align-items: center;
  color: rgba(87, 231, 255, 0.4);
  font-size: 9px;
}
