:root {
  color-scheme: dark;
  --bg: #05080c;
  --panel: #111820;
  --panel-2: #151d25;
  --line: rgba(231, 238, 245, 0.08);
  --text: #f8fafb;
  --muted: #aeb7bf;
  --soft: #77828d;
  --green: #80f08b;
  --green-2: #4fc86a;
  --shadow: rgba(0, 0, 0, 0.64);
  --radius-lg: 18px;
  --radius-md: 13px;
  --radius-sm: 8px;
  font-family:
    Manrope,
    "Segoe UI",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  touch-action: manipulation;
  background:
    radial-gradient(circle at 80% 16%, rgba(88, 219, 111, 0.13), transparent 9.5rem),
    radial-gradient(circle at 10% 0%, rgba(210, 229, 242, 0.07), transparent 11rem),
    linear-gradient(180deg, #10161d 0%, #0a1016 52%, #070a0f 100%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 72%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 24%);
  opacity: 0.72;
}

button {
  border: 0;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.loading-screen {
  --load-progress: 4%;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020506;
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.loading-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.loading-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 42%),
    linear-gradient(180deg, transparent 50%, rgba(1, 4, 5, 0.28) 68%, rgba(1, 4, 5, 0.88) 100%);
}

.loading-brand {
  position: absolute;
  top: max(28px, calc(env(safe-area-inset-top) + 18px));
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: #f7faf8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.loading-brand strong {
  font-size: 22px;
  font-weight: 600;
}

.loading-shield {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--green);
  filter: drop-shadow(0 0 8px rgba(128, 240, 139, 0.32));
}

.loading-shield svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: rgba(128, 240, 139, 0.08);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.loading-progress-wrap {
  position: absolute;
  left: 50%;
  bottom: max(42px, calc(env(safe-area-inset-bottom) + 30px));
  z-index: 2;
  width: min(72vw, 286px);
  transform: translateX(-50%);
  text-align: center;
}

.loading-progress {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.44);
}

.loading-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--load-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, #45b85b, #8bf297 72%, #d8ffdc);
  box-shadow: 0 0 12px rgba(128, 240, 139, 0.55);
  transition: width 360ms cubic-bezier(0.22, 0.75, 0.25, 1);
}

.loading-progress span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-100%);
  animation: loading-sheen 1.25s ease-in-out infinite;
}

.loading-progress-wrap small {
  display: block;
  min-height: 14px;
  margin-top: 12px;
  color: rgba(237, 244, 239, 0.72);
  font-size: 10px;
  font-weight: 500;
}

body.is-booting {
  overflow: hidden;
}

body.is-booting .app-shell {
  opacity: 0;
  visibility: hidden;
}

body.is-ready .app-shell {
  opacity: 1;
  visibility: visible;
}

body.is-ready .loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loading-sheen {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.app-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top)) 0 max(14px, env(safe-area-inset-bottom));
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease 120ms;
}

@media (prefers-reduced-motion: reduce) {
  .loading-screen,
  .app-shell,
  .loading-progress span {
    transition-duration: 1ms;
  }

  .loading-progress span::after {
    animation: none;
  }
}

.app-screen {
  position: relative;
  isolation: isolate;
  width: min(100%, 390px);
  min-height: min(100svh - 28px, 820px);
  padding: 20px 18px 96px;
  overflow: hidden;
}

.topbar,
.balance-card,
.vault-card,
.rewards-card,
.tabbar,
.view {
  position: relative;
  z-index: 1;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.card-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(132, 241, 145, 0.055), transparent 7rem),
    linear-gradient(180deg, rgba(28, 37, 45, 0.94), rgba(10, 15, 20, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38),
    0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
}

.card-panel + .card-panel,
.task-card + .task-card {
  margin-top: 12px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  margin-bottom: 13px;
  padding-left: 2px;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.45);
}

.shield,
.balance-label-icon {
  display: inline-grid;
  place-items: center;
  color: var(--green);
  filter: drop-shadow(0 0 10px rgba(128, 240, 139, 0.5));
}

.shield {
  width: 27px;
  height: 27px;
}

.balance-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(205, 218, 211, 0.78);
  font-size: 12px;
  font-weight: 450;
}

.balance-label-icon {
  width: 18px;
  height: 18px;
  color: #7ce88a;
  opacity: 0.92;
}

.balance-label-icon svg {
  stroke-width: 1.75;
}

:where(.loading-screen, .app-shell) svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.icon-button {
  position: absolute;
  right: -1px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  color: #d8dee4;
}

.admin-toggle {
  right: 39px;
  color: var(--green);
}

.admin-toggle[hidden] {
  display: none;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.language-menu {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 20;
  display: grid;
  width: 124px;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 0%, rgba(128, 240, 139, 0.12), transparent 4.5rem),
    linear-gradient(180deg, rgba(25, 34, 41, 0.98), rgba(8, 12, 17, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 28px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: transparent;
  color: #c9d2d8;
  font-size: 12px;
  text-align: left;
}

.language-menu button.is-active {
  background: rgba(128, 240, 139, 0.14);
  color: #e9ffeb;
}

.balance-card,
.vault-card,
.rewards-card,
.tabbar {
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42),
    0 18px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
}

.balance-card {
  display: flex;
  align-items: center;
  min-height: 132px;
  margin-top: 6px;
  padding: 15px 16px 14px;
  overflow: hidden;
  border-color: rgba(127, 242, 139, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 82%, rgba(98, 237, 113, 0.09), transparent 7.2rem),
    radial-gradient(circle at 18% 2%, rgba(127, 242, 139, 0.035), transparent 7.2rem),
    linear-gradient(135deg, rgba(31, 62, 40, 0.94), rgba(10, 15, 21, 0.98) 48%, rgba(20, 27, 33, 0.98));
}

.balance-card::after,
.vault-card::after,
.rewards-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 24%, transparent 70%, rgba(127, 242, 139, 0.08));
  mask-image: linear-gradient(#000, transparent 70%);
}

.card-glint {
  position: absolute;
  top: -78px;
  left: -78px;
  width: 154px;
  height: 154px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.balance-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.balance-copy h1 {
  margin: 15px 0 5px;
  font-size: clamp(30px, 8.3vw, 34px);
  line-height: 1;
  font-weight: 550;
  letter-spacing: 0;
  white-space: nowrap;
}

.balance-copy h1 span {
  display: inline;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dbe2de;
  font-size: 15px;
  font-weight: 450;
  line-height: 1;
  vertical-align: 0.02em;
}

.balance-copy p {
  margin: 0;
  color: #b8c1c8;
  font-size: 14px;
  font-weight: 400;
}

.hero-safe {
  position: absolute;
  right: 8px;
  bottom: 2px;
  z-index: 1;
  width: 122px;
  max-width: 38%;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.66));
}

.vault-card,
.rewards-card {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(132, 241, 145, 0.06), transparent 7rem),
    linear-gradient(180deg, rgba(28, 37, 45, 0.94), rgba(10, 15, 20, 0.99)),
    var(--panel);
}

.vault-card {
  padding: 15px 16px 14px;
}

.section-orbit {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(128, 240, 139, 0.14), transparent 65%);
  pointer-events: none;
}

.vault-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 86px;
}

h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 550;
  letter-spacing: 0;
}

.counter {
  margin: 18px 0 0;
  color: var(--green);
  font-size: 19px;
  font-weight: 550;
}

.counter span {
  color: rgba(128, 240, 139, 0.72);
}

.vault-safe,
.vault-gift {
  width: 82px;
  height: 76px;
  object-fit: contain;
  object-position: center;
  margin-top: -10px;
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.52));
}

.vault-gift {
  width: 92px;
  height: 82px;
  margin-top: -3px;
  margin-right: -3px;
  filter: drop-shadow(0 13px 14px rgba(0, 0, 0, 0.5));
}

.progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #05090d;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.86),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(90deg, #48bf61, #8df59a);
  box-shadow: 0 0 10px rgba(128, 240, 139, 0.32);
}

.hint {
  margin: 11px 0 12px;
  color: #a2adb6;
  font-size: 11px;
  font-weight: 400;
}

.watch-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #5db96a 0%, #499653 54%, #3a7f45 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.23),
    inset 0 -1px 0 rgba(22, 78, 34, 0.42),
    0 10px 18px rgba(40, 132, 58, 0.22);
  color: #f8fff9;
  font-size: 11px;
  font-weight: 500;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.watch-button:active {
  transform: translateY(1px) scale(0.995);
}

.watch-button:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.watch-button strong {
  font-weight: 500;
}

.adsgram-slot {
  min-height: 82px;
  margin-top: 12px;
  padding: 0;
}

.adsgram-slot adsgram-task {
  display: block;
  width: 100%;
}

.adsgram-slot adsgram-task[hidden] {
  display: none;
}

.vaultify-adsgram-task {
  --adsgram-task-font-size: 12px;
  --adsgram-task-icon-size: 46px;
  --adsgram-task-icon-title-gap: 11px;
  --adsgram-task-button-width: 88px;
  --adsgram-task-icon-border-radius: 12px;
  width: 100%;
  min-height: 82px;
  padding: 10px 11px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(128, 240, 139, 0.18);
  border-radius: var(--radius-md);
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0, rgba(128, 240, 139, 0.07), transparent 40%),
    linear-gradient(145deg, rgba(28, 38, 45, 0.98), rgba(9, 14, 19, 0.99) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.25);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}

.adsgram-reward {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: #b9c4cb;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.adsgram-reward b {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.adsgram-reward i {
  color: var(--soft);
  font-style: normal;
  font-weight: 500;
}

.adsgram-vlt-coin {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(128, 240, 139, 0.65);
  border-radius: 50%;
  color: #071009;
  background: linear-gradient(145deg, #94f29c, #45ad5c);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
  font-size: 8px;
  font-weight: 600;
}

.adsgram-action {
  min-width: 84px;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #071009;
  background: linear-gradient(135deg, #96f39e, #50bd67);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.32), 0 7px 16px rgba(0, 0, 0, 0.24);
  font-size: 10px;
  font-weight: 600;
}

.adsgram-action.is-claim {
  border-color: rgba(128, 240, 139, 0.45);
  background: linear-gradient(135deg, #79e786, #399d51);
}

.adsgram-action.is-done {
  border-color: rgba(128, 240, 139, 0.16);
  color: #8edb99;
  background: #17271d;
  box-shadow: none;
}

.adsgram-limit-state {
  min-height: 82px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(128, 240, 139, 0.14);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(24, 35, 41, 0.98), rgba(9, 14, 19, 0.99));
}

.adsgram-limit-state[hidden] {
  display: none;
}

.adsgram-limit-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #071009;
  background: linear-gradient(145deg, #8df096, #48b85f);
  font-size: 18px;
}

.adsgram-limit-state strong,
.adsgram-limit-state small {
  display: block;
}

.adsgram-limit-state strong {
  font-size: 12px;
  font-weight: 600;
}

.adsgram-limit-state small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 370px) {
  .vaultify-adsgram-task {
    --adsgram-task-icon-size: 41px;
    --adsgram-task-button-width: 78px;
    padding: 9px;
  }

  .adsgram-action {
    min-width: 74px;
    padding: 0 8px;
  }
}

.play {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  color: #43ad58;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.18);
}

.play svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke-width: 0;
}

.rewards-card {
  padding: 16px 12px 13px;
}

.bonus-top {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px 12px 12px;
  cursor: pointer;
}

.bonus-top.is-disabled {
  cursor: default;
}

.bonus-top h3,
.panel-head h3,
.safe-mini h3,
.task-card h3,
.invite-card h3,
.how-card h3 {
  margin: 0;
  color: #eef4f0;
  font-size: 14px;
  font-weight: 550;
}

.bonus-top p,
.panel-head p,
.safe-mini p,
.task-card p,
.how-card p {
  margin: 4px 0 0;
  color: #9da8b0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
}

.bonus-top strong,
.task-card strong,
.reward em {
  color: var(--green);
}

.tile-icon,
.task-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #dfffe2;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 64%),
    linear-gradient(145deg, rgba(103, 229, 120, 0.92), rgba(38, 116, 57, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 18px rgba(46, 169, 67, 0.22);
}

.tile-icon {
  width: 42px;
  height: 42px;
}

.daily-calendar {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 13px rgba(54, 190, 68, 0.22));
}

.tile-icon svg,
.task-icon svg {
  width: 24px;
  height: 24px;
}

.wheel-card {
  margin-top: 12px;
  padding: 15px 14px 12px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.panel-head span {
  color: #dce5df;
  font-size: 11px;
}

.streak-card .panel-head > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.wheel-wrap {
  position: relative;
  display: grid;
  width: 178px;
  height: 178px;
  place-items: center;
  margin: 7px auto -3px;
}

.wheel-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(var(--wheel-rotation, 0deg));
  transition: transform 4.2s cubic-bezier(0.12, 0.74, 0.16, 1);
  will-change: transform;
}

.wheel-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2));
}

.wheel-pointer {
  position: absolute;
  top: 1px;
  left: 50%;
  z-index: 4;
  width: 16px;
  height: 23px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.24) 34%, transparent 56%),
    linear-gradient(180deg, #b9f390 0%, #80dd70 42%, #4fa650 100%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.26),
    inset 0 -9px 10px rgba(28, 92, 36, 0.3),
    0 0 18px rgba(128, 240, 139, 0.42),
    0 9px 12px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
}

.wheel-pointer::after {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 255, 224, 0.52), rgba(248, 255, 224, 0));
  content: "";
  transform: rotate(5deg);
}

.wheel-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.wheel-prize {
  position: absolute;
  width: 48px;
  color: #e3ece7;
  font-size: 12px;
  line-height: 1.08;
  font-weight: 560;
  text-align: center;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.52);
}

.wheel-prize.p1 { left: 65px; top: 29px; }
.wheel-prize.p2 { right: 18px; top: 53px; }
.wheel-prize.p3 { right: 22px; top: 108px; }
.wheel-prize.p4 { left: 65px; bottom: 14px; }
.wheel-prize.p5 { left: 17px; top: 108px; color: #95f19d; }
.wheel-prize.p6 { left: 19px; top: 53px; color: #95f19d; }

.wheel-button {
  position: relative;
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.36);
}

.wheel-button:disabled {
  cursor: default;
  opacity: 0.86;
}

.streak-card {
  margin-top: 12px;
  padding: 14px;
}

.streak-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 13px;
}

.streak-day {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 5px;
}

.streak-day span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #c2ccd4;
  background: rgba(9, 14, 18, 0.65);
  font-size: 11px;
}

.streak-day.done span,
.streak-day.today span {
  border-color: rgba(128, 240, 139, 0.5);
  color: #effff0;
  background: linear-gradient(180deg, #6bd979, #326f42);
}

.streak-day small {
  color: #85df8f;
  font-size: 9px;
  font-weight: 560;
  letter-spacing: 0;
}

.streak-day:not(.done):not(.today) small {
  color: #75838c;
}

.streak-claim {
  width: 100%;
  min-height: 40px;
  margin-top: 13px;
  border-radius: 9px;
  background: linear-gradient(180deg, #67c973, #438d50);
  color: #f5fff6;
  font-size: 12px;
  font-weight: 560;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 22px rgba(51, 150, 66, 0.16);
}

.safe-mini button:disabled,
.streak-claim:disabled {
  cursor: default;
  opacity: 0.82;
}

.safe-mini {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
}

.safe-mini img {
  width: 74px;
  height: 58px;
  object-fit: contain;
}

.safe-mini button,
.task-card button,
.invite-button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  background: linear-gradient(180deg, #67c973, #438d50);
  color: #f5fff6;
  font-size: 11px;
  font-weight: 500;
}

.tasks-hero,
.friends-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
  min-height: 112px;
}

.tasks-hero h2,
.friends-hero h2 {
  margin: 0;
  color: #f2f6f4;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 550;
}

.tasks-hero p {
  margin: 8px 0 0;
  color: #99a5ad;
  font-size: 12px;
}

.task-clipboard {
  width: 86px;
  height: 92px;
  object-fit: contain;
  object-position: center;
  justify-self: end;
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.42));
}

.chips {
  display: flex;
  gap: 8px;
  margin: 12px 0 14px;
}

.tasks-partnership {
  margin: 12px 4px 10px;
  color: rgba(224, 231, 228, 0.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.tasks-partnership a {
  display: inline-block;
  margin-left: 4px;
  color: #91e99b;
  font: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(145, 233, 155, 0.38);
}

.tasks-partnership a:active {
  color: #c7ffce;
  border-bottom-color: rgba(199, 255, 206, 0.7);
}

.chip {
  min-height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #aeb8bf;
  font-size: 11px;
}

.chip.is-active {
  background: rgba(128, 240, 139, 0.16);
  color: #d9ffdd;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 12px;
}

.task-card.is-hidden {
  display: none;
}

.task-list .task-card + .task-card {
  margin-top: 0;
}

.task-icon {
  width: 44px;
  height: 44px;
}

.task-icon.purple { background: linear-gradient(145deg, #9165e7, #50328e); }
.task-icon.blue { background: linear-gradient(145deg, #5caef5, #285f9f); }
.task-icon.mint { background: linear-gradient(145deg, #7be0d1, #357f78); }
.task-icon.violet { background: linear-gradient(145deg, #8c63d9, #40306f); }

.task-card strong {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
}

.task-card button.ghost {
  background: rgba(255, 255, 255, 0.07);
}

.friends-hero {
  display: block;
  min-height: 166px;
}

.friends-hero h2 {
  width: 250px;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.22;
}

.friends-hero-art {
  display: block;
  width: 294px;
  max-width: 100%;
  height: 108px;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.36));
}

.invite-card,
.how-card {
  padding: 14px;
}

.invite-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(6, 10, 14, 0.62);
}

.invite-link span {
  min-width: 0;
  overflow: hidden;
  color: #a9b3bb;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-link button {
  width: 28px;
  height: 28px;
  background: transparent;
  color: #c5ced5;
}

.friend-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  align-items: stretch;
}

.friend-stats article {
  display: grid;
  min-height: 128px;
  padding: 14px;
  align-content: start;
}

.friend-stats .card-panel + .card-panel {
  margin-top: 0;
}

.friend-stats span {
  color: #a4aeb6;
  font-size: 11px;
}

.friend-stats strong {
  display: block;
  margin-top: 10px;
  color: #f6faf8;
  font-size: 28px;
  font-weight: 500;
}

.friend-stats small {
  font-size: 14px;
  font-weight: 450;
}

.friend-stats p {
  margin: 6px 0 0;
  color: #98a4ad;
  font-size: 11px;
}

.invite-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  font-size: 14px;
}

.invite-button svg {
  width: 20px;
  height: 20px;
}

.how-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.how-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.wallet-balance {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  min-height: 104px;
  padding: 15px 0 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(150, 241, 143, 0.32);
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 72%, rgba(103, 236, 111, 0.46), transparent 5.8rem),
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.055), transparent 7.5rem),
    linear-gradient(135deg, rgba(28, 55, 37, 0.92) 0%, rgba(14, 21, 26, 0.99) 43%, rgba(23, 30, 35, 0.97) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38),
    0 18px 36px rgba(0, 0, 0, 0.3);
}

.wallet-balance h1 {
  margin: 11px 0 6px;
  font-size: 26px;
  line-height: 1;
  font-weight: 560;
  letter-spacing: 0;
}

.wallet-balance h1 span {
  font-size: 14px;
  font-weight: 450;
}

.wallet-balance p {
  margin: 0;
  color: #c0c9cf;
  font-size: 13px;
}

.wallet-coin-stack {
  position: absolute;
  right: 3px;
  bottom: 2px;
  width: 138px;
  height: 94px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, 0.38));
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.wallet-actions button {
  display: grid;
  min-height: 76px;
  place-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(20, 29, 36, 0.78);
  color: #e7ece9;
  font-size: 11px;
}

.wallet-actions svg {
  width: 24px;
  height: 24px;
}

.wallet-promo {
  margin: 12px 0;
  padding: 14px;
  border-color: rgba(150, 241, 143, 0.2);
  background: linear-gradient(145deg, rgba(24, 42, 33, 0.9), rgba(13, 19, 24, 0.96));
}

.wallet-promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-promo h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.wallet-promo-head p,
.wallet-promo-status {
  margin: 4px 0 0;
  color: #929da3;
  font-size: 12px;
  line-height: 1.35;
}

.wallet-promo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(150, 241, 143, 0.34);
  border-radius: 50%;
  color: #96f18f;
  background: rgba(57, 107, 65, 0.28);
  font-size: 15px;
  font-weight: 700;
}

.wallet-promo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.wallet-promo-form input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  padding: 0 12px;
  color: #edf3ef;
  background: rgba(5, 9, 12, 0.62);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.wallet-promo-form input:focus { border-color: rgba(150, 241, 143, 0.62); }

.wallet-promo-form button {
  min-height: 42px;
  border: 1px solid rgba(150, 241, 143, 0.42);
  border-radius: 9px;
  padding: 0 13px;
  color: #07100a;
  background: #96f18f;
  font-size: 12px;
  font-weight: 700;
}

.wallet-promo-form button:disabled { opacity: 0.55; }
.wallet-promo-status { margin-top: 9px; }
.wallet-promo-status.is-success { color: #96f18f; }
.wallet-promo-status.is-error { color: #ff8a8a; }

@media (max-width: 360px) {
  .wallet-promo-form { grid-template-columns: 1fr; }
}

.recent-withdrawals,
.recent-withdrawals:link,
.recent-withdrawals:visited,
.recent-withdrawals:hover,
.recent-withdrawals:active {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 29, 34, 0.92), rgba(12, 17, 21, 0.94));
  color: #edf1ef;
  text-decoration: none;
}

.recent-withdrawals[hidden] {
  display: none;
}

.recent-withdrawals-label {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 11px;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  background: #11171b;
  color: #f2f5f3;
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 450;
  white-space: nowrap;
}

.recent-withdrawals-window {
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.recent-withdrawals-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: payout-ticker 24s linear infinite;
}

.recent-withdrawals-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 24px;
  color: rgba(244, 247, 245, 0.82);
  font-family: "Manrope", sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.recent-withdrawals-item::before {
  content: "";
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.22);
}

.recent-withdrawals-item strong {
  color: #ffffff;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
}

@keyframes payout-ticker {
  to { transform: translateX(-50%); }
}

.wallet-history {
  padding: 14px 12px;
}

.wallet-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wallet-history h2 {
  margin: 0;
  color: #eef4f0;
  font-size: 14px;
  font-weight: 550;
}

.wallet-history-head span {
  color: #7f8b93;
  font-size: 10px;
  font-weight: 500;
}

.wallet-history-list {
  display: grid;
  gap: 7px;
}

.wallet-history-empty {
  margin: 4px 0 2px;
  color: #8e99a2;
  font-size: 11px;
}

.wallet-history-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  background: rgba(10, 16, 21, 0.42);
}

.wallet-history-dot {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(145deg, #5ebb69, #347f40);
  box-shadow: 0 9px 15px rgba(51, 147, 67, 0.17);
}

.wallet-history-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #effff1;
}

.wallet-history-item strong {
  display: block;
  color: #e9efeb;
  font-size: 11px;
  font-weight: 520;
}

.wallet-history-item small {
  display: block;
  margin-top: 2px;
  color: #7f8a92;
  font-size: 9.5px;
  font-weight: 400;
}

.wallet-history-item em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 560;
  white-space: nowrap;
}

.wallet-history-item.is-negative .wallet-history-dot {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(145deg, #5d6870, #2a3137);
  box-shadow: none;
}

.wallet-history-item.is-negative em {
  color: #ff8d8d;
}

.tx-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #c0c8cf;
}

.tx-icon svg {
  width: 19px;
  height: 19px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.52);
}

.sheet-backdrop[hidden] {
  display: none;
}

.bottom-sheet {
  position: fixed;
  right: max(12px, calc((100vw - 390px) / 2 + 18px));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, calc((100vw - 390px) / 2 + 18px));
  z-index: 90;
  display: grid;
  gap: 10px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(139, 239, 148, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(128, 240, 139, 0.15), transparent 7rem),
    linear-gradient(180deg, rgba(28, 38, 45, 0.99), rgba(8, 12, 17, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -18px 42px rgba(0, 0, 0, 0.44);
  backdrop-filter: none;
}

.bottom-sheet[hidden] {
  display: none;
}

.admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(0, 0, 0, 0.56);
}

.admin-backdrop[hidden] {
  display: none;
}

.admin-panel {
  position: fixed;
  right: max(12px, calc((100vw - 390px) / 2 + 18px));
  left: max(12px, calc((100vw - 390px) / 2 + 18px));
  z-index: 88;
  border: 1px solid rgba(139, 239, 148, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(128, 240, 139, 0.13), transparent 7rem),
    linear-gradient(180deg, rgba(29, 39, 47, 0.99), rgba(8, 12, 17, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: none;
}

.admin-panel[hidden] {
  display: none;
}

.admin-panel h2 {
  margin: 0;
  color: #f4f8f5;
  font-size: 19px;
  line-height: 1.18;
  font-weight: 560;
}

.admin-task-form button {
  min-height: 44px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 560;
}

.admin-task-form button {
  background: linear-gradient(180deg, #67c973, #438d50);
  color: #f5fff6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 22px rgba(51, 150, 66, 0.16);
}

.admin-panel {
  top: max(68px, env(safe-area-inset-top));
  bottom: max(84px, env(safe-area-inset-bottom));
  z-index: 89;
  display: grid;
  gap: 12px;
  align-content: start;
  overflow-y: auto;
  padding: 18px 16px 16px;
}

.admin-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #b9c4cb;
}

.admin-close svg {
  width: 16px;
  height: 16px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-stats article {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(5, 10, 14, 0.46);
}

.admin-stats span,
.admin-task-form span {
  color: #8f9aa4;
  font-size: 11px;
}

.admin-stats strong {
  color: #f5faf6;
  font-size: 20px;
  font-weight: 550;
}

.admin-x2-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid rgba(139, 239, 148, 0.13);
  border-radius: 11px;
  background: rgba(5, 10, 14, 0.48);
  color: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.admin-x2-control:active {
  transform: translateY(1px);
}

.admin-x2-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-x2-copy strong {
  color: #eef8ef;
  font-size: 13px;
  font-weight: 560;
}

.admin-x2-copy small {
  color: #8f9aa4;
  font-size: 10px;
  line-height: 1.35;
}

.admin-x2-action {
  display: grid;
  place-items: center;
  min-width: 96px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(119, 224, 131, 0.28);
  border-radius: 9px;
  background: linear-gradient(180deg, #5fbd6a, #3f884b);
  color: #f4fff5;
  font-size: 11px;
  font-weight: 560;
  white-space: nowrap;
}

.admin-x2-control.is-active .admin-x2-action {
  border-color: rgba(255, 255, 255, 0.1);
  background: #273139;
  color: #c4cdd2;
}

.admin-x2-control:disabled {
  opacity: 0.55;
  cursor: wait;
}

.admin-task-form {
  display: grid;
  gap: 8px;
}

.admin-task-manager {
  display: grid;
  gap: 8px;
}

.admin-task-manager h3 {
  margin: 0;
  color: #dce7df;
  font-size: 13px;
  font-weight: 560;
}

.admin-task-list {
  display: grid;
  gap: 6px;
}

.admin-task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 7px 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(5, 10, 14, 0.46);
}

.admin-task-row > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-task-row strong,
.admin-task-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-task-row strong {
  color: #eef8ef;
  font-size: 12px;
  font-weight: 560;
}

.admin-task-row small,
.admin-task-empty {
  color: #8f9aa4;
  font-size: 10px;
}

.admin-task-empty {
  margin: 0;
  padding: 10px 0;
}

.admin-task-delete {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 103, 113, 0.22);
  border-radius: 7px;
  background: rgba(116, 24, 32, 0.2);
  color: #ff8991;
}

.admin-task-delete svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-task-delete:disabled {
  opacity: 0.45;
}

.admin-task-form label {
  display: grid;
  gap: 6px;
}

.admin-task-form input,
.admin-task-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  outline: 0;
  padding: 0 12px;
  background: rgba(5, 10, 14, 0.58);
  color: #ecf8ee;
  font: inherit;
  font-size: 13px;
}

.sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #b9c4cb;
}

.sheet-close svg {
  width: 16px;
  height: 16px;
}

.bottom-sheet h2 {
  margin: 0;
  padding-right: 32px;
  color: #f4f8f5;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 560;
}

.bottom-sheet p {
  margin: 0;
  color: #9da8b0;
  font-size: 12px;
  line-height: 1.45;
}

.sheet-input-row,
.sheet-result {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(5, 10, 14, 0.58);
}

.sheet-input-row[hidden],
.sheet-result[hidden],
.sheet-note[hidden] {
  display: none;
}

.sheet-input-row span,
.sheet-result span {
  color: #8f9aa4;
  font-size: 11px;
}

.sheet-input-row div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 6px;
}

.sheet-amount {
  width: 94px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ecf8ee;
  font: inherit;
  font-size: 15px;
  font-weight: 560;
  text-align: right;
}

.sheet-amount::-webkit-outer-spin-button,
.sheet-amount::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.sheet-input-row em {
  color: #8f9aa4;
  font-size: 12px;
  font-style: normal;
  font-weight: 550;
}

.sheet-result strong {
  color: #ecf8ee;
  font-size: 13px;
  font-weight: 560;
}

.sheet-note {
  color: #7f8b94;
  font-size: 11px;
  line-height: 1.35;
}

.sheet-primary {
  min-height: 46px;
  border-radius: 11px;
  background: linear-gradient(180deg, #67c973, #438d50);
  color: #f5fff6;
  font-size: 13px;
  font-weight: 560;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 22px rgba(51, 150, 66, 0.16);
}

.rewards-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}

.rewards-head h2 {
  color: #e3e8ec;
  font-size: 15px;
  font-weight: 550;
}

.rewards-head span {
  flex: 0 0 auto;
  color: #7d8791;
  font-size: 10px;
  font-weight: 450;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.reward {
  display: grid;
  min-height: 120px;
  justify-items: center;
  align-content: start;
  padding: 13px 4px 11px;
  border: 1px solid rgba(238, 244, 250, 0.075);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 4.2rem),
    linear-gradient(180deg, rgba(30, 39, 48, 0.96), rgba(12, 18, 24, 0.99)),
    var(--panel-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 18px rgba(0, 0, 0, 0.16);
}

.reward strong {
  font-size: 19px;
  line-height: 1;
  font-weight: 550;
}

.reward span {
  margin-top: 6px;
  color: #b9c1c8;
  font-size: 10px;
  font-weight: 400;
  text-align: center;
}

.reward-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-top: 15px;
  color: #a9b0b7;
}

.reward-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  transform: scale(1.36);
  transform-origin: center;
}

.reward-icon svg {
  width: 28px;
  height: 28px;
  fill: rgba(255, 255, 255, 0.055);
  stroke-width: 1.8;
}

.reward.is-open {
  border-color: rgba(128, 240, 139, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(128, 240, 139, 0.12), transparent 4.5rem),
    linear-gradient(180deg, rgba(30, 42, 42, 0.98), rgba(11, 18, 22, 0.99));
}

.reward.is-open .reward-icon {
  color: var(--green);
  filter: none;
}

.reward.is-open .reward-icon svg {
  fill: rgba(128, 240, 139, 0.35);
}

.reward em {
  margin-top: 9px;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  width: min(calc(100% - 36px), 354px);
  min-height: 72px;
  padding: 8px 7px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(128, 240, 139, 0.08), transparent 8rem),
    linear-gradient(180deg, rgba(28, 36, 44, 0.92), rgba(8, 12, 17, 0.98));
  transform: translateX(-50%);
}

.tab {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  color: #8f98a1;
  font-size: 10px;
  font-weight: 450;
}

.tab svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
  opacity: 0.9;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.32));
}

.tab span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab.is-active {
  color: var(--green);
  text-shadow: 0 0 14px rgba(128, 240, 139, 0.48);
}

.tab.is-active::before {
  position: absolute;
  top: 2px;
  width: 34px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(128, 240, 139, 0.2), transparent 70%);
  content: "";
}

@media (max-width: 360px) {
  .app-shell {
    padding: 0;
  }

  .app-screen {
    width: 100%;
    min-height: 100svh;
    padding: 16px 13px 92px;
  }

  .topbar {
    min-height: 38px;
    margin-bottom: 8px;
  }

  .brand {
    font-size: 18px;
  }

  .shield {
    width: 25px;
    height: 25px;
  }

  .balance-card {
    min-height: 124px;
    padding: 13px 14px 12px;
  }

  .balance-label {
    font-size: 11px;
  }

  .balance-label-icon {
    width: 17px;
    height: 17px;
  }

  .balance-copy h1 {
    font-size: 30px;
  }

  .balance-copy p {
    font-size: 14px;
  }

  .hero-safe {
    right: 4px;
    width: 112px;
  }

  .vault-card,
  .rewards-card {
    margin-top: 12px;
  }

  .vault-card {
    padding: 13px 15px 13px;
  }

  .vault-head {
    min-height: 76px;
  }

  h2 {
    font-size: 21px;
  }

  .counter {
    margin-top: 16px;
    font-size: 18px;
  }

  .vault-safe,
  .vault-gift {
    width: 78px;
    height: 68px;
  }

  .vault-gift {
    margin-top: -2px;
  }

  .hint {
    margin: 10px 0 11px;
  }

  .watch-button {
    gap: 7px;
    min-height: 42px;
    font-size: 11px;
  }

  .rewards-card {
    padding: 13px 12px 12px;
  }

  .rewards-head {
    margin-bottom: 12px;
  }

  .reward {
    min-height: 104px;
    padding-top: 11px;
    padding-bottom: 9px;
  }

  .reward-icon {
    width: 28px;
    height: 28px;
    margin-top: 12px;
  }

  .reward-icon svg {
    width: 25px;
    height: 25px;
  }

  .reward em {
    margin-top: 7px;
  }

  .tabbar {
    width: calc(100% - 26px);
  }
}

@media (min-width: 700px) {
  .app-screen {
    min-height: 760px;
  }
}
.partner-task[data-oil-empire="true"]{border:2px solid #ffbf3f;box-shadow:0 0 18px rgba(255,166,0,.28);background:linear-gradient(135deg,#231507,#3b2208)}
