* {
  box-sizing: border-box;
}

:root {
  --app-max-width: 430px;
  --app-content-inset: 16px;
  --app-scrollbar-compensation: 16px;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #05070d;
  color: #ffffff;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.app[hidden],
.public-browser-placeholder[hidden] {
  display: none !important;
}

.public-browser-placeholder {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at top, rgba(31, 184, 160, 0.16), transparent 34%),
    linear-gradient(180deg, #070b14 0%, #04060b 100%);
}

.public-browser-card {
  width: 100%;
  max-width: 390px;
  padding: 28px 22px;
  border: 1px solid rgba(190, 207, 238, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.94), rgba(8, 13, 24, 0.96)),
    #0d1424;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.public-browser-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 184, 160, 0.12);
  color: #7ff4d0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.public-browser-card h1 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.16;
}

.public-browser-card p {
  margin: 0;
  color: #aab4cd;
  font-size: 15px;
  line-height: 1.55;
}

.public-browser-note {
  margin-top: 16px;
  color: #7f8aa6;
  font-size: 13px;
  line-height: 1.45;
}

.app {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--app-max-width);
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: linear-gradient(180deg, #070b14 0%, #04060b 100%);
  position: relative;
  overflow: hidden;
}

.topbar {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px 10px;
  font-size: 16px;
  font-weight: 700;
}

.topbar__actions {
  color: #b9bfd1;
  letter-spacing: 2px;
}

.content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 var(--app-content-inset) 16px;
  padding-bottom: 20px;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

#home-screen.screen.active {
  display: block;
}

#home-screen {
  padding-top: 2px;
  padding-bottom: 0;
}

h1 {
  font-size: 22px;
  margin: 24px 0 18px;
}

#shop-screen h1 {
  margin: 18px 0 8px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  margin: 2px 0 8px;
}

.home-hero {
  margin-top: 10px;
  padding: 15px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.92), rgba(8, 13, 24, 0.94)),
    #0d1424;
  border: 1px solid rgba(190, 207, 238, 0.08);
  display: grid;
  gap: 11px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-hero h1 {
  margin: 6px 0 6px;
  font-size: 20px;
  line-height: 1.15;
}

.home-hero p {
  margin: 0;
  color: #aab4cd;
  line-height: 1.5;
  font-size: 13px;
}

.home-kicker {
  color: #21d69b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 12px;
  padding: 12px;
}

.home-balance-card span {
  color: #aab4cd;
  font-size: 13px;
}

.home-balance-card strong {
  color: #49efbc;
  font-size: 22px;
}

.home-social-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 10px;
}

.home-social-card {
  min-height: 72px;
  border-color: rgba(190, 207, 238, 0.06);
  background: rgba(11, 16, 32, 0.54);
}

.activity-card {
  display: grid;
  gap: 11px;
  padding: 14px;
  border-color: rgba(33, 214, 155, 0.13);
  background:
    linear-gradient(180deg, rgba(15, 23, 39, 0.96), rgba(8, 13, 24, 0.94)),
    #0d1424;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.activity-head .label {
  margin-bottom: 0;
}

.streak-subtitle {
  margin-top: 6px;
  color: #9aa3be;
  font-size: 13px;
  line-height: 1.4;
}

.streak-note {
  margin-top: -7px;
  color: #737d99;
  font-size: 12px;
  line-height: 1.4;
}

.streak-badge {
  flex-shrink: 0;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(33, 214, 155, 0.16);
  border-radius: 10px;
  background: rgba(33, 214, 155, 0.09);
  color: #8cf0cd;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.progress-track {
  height: 8px;
  background: #12182a;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #21d69b;
  border-radius: inherit;
}

.promo-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-color: rgba(190, 207, 238, 0.06);
  background:
    linear-gradient(180deg, rgba(13, 20, 36, 0.78), rgba(8, 13, 24, 0.78)),
    #0d1424;
}

.promo-copy .label {
  margin-bottom: 6px;
}

.promo-title {
  color: #d8dcef;
  font-weight: 700;
  font-size: 15px;
}

.card,
.task-card,
.shop-card,
.profile-card,
.mini-card {
  background: #0b1020;
  border: 1px solid rgba(47, 221, 165, 0.12);
  border-radius: 16px;
}

.card {
  padding: 16px;
  margin-bottom: 12px;
}

#home-screen .card {
  margin-bottom: 12px;
}

#home-screen .card:last-child {
  margin-bottom: 0;
}

.label {
  color: #8f98b5;
  font-size: 13px;
  margin-bottom: 10px;
}

.input {
  width: 100%;
  height: 44px;
  border: 1px solid #1b2340;
  background: #12182a;
  color: #fff;
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
}

.input:focus-visible {
  border-color: #21d69b;
}

.promo-row {
  display: flex;
  gap: 10px;
}

.promo-card .input {
  background: rgba(18, 24, 42, 0.72);
}

.promo-card .btn-primary {
  background: #1b2a3a;
  border: 1px solid #2a3457;
  color: #ffffff;
}

.promo-row .input {
  flex: 1;
}

.btn {
  border: 0;
  border-radius: 12px;
  height: 44px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
}

.btn:hover {
  opacity: 0.9;
}

.btn:focus-visible,
button:focus-visible {
  outline: 2px solid #21d69b;
  outline-offset: 2px;
}

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-primary {
  background: #19e6b3;
  color: #081018;
}

.btn-secondary {
  background: #1b2a3a;
  color: #ffffff;
  border: 1px solid #2a3457;
}

.btn-full {
  width: 100%;
}

.giveaway-card {
  overflow: hidden;
  padding: 0;
}

.giveaway-image,
.shop-image {
  height: 130px;
  background: radial-gradient(circle at top right, #123a8a, #0c1122 65%);
}

.home-giveaway .giveaway-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  min-height: 100px;
  background:
    radial-gradient(circle at 78% 18%, rgba(33, 214, 155, 0.22), transparent 30%),
    linear-gradient(145deg, #14203a, #08101f 70%);
  overflow: hidden;
}

.home-giveaway .giveaway-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(33, 214, 155, 0.12), transparent 40%);
  pointer-events: none;
}

.home-giveaway {
  border-color: rgba(33, 214, 155, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 25, 43, 0.98), rgba(8, 13, 24, 0.99)),
    #0d1426;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.giveaway-prize {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

.giveaway-label {
  margin-bottom: 4px;
  color: #aab4cd;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.giveaway-title {
  padding: 12px 14px 4px;
  color: #f3f6ff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.giveaway-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 14px;
}

.giveaway-stats div {
  border: 1px solid rgba(190, 207, 238, 0.065);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 12px;
  padding: 8px 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.giveaway-stats div:hover {
  border-color: rgba(33, 214, 155, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.giveaway-stats span {
  display: block;
  color: #8f98b5;
  font-size: 12px;
  margin-bottom: 4px;
}

.giveaway-stats strong {
  font-size: 20px;
}

.giveaway-state {
  padding: 0 14px 8px;
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.4;
}

.giveaway-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 14px;
  color: #21d69b;
  font-weight: 700;
}

.giveaway-meta span {
  color: #8cf0cd;
  font-size: 13px;
}

.giveaway-meta .btn {
  height: 40px;
  border-radius: 10px;
  background: rgba(33, 214, 155, 0.12);
  border: 1px solid rgba(33, 214, 155, 0.22);
  color: #dffff4;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.giveaway-meta .btn:hover {
  background: rgba(33, 214, 155, 0.18);
  border-color: rgba(33, 214, 155, 0.3);
}

.giveaway-history-card {
  display: grid;
  gap: 10px;
}

.giveaway-history-title {
  color: #f3f6ff;
  font-size: 17px;
  font-weight: 800;
}

.giveaway-history-list {
  display: grid;
  gap: 10px;
}

.giveaway-history-item {
  border: 1px solid rgba(190, 207, 238, 0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.giveaway-history-item__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #f3f6ff;
  font-weight: 800;
}

.giveaway-history-item__meta,
.giveaway-history-winners {
  margin-top: 8px;
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.4;
}

.empty-state {
  text-align: center;
  padding: 20px;
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.4;
}

.empty-state strong {
  display: block;
  color: #eef3ff;
  font-size: 15px;
  line-height: 1.25;
}

.empty-state span {
  display: block;
  margin-top: 6px;
}

.loading-text {
  text-align: center;
  color: #8f98b5;
  padding: 16px;
}

.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

#profile-screen .stats-grid .empty-state {
  grid-column: 1 / -1;
  padding: 18px 16px;
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 16px;
  background: rgba(16, 24, 41, 0.42);
}

.home-giveaway--empty .giveaway-image,
.home-giveaway--empty .giveaway-title,
.home-giveaway--empty .giveaway-stats,
.home-giveaway--empty .giveaway-state,
.home-giveaway--empty .giveaway-meta {
  display: none;
}

.home-giveaway--empty .empty-state {
  padding: 22px 18px;
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 14px;
  background: rgba(16, 24, 41, 0.44);
}

#wheel-screen h1,
#profile-screen h1 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

#profile-screen .profile-referral-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-color: rgba(33, 214, 155, 0.16);
  background:
    radial-gradient(circle at 18% 0%, rgba(33, 214, 155, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 24, 41, 0.92), rgba(9, 14, 27, 0.96));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#profile-screen .profile-referral-card .label {
  color: #c7d0e8;
  font-size: 13px;
  letter-spacing: 0;
}

#profile-screen .referral-hint {
  margin-top: 5px;
  color: #aeb8d1;
  font-size: 13px;
  line-height: 1.35;
}

#profile-screen .profile-referral-card .ref-box {
  margin: 10px 0 14px;
  padding: 13px 14px;
  border-color: rgba(190, 207, 238, 0.11);
  background: rgba(5, 9, 18, 0.38);
  color: #b8f5df;
  font-size: 13px;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

#profile-screen .profile-referral-card .btn-primary {
  border: 1px solid rgba(33, 214, 155, 0.28);
  background: linear-gradient(180deg, #24e7b6, #18cfa2);
  box-shadow:
    0 12px 24px rgba(33, 214, 155, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

#profile-screen .profile-referral-card .btn-primary:hover {
  background: linear-gradient(180deg, #2aefbf, #18cfa2);
  box-shadow:
    0 14px 28px rgba(33, 214, 155, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

#profile-screen .profile-referral-card .btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 8px 18px rgba(33, 214, 155, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#profile-screen .stats-grid {
  gap: 10px;
}

#profile-screen .mini-card {
  min-height: 78px;
  padding: 15px;
  border-color: rgba(190, 207, 238, 0.07);
  background:
    linear-gradient(180deg, rgba(16, 24, 41, 0.72), rgba(10, 15, 29, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

#profile-screen .mini-card__value {
  color: #f4f7ff;
  font-size: 23px;
  line-height: 1;
}

#profile-screen .mini-card__label {
  color: #9da8c2;
  line-height: 1.25;
}

#profile-screen .profile-card {
  padding: 17px;
  border-color: rgba(33, 214, 155, 0.14);
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 191, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(16, 24, 41, 0.92), rgba(9, 14, 27, 0.96));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#profile-screen .avatar {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #58b2ee, #2b78c2);
  box-shadow:
    0 10px 20px rgba(37, 130, 214, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

#profile-screen .profile-name {
  color: #f4f7ff;
  line-height: 1.15;
}

#profile-screen .profile-id {
  color: #9da8c2;
  font-size: 13px;
}

#profile-screen .balance-pill {
  border-color: rgba(33, 214, 155, 0.22);
  background: rgba(33, 214, 155, 0.1);
  color: #62efc4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#profile-screen .profile-status-card {
  border-color: rgba(33, 214, 155, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 214, 155, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(16, 24, 41, 0.82), rgba(9, 14, 27, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#profile-screen .profile-status-card .label {
  color: #9da8c2;
}

#profile-screen .profile-status-title {
  margin-top: 5px;
  color: #f4f7ff;
  line-height: 1.2;
}

#profile-screen .profile-status-text {
  color: #aeb8d1;
}

#profile-screen .profile-kick-card {
  display: grid;
  gap: 10px;
  border-color: rgba(89, 178, 238, 0.16);
  background:
    linear-gradient(135deg, rgba(89, 178, 238, 0.08), rgba(11, 16, 32, 0.96) 62%),
    #0d1424;
}

#profile-screen .profile-kick-title {
  color: #f3f6ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#profile-screen .profile-kick-text {
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.5;
}

#profile-screen .profile-kick-actions {
  display: grid;
  gap: 8px;
}

.wheel-lead {
  margin: 0 0 14px;
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.5;
}

.wheel-card {
  display: grid;
  gap: 14px;
  border-color: rgba(33, 214, 155, 0.16);
  background:
    radial-gradient(circle at 20% 8%, rgba(33, 214, 155, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(16, 24, 41, 0.94), rgba(8, 13, 24, 0.98)),
    #0d1424;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wheel-card--ready {
  border-color: rgba(33, 214, 155, 0.24);
}

.wheel-card--spinning {
  border-color: rgba(89, 239, 191, 0.34);
  box-shadow:
    0 18px 38px rgba(33, 214, 155, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wheel-card--cooldown,
.wheel-card--disabled {
  border-color: rgba(190, 207, 238, 0.08);
}

.wheel-card--error {
  border-color: rgba(255, 107, 107, 0.26);
}

.wheel-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
}

.wheel-disc {
  position: relative;
  width: min(210px, 74vw);
  aspect-ratio: 1;
  border: 1px solid rgba(33, 214, 155, 0.22);
  border-radius: 50%;
  background:
    conic-gradient(
      from -20deg,
      rgba(33, 214, 155, 0.24),
      rgba(89, 178, 238, 0.2),
      rgba(255, 255, 255, 0.055),
      rgba(33, 214, 155, 0.16),
      rgba(33, 214, 155, 0.24)
    );
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.wheel-card--spinning .wheel-disc {
  animation: wheelSafeSpin 0.9s linear infinite;
}

.wheel-disc::after {
  content: "";
  position: absolute;
  inset: 32%;
  border: 1px solid rgba(33, 214, 155, 0.2);
  border-radius: 50%;
  background: rgba(5, 9, 18, 0.72);
}

.wheel-disc span {
  position: absolute;
  z-index: 1;
  color: #dffff4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wheel-disc span:nth-child(1) {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.wheel-disc span:nth-child(2) {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.wheel-disc span:nth-child(3) {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.wheel-disc span:nth-child(4) {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.wheel-pointer {
  position: absolute;
  top: 2px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #59efbf;
  filter: drop-shadow(0 8px 12px rgba(33, 214, 155, 0.18));
}

.wheel-status,
.wheel-cooldown {
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.wheel-cooldown {
  color: #8cf0cd;
  font-weight: 700;
}

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

.wheel-progression > div {
  min-width: 0;
  border: 1px solid rgba(190, 207, 238, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px 8px;
  text-align: center;
}

.wheel-progression span,
.wheel-progression strong {
  display: block;
}

.wheel-progression span {
  color: #8f98b5;
  font-size: 11px;
  line-height: 1.2;
}

.wheel-progression strong {
  margin-top: 5px;
  color: #dffff4;
  font-size: 13px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.wheel-result-card,
.wheel-history-card {
  border-color: rgba(190, 207, 238, 0.07);
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.9), rgba(8, 13, 24, 0.96)),
    #0d1424;
}

.wheel-result-card {
  scroll-margin: 84px;
}

.wheel-result-card--highlight {
  border-color: rgba(89, 239, 191, 0.34);
  box-shadow:
    0 14px 32px rgba(33, 214, 155, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: wheelResultGlow 1.7s ease both;
}

.wheel-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wheel-result-title,
.wheel-history-title {
  color: #f3f6ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.wheel-result-text {
  margin-top: 8px;
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.5;
}

.wheel-consequences {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.wheel-consequences.hidden {
  display: none;
}

.wheel-consequence-card {
  border: 1px solid rgba(190, 207, 238, 0.12);
  border-radius: 8px;
  padding: 8px 9px;
  background: rgba(11, 16, 32, 0.38);
  overflow-wrap: anywhere;
}

.wheel-consequence-card--success {
  border-color: rgba(33, 214, 155, 0.2);
  background: rgba(33, 214, 155, 0.08);
}

.wheel-consequence-card--info {
  border-color: rgba(103, 140, 255, 0.2);
  background: rgba(103, 140, 255, 0.08);
}

.wheel-consequence-card--warning {
  border-color: rgba(245, 200, 91, 0.24);
  background: rgba(245, 200, 91, 0.09);
}

.wheel-consequence-card--error {
  border-color: rgba(255, 116, 116, 0.24);
  background: rgba(255, 116, 116, 0.09);
}

.wheel-consequence-title {
  color: #f3f6ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.wheel-consequence-message {
  margin-top: 2px;
  color: #aab4cd;
  font-size: 12px;
  line-height: 1.45;
}

.wheel-reward-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  border: 1px solid rgba(190, 207, 238, 0.1);
  border-radius: 999px;
  padding: 5px 9px;
  color: #dce4f7;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
}

.wheel-reward-badge--coins {
  border-color: rgba(33, 214, 155, 0.26);
  background: rgba(33, 214, 155, 0.11);
  color: #86f3d1;
}

.wheel-reward-badge--entries {
  border-color: rgba(89, 178, 238, 0.3);
  background: rgba(89, 178, 238, 0.11);
  color: #b9dcff;
}

.wheel-reward-badge--neutral {
  color: #aab4cd;
}

.wheel-reward-badge--operator {
  border-color: rgba(242, 189, 74, 0.32);
  background: rgba(242, 189, 74, 0.12);
  color: #ffd98a;
}

.wheel-refresh-btn {
  height: 38px;
  border-radius: 10px;
}

.wheel-history-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.wheel-history-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.wheel-history-main strong,
.wheel-history-main span {
  display: block;
}

.wheel-history-item strong {
  color: #f3f6ff;
  font-size: 14px;
}

.wheel-history-main span,
.wheel-history-reward {
  color: #9da8c2;
  font-size: 13px;
  line-height: 1.4;
}

.wheel-history-reward {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.wheel-history-reward > span:last-child {
  min-width: 0;
}

.wheel-page {
  display: grid;
  gap: 14px;
}

.wheel-hero-card {
  position: relative;
  overflow: hidden;
  padding: 20px 16px 16px;
  border-color: rgba(89, 239, 191, 0.18);
  background:
    radial-gradient(circle at 50% 44%, rgba(89, 239, 191, 0.16), transparent 32%),
    radial-gradient(circle at 18% 4%, rgba(89, 239, 191, 0.22), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(119, 154, 255, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(16, 24, 41, 0.98), rgba(8, 13, 24, 0.99)),
    #0d1424;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.015),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.wheel-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.055), transparent 26%),
    radial-gradient(circle at 50% 52%, transparent 32%, rgba(0, 0, 0, 0.16) 82%);
}

.wheel-copy {
  position: relative;
  z-index: 2;
  text-align: left;
}

.wheel-copy h1 {
  margin: 4px 0 6px !important;
}

.wheel-lead {
  max-width: 330px;
  line-height: 1.48;
}

.wheel-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 268px;
  margin: 8px 0 4px;
}

.wheel-stage::before {
  content: "";
  position: absolute;
  width: min(292px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(89, 239, 191, 0.24), rgba(89, 239, 191, 0.08) 38%, transparent 70%);
  filter: blur(7px);
}

.wheel-disc {
  position: relative;
  width: min(246px, 78vw);
  border: 9px solid rgba(8, 13, 24, 0.9);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(18, 28, 48, 0.22), rgba(5, 9, 18, 0.36));
  overflow: hidden;
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(33, 214, 155, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 0 42px rgba(5, 9, 18, 0.44);
}

.wheel-rotor {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  transform: rotate(var(--wheel-stop-rotation, 0deg));
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.wheel-label-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.wheel-card--spinning .wheel-disc {
  animation: none;
}

.wheel-card--spinning .wheel-rotor {
  animation: wheelPrizeSpin 0.7s linear infinite;
  transition: none;
}

.wheel-card--spinning .wheel-label-layer {
  opacity: 0;
}

.wheel-disc--empty {
  opacity: 0.62;
}

.wheel-disc::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(5, 9, 18, 0.28),
    0 0 18px rgba(255, 255, 255, 0.04);
}

.wheel-disc::after {
  inset: 35%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    rgba(5, 9, 18, 0.86);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wheel-center {
  position: absolute;
  z-index: 4;
  inset: 36%;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #f3f6ff;
  text-align: center;
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(18, 28, 48, 0.96), rgba(5, 9, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wheel-center strong,
.wheel-center span {
  position: static;
  display: block;
  transform: none;
  text-transform: none;
}

.wheel-center strong {
  font-size: 16px;
  line-height: 1;
}

.wheel-center span {
  margin-top: 2px;
  color: #8cf0cd;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.wheel-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wheel-svg-sector-shape {
  stroke: rgba(5, 9, 18, 0.34);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.wheel-svg-sector--neutral .wheel-svg-sector-shape {
  stroke: rgba(190, 207, 238, 0.14);
}

.wheel-svg-label {
  fill: rgba(255, 255, 255, 0.97);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
  paint-order: stroke fill;
  stroke: rgba(5, 9, 18, 0.88);
  stroke-width: 3.2px;
  stroke-linejoin: round;
  pointer-events: none;
  user-select: none;
}

.wheel-svg--labels {
  overflow: visible;
}

.wheel-svg-label-group {
  transform-origin: center;
}

.wheel-svg-label tspan {
  text-anchor: middle;
}

.wheel-svg-empty-ring {
  fill: rgba(21, 31, 52, 0.72);
  stroke: rgba(190, 207, 238, 0.14);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.wheel-segment-label {
  display: none !important;
}

.wheel-pointer {
  top: -2px;
  z-index: 6;
  border-left-width: 17px;
  border-right-width: 17px;
  border-top: 34px solid #f5c85b;
  filter:
    drop-shadow(0 7px 12px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 14px rgba(245, 200, 91, 0.42));
}

.wheel-status {
  position: relative;
  z-index: 2;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 14px;
  background: rgba(7, 12, 22, 0.42);
  padding: 10px 12px;
  text-align: center;
}

.wheel-spin-button {
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  box-shadow:
    0 12px 28px rgba(33, 214, 155, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.wheel-spin-button:disabled {
  border: 1px solid rgba(190, 207, 238, 0.1);
  background:
    linear-gradient(180deg, rgba(22, 31, 50, 0.88), rgba(12, 18, 31, 0.9));
  color: #9ba6c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wheel-history-section {
  display: grid;
  gap: 10px;
}

.wheel-cooldown {
  display: block;
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  border: 1px solid rgba(33, 214, 155, 0.15);
  border-radius: 999px;
  background: rgba(33, 214, 155, 0.075);
  padding: 8px 12px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wheel-progression {
  padding: 4px 0 2px;
}

.wheel-progression > div {
  border-color: rgba(190, 207, 238, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.wheel-progression strong {
  color: #e8fff6;
}

.wheel-history-item {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
}

.wheel-history-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(190, 207, 238, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #dce4f7;
  font-size: 18px;
  font-weight: 900;
}

.wheel-history-icon--coins {
  border-color: rgba(33, 214, 155, 0.22);
  background: rgba(33, 214, 155, 0.1);
  color: #86f3d1;
}

.wheel-history-icon--entries {
  border-color: rgba(195, 124, 255, 0.24);
  background: rgba(195, 124, 255, 0.1);
  color: #e1c7ff;
}

.wheel-history-icon--operator {
  border-color: rgba(242, 189, 74, 0.24);
  background: rgba(242, 189, 74, 0.1);
  color: #ffd98a;
}

.wheel-history-main {
  min-width: 0;
}

.wheel-history-title,
.wheel-history-date,
.wheel-history-description {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.wheel-history-date {
  color: #9da8c2;
  font-size: 13px;
  line-height: 1.4;
}

.wheel-history-description {
  margin-top: 3px;
  color: #8791ad;
  font-size: 12px;
  line-height: 1.35;
}

.wheel-history-reward {
  grid-column: 2 / -1;
  min-width: 0;
  justify-content: flex-start;
}

.wheel-history-loader,
.wheel-history-retry,
.wheel-history-end {
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: #aab4cd;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
}

.wheel-history-retry {
  display: grid;
  gap: 8px;
}

.wheel-history-retry .btn {
  justify-self: center;
  min-height: 36px;
  height: 36px;
  border-radius: 10px;
}

.wheel-history-sentinel {
  min-height: 1px;
}

.hidden {
  display: none !important;
}

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

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

@keyframes wheelResultGlow {
  0% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0);
  }
}

.giveaway-timer {
  padding: 0 14px 14px;
  color: #21d69b;
  font-weight: 700;
}

.faq-item {
  background: #0b1020;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  color: #d8dcef;
}

.streamer-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-color: rgba(190, 207, 238, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.98), rgba(8, 13, 24, 0.98)),
    #0d1424;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.streamer-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.streamer-streak {
  min-width: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(190, 207, 238, 0.08);
}

.streamer-streak__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e9eeff;
  font-size: 13px;
  font-weight: 700;
}

.streamer-streak__segments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}

.streamer-streak__segments span {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 24px;
  border: 1px solid rgba(170, 180, 205, 0.12);
  border-radius: 7px;
  background: rgba(170, 180, 205, 0.06);
  color: #7f8aa6;
  font-size: 11px;
  font-weight: 800;
}

.streamer-streak__segments span.is-filled {
  border-color: rgba(33, 214, 155, 0.3);
  background: rgba(33, 214, 155, 0.15);
  color: #bff7e5;
}

.streamer-streak__message {
  margin-top: 9px;
  color: #9da8c3;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.streamer-name {
  color: #f3f6ff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.streamer-status {
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 5px;
}

.streamer-live-status {
  color: #35d07f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 5px;
}

.streamer-card .btn {
  flex-shrink: 0;
  min-width: 104px;
  height: 40px;
  border: 1px solid rgba(33, 214, 155, 0.22);
  border-radius: 10px;
  background: rgba(33, 214, 155, 0.12);
  color: #dffff4;
  box-shadow: none;
}

.streamer-card .btn:hover {
  background: rgba(33, 214, 155, 0.17);
  opacity: 1;
}

.tasks-section {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.tasks-section:last-child {
  margin-bottom: 0;
}

.tasks-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e9eeff;
  font-size: 15px;
  font-weight: 800;
}

.tasks-section-heading span:last-child {
  color: #8f98b5;
  font-size: 13px;
  font-weight: 700;
}

.task-card {
  position: relative;
  display: grid;
  gap: 11px;
  padding: 16px;
  margin-bottom: 14px;
  cursor: pointer;
  border-color: rgba(190, 207, 238, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.98), rgba(8, 13, 24, 0.98)),
    #0d1424;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.task-card--completed {
  border-color: rgba(190, 207, 238, 0.07);
  background:
    linear-gradient(180deg, rgba(15, 23, 39, 0.98), rgba(8, 13, 24, 0.98)),
    #0d1424;
}

.task-card--project.task-card--completed {
  gap: 10px;
  padding: 14px;
  border-color: rgba(33, 214, 155, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 38, 36, 0.92), rgba(8, 13, 24, 0.98)),
    #0d1424;
}

.task-badge {
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 70px);
  background: rgba(33, 214, 155, 0.08);
  border: 1px solid rgba(33, 214, 155, 0.14);
  color: #65eec1;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.task-badge.alt {
  background: rgba(103, 140, 255, 0.14);
  color: #91adff;
}

.task-reward {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #59efbf;
  font-weight: 700;
  font-size: 12px;
  opacity: 0.85;
}

.task-title {
  margin-top: 2px;
  color: #f3f6ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.task-desc {
  color: #a2aac3;
  line-height: 1.48;
  font-size: 14px;
}

.task-consequences {
  display: grid;
  gap: 8px;
}

.task-consequences.hidden {
  display: none;
}

.task-consequence-card {
  border: 1px solid rgba(190, 207, 238, 0.1);
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(11, 16, 32, 0.52);
  overflow-wrap: anywhere;
}

.task-consequence-card--success {
  border-color: rgba(33, 214, 155, 0.2);
  background: rgba(33, 214, 155, 0.08);
}

.task-consequence-card--info {
  border-color: rgba(103, 140, 255, 0.2);
  background: rgba(103, 140, 255, 0.08);
}

.task-consequence-card--warning {
  border-color: rgba(245, 200, 91, 0.24);
  background: rgba(245, 200, 91, 0.09);
}

.task-consequence-card--error {
  border-color: rgba(255, 116, 116, 0.24);
  background: rgba(255, 116, 116, 0.09);
}

.task-consequence-title {
  color: #f3f6ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.task-consequence-message {
  margin-top: 3px;
  color: #aab4cd;
  font-size: 12px;
  line-height: 1.45;
}

.task-consequence-summary-card {
  padding: 11px 12px;
}

.task-consequence-summary-list {
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.task-consequence-summary-list li {
  color: #dfe6f7;
  font-size: 12px;
  line-height: 1.45;
}

.shop-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  padding: 4px;
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 16px;
  background: rgba(11, 16, 32, 0.48);
}

.chip {
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #dce2f5;
  padding: 0 18px;
  flex: 1;
}

.chip.active {
  background: rgba(33, 214, 155, 0.16);
  border-color: rgba(33, 214, 155, 0.22);
  color: #58f0c0;
}

.chip:disabled {
  opacity: 0.55;
  cursor: default;
}

.shop-lead {
  max-width: 360px;
  margin: 0 0 14px;
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.5;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 28px;
  justify-items: stretch;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-color: rgba(190, 207, 238, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.98), rgba(8, 13, 24, 0.99)),
    #0d1424;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.shop-card:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 221, 165, 0.18);
  background:
    linear-gradient(180deg, rgba(19, 29, 49, 0.98), rgba(9, 15, 28, 0.99)),
    #0d1424;
}

.shop-card-featured {
  border-color: rgba(33, 214, 155, 0.17);
  background:
    linear-gradient(180deg, rgba(33, 214, 155, 0.055), rgba(9, 15, 28, 0.99) 52%),
    #0d1424;
}

.shop-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
  text-align: center;
}

.shop-message {
  margin: 0 0 14px;
  border: 1px solid rgba(47, 221, 165, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(33, 214, 155, 0.1), rgba(33, 214, 155, 0.04)),
    rgba(11, 16, 32, 0.52);
  color: #d8fff1;
  padding: 12px 14px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.shop-message.error {
  border-color: rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.08);
  color: #ff9b9b;
}

.shop-message.hidden {
  display: none;
}

.shop-product-consequences {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shop-product-consequences.hidden {
  display: none;
}

.shop-consequence-card {
  border: 1px solid rgba(190, 207, 238, 0.12);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(11, 16, 32, 0.42);
  overflow-wrap: anywhere;
}

.shop-consequence-card--success {
  border-color: rgba(33, 214, 155, 0.2);
  background: rgba(33, 214, 155, 0.08);
}

.shop-consequence-card--info {
  border-color: rgba(103, 140, 255, 0.2);
  background: rgba(103, 140, 255, 0.08);
}

.shop-consequence-card--warning {
  border-color: rgba(245, 200, 91, 0.24);
  background: rgba(245, 200, 91, 0.09);
}

.shop-consequence-card--error {
  border-color: rgba(255, 116, 116, 0.24);
  background: rgba(255, 116, 116, 0.09);
}

.shop-consequence-title {
  color: #f3f6ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.shop-consequence-message {
  margin-top: 2px;
  color: #aab4cd;
  font-size: 12px;
  line-height: 1.45;
}

.shop-image,
.shop-image-placeholder {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  background:
    radial-gradient(circle at 70% 18%, rgba(33, 214, 155, 0.13), transparent 34%),
    linear-gradient(145deg, #111a2d, #070d18);
  border-bottom: 1px solid rgba(190, 207, 238, 0.07);
  color: #8f98b5;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 13px;
}

.shop-image-placeholder {
  gap: 6px;
  align-content: center;
}

.shop-image-mark {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(33, 214, 155, 0.22);
  border-radius: 14px;
  background: rgba(33, 214, 155, 0.08);
  color: #59efbf;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.shop-image-placeholder small {
  color: #8f98b5;
  font-size: 12px;
}

.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(5, 7, 13, 0.02) 48%, rgba(5, 7, 13, 0.24)),
    radial-gradient(circle at top right, rgba(33, 214, 155, 0.1), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -20px 32px rgba(5, 7, 13, 0.28);
}

.shop-header {
  display: none;
}

.shop-card-kicker {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(89, 239, 191, 0.16);
  border-radius: 999px;
  background: rgba(33, 214, 155, 0.08);
  color: #70e7bf;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-title {
  min-height: 0;
  color: #f3f6ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.shop-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(190, 207, 238, 0.065);
}

.shop-price span {
  color: #8f98b5;
  font-size: 11px;
  font-weight: 600;
}

.shop-price strong {
  color: #59efbf;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
}

.shop-description {
  flex: 1;
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.shop-card .btn {
  margin: 0;
}

.shop-buy-btn {
  width: 100%;
  max-width: 260px;
  min-height: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 10px;
  background: rgba(33, 214, 155, 0.12);
  border: 1px solid rgba(33, 214, 155, 0.22);
  color: #dffff4;
  box-shadow: none;
  font-size: 13px;
}

.shop-buy-btn:not(:disabled):hover {
  background: rgba(33, 214, 155, 0.17);
  opacity: 1;
}

.ref-box {
  background: rgba(12, 18, 32, 0.72);
  border: 1px solid rgba(190, 207, 238, 0.08);
  border-radius: 12px;
  padding: 14px;
  color: #8ce9c9;
  margin-bottom: 12px;
  word-break: break-all;
  line-height: 1.45;
}

#wheel-screen h1,
#profile-screen h1 {
  margin: 18px 0 14px;
  font-size: 24px;
  line-height: 1.12;
}

#profile-screen .profile-referral-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-color: rgba(190, 207, 238, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.94), rgba(8, 13, 24, 0.96)),
    #0d1424;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#profile-screen .profile-referral-card .label {
  margin-bottom: 0;
}

#profile-screen .profile-referral-card .btn-primary {
  height: 42px;
  border: 1px solid rgba(33, 214, 155, 0.22);
  border-radius: 10px;
  background: rgba(33, 214, 155, 0.13);
  color: #dffff4;
}

#profile-screen .profile-referral-card .btn-primary:hover {
  background: rgba(33, 214, 155, 0.18);
  opacity: 1;
}

#profile-screen .stats-grid {
  gap: 10px;
}

#profile-screen .mini-card {
  border-color: rgba(190, 207, 238, 0.085);
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.82), rgba(8, 13, 24, 0.9));
  min-height: 82px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

#profile-screen .mini-card__value {
  color: #f3f6ff;
  line-height: 1.1;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border-color: rgba(33, 214, 155, 0.13);
  background:
    radial-gradient(circle at 12% 8%, rgba(89, 239, 191, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.96), rgba(8, 13, 24, 0.98)),
    #0d1424;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(180deg, #5ebfff, #3491e3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 28px;
  font-weight: 800;
  box-shadow:
    0 12px 26px rgba(52, 145, 227, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.profile-name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.12;
}

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

.profile-id {
  color: #9ba4bd;
  margin-top: 4px;
}

.balance-pill {
  margin-left: auto;
  background:
    linear-gradient(180deg, rgba(33, 214, 155, 0.18), rgba(33, 214, 155, 0.08));
  color: #dffff4;
  border: 1px solid rgba(33, 214, 155, 0.24);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow:
    0 8px 22px rgba(33, 214, 155, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-status-card {
  border-color: rgba(33, 214, 155, 0.13);
  background:
    linear-gradient(135deg, rgba(33, 214, 155, 0.08), rgba(11, 16, 32, 0.96) 62%),
    #0d1424;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.profile-status-title {
  color: #f3f6ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.profile-status-text {
  margin-top: 8px;
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.5;
}

.profile-kick-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-color: rgba(120, 170, 255, 0.16);
  background:
    radial-gradient(circle at 10% 0%, rgba(120, 170, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.96), rgba(8, 13, 24, 0.98)),
    #0d1424;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-kick-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.045), transparent 30%);
}

.profile-kick-card--linked {
  border-color: rgba(33, 214, 155, 0.26);
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 214, 155, 0.2), transparent 36%),
    radial-gradient(circle at 88% 16%, rgba(120, 170, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.96), rgba(8, 13, 24, 0.98)),
    #0d1424;
}

.profile-kick-head {
  position: relative;
  z-index: 1;
  display: contents;
}

.profile-kick-head > div:nth-child(2) {
  min-width: 0;
  grid-column: 2;
}

.profile-kick-head .label {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-kick-state {
  display: none;
}

.profile-kick-mark {
  grid-column: 1;
  grid-row: 1;
}

.profile-kick-text {
  display: none;
}

.profile-kick-actions {
  grid-column: 3;
  grid-row: 1;
}

.profile-kick-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(120, 170, 255, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(120, 170, 255, 0.2), rgba(33, 214, 155, 0.08));
  color: #dce8ff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-kick-card--linked .profile-kick-mark {
  border-color: rgba(33, 214, 155, 0.28);
  color: #dffff4;
}

.profile-kick-state {
  border: 1px solid rgba(120, 170, 255, 0.16);
  border-radius: 999px;
  background: rgba(120, 170, 255, 0.08);
  color: #cfd9ff;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.profile-kick-card--linked .profile-kick-state {
  border-color: rgba(33, 214, 155, 0.22);
  background: rgba(33, 214, 155, 0.12);
  color: #8cf0cd;
}

.profile-kick-title {
  color: #f3f6ff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.profile-kick-text {
  position: relative;
  z-index: 1;
  color: #aab4cd;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.profile-kick-card--linked .profile-kick-text {
  color: #d8fff1;
}

.profile-kick-actions {
  position: relative;
  z-index: 1;
  display: block;
}

.profile-kick-actions .btn {
  width: auto;
  min-height: 34px;
  height: auto;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.profile-kick-actions .btn-primary:disabled {
  border: 1px solid rgba(33, 214, 155, 0.24);
  background:
    linear-gradient(180deg, rgba(33, 214, 155, 0.16), rgba(33, 214, 155, 0.08));
  color: #dffff4;
  opacity: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-kick-actions .btn-secondary {
  border-color: rgba(190, 207, 238, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #d8def4;
}

.profile-kick-actions .btn[hidden] {
  display: none;
}

.profile-bindings-projects {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

#profile-screen .profile-bindings-projects + .stats-grid {
  margin-top: 14px;
}

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

.profile-bindings-note {
  border: 1px solid rgba(190, 207, 238, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #aab4cd;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
}

.profile-binding-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(120, 170, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.94), rgba(8, 13, 24, 0.98)),
    #0d1424;
  padding: 10px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.profile-binding-card--linked {
  border-color: rgba(33, 214, 155, 0.24);
}

.profile-binding-card--pending {
  border-color: rgba(245, 200, 91, 0.22);
}

.profile-binding-card--unavailable {
  opacity: 0.78;
}

.profile-binding-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(120, 170, 255, 0.16);
  border-radius: 8px;
  background: rgba(120, 170, 255, 0.08);
  color: #eaf0ff;
  font-size: 15px;
  font-weight: 900;
}

.profile-binding-main {
  min-width: 0;
  overflow: hidden;
}

.profile-binding-title {
  color: #f3f6ff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.profile-binding-status {
  margin-top: 3px;
  color: #aab4cd;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.profile-binding-action {
  border: 1px solid rgba(33, 214, 155, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 214, 155, 0.22), rgba(33, 214, 155, 0.1));
  color: #dffff4;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-binding-action--disabled,
.profile-binding-action:disabled {
  border-color: rgba(190, 207, 238, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #8d98b4;
  cursor: default;
}

.input-error {
  border-color: rgba(255, 107, 107, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.16);
}

#profile-screen .balance-pill {
  background:
    linear-gradient(180deg, rgba(33, 214, 155, 0.18), rgba(33, 214, 155, 0.08));
  color: #dffff4;
  box-shadow:
    0 8px 22px rgba(33, 214, 155, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#profile-screen .profile-kick-card {
  gap: 10px;
  border-color: rgba(120, 170, 255, 0.16);
  background:
    radial-gradient(circle at 10% 0%, rgba(120, 170, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.96), rgba(8, 13, 24, 0.98)),
    #0d1424;
}

#profile-screen .profile-kick-card--linked {
  border-color: rgba(33, 214, 155, 0.26);
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 214, 155, 0.2), transparent 36%),
    radial-gradient(circle at 88% 16%, rgba(120, 170, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.96), rgba(8, 13, 24, 0.98)),
    #0d1424;
}

#profile-screen .profile-kick-title {
  font-size: 13px;
  font-weight: 850;
}

#profile-screen .profile-kick-text {
  line-height: 1.25;
}

#profile-screen .profile-kick-actions {
  display: block;
}

@media (max-width: 360px) {
  .profile-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .balance-pill {
    margin-left: 0;
  }

  .wheel-disc {
    width: min(232px, 76vw);
  }

  .wheel-stage {
    min-height: 252px;
  }

  .wheel-svg-label {
    stroke-width: 3.6px;
  }
}

.mini-card {
  padding: 16px;
}

.mini-card__value {
  font-size: 22px;
  font-weight: 800;
}

.mini-card__label {
  margin-top: 8px;
  color: #9aa3be;
  font-size: 13px;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-nav-zone {
  flex-shrink: 0;
  width: 100%;
  padding: 0 var(--app-content-inset) calc(12px + env(safe-area-inset-bottom));
  background: transparent;
}

.bottom-nav {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: rgba(7, 11, 20, 0.96);
  border: 1px solid rgba(47, 221, 165, 0.12);
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px;
  backdrop-filter: blur(10px);
}

.app-toast {
  position: fixed;
  z-index: 40;
  top: 80px;
  left: 50%;
  width: auto;
  max-width: 320px;
  min-height: 44px;
  transform: translate(-50%, -8px);
  border: 1px solid rgba(190, 207, 238, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(17, 25, 43, 0.92), rgba(8, 13, 24, 0.94)),
    #0d1424;
  color: #f3f6ff;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.app-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.app-toast.success {
  border-color: rgba(33, 214, 155, 0.24);
  background:
    linear-gradient(135deg, rgba(33, 214, 155, 0.14), rgba(11, 16, 32, 0.98)),
    #0d1424;
  color: #dffff4;
}

.app-toast.error {
  border-color: rgba(255, 107, 107, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(11, 16, 32, 0.98)),
    #0d1424;
  color: #ffd3d3;
}

.app-toast.info {
  border-color: rgba(120, 170, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(120, 170, 255, 0.1), rgba(11, 16, 32, 0.98)),
    #0d1424;
  color: #e4e9ff;
}

.app-toast.hidden {
  display: block !important;
}

.nav-item {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 4px;
  border: 1px solid transparent;
  background: transparent;
  color: #a8b0ca;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

.nav-item.active {
  background: rgba(33, 214, 155, 0.14);
  color: #31efb4;
  border: 1px solid rgba(33, 214, 155, 0.2);
}

.nav-item:focus {
  outline: none;
}

.nav-item:focus-visible {
  outline: 1px solid rgba(47, 221, 165, 0.45);
  outline-offset: 2px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  width: min(430px, 100%);
  background: #09101c;
  border: 1px solid rgba(47, 221, 165, 0.14);
  border-radius: 18px;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-body {
  padding: 16px;
}

.giveaway-tickets-modal-body {
  display: grid;
  gap: 14px;
}

.giveaway-ticket-sources {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #d9deef;
  line-height: 1.45;
}

.giveaway-ticket-window-note {
  margin: 0;
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.45;
}

.profile-project-binding-form {
  display: grid;
  gap: 12px;
}

.profile-project-binding-copy,
.profile-project-binding-note {
  margin: 0;
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.45;
}

.profile-project-file-input {
  min-height: 44px;
  padding: 10px 12px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #172033;
  color: #d9deef;
  cursor: pointer;
}

.reward-box {
  margin: 16px 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(33, 214, 155, 0.08);
  border: 1px solid rgba(33, 214, 155, 0.2);
  color: #4decbc;
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 12px;
}

.task-status {
  width: fit-content;
  border: 1px solid rgba(190, 207, 238, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aab4cd;
  padding: 5px 9px;
  font-size: 13px;
}

.task-card--completed .task-status {
  opacity: 0.6;
  color: #8f98b5;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(190, 207, 238, 0.055);
}

.task-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 2px;
  min-width: 0;
}

.task-actions > *:last-child {
  margin-bottom: 0;
}

.task-actions .btn {
  flex: 1 1 132px;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  border: 1px solid rgba(33, 214, 155, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  white-space: normal;
}

.task-actions .btn-primary {
  background: #19e6b3;
  border-color: rgba(33, 214, 155, 0.34);
  color: #081018;
}

.task-actions .btn-secondary {
  background: transparent;
  border-color: rgba(190, 207, 238, 0.1);
  color: #cfd6f6;
}

.manual-submit-form {
  flex: 1 1 100%;
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.project-submit-form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.project-field-label {
  color: #e8eeff;
  font-size: 13px;
  font-weight: 600;
}

.project-inline-note,
.project-review-note,
.project-meta-row,
.project-unavailable-note {
  color: #aab4cd;
  font-size: 13px;
  line-height: 1.45;
}

.project-inline-note {
  padding: 0 2px;
}

.task-completed-summary {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid rgba(33, 214, 155, 0.18);
  border-radius: 12px;
  background: rgba(33, 214, 155, 0.075);
  padding: 10px 12px;
  min-width: 0;
}

.task-completed-kicker {
  color: #dffcf1;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  min-width: 0;
}

.task-completed-reward {
  grid-row: span 2;
  color: #19e6b3;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.task-completed-note {
  color: #9ee8cc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
}

.project-meta--completed {
  margin-top: -2px;
}

.project-meta--completed .project-meta-row {
  color: #7f8aa6;
  font-size: 12px;
}

.project-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.project-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.project-upload-status {
  color: #d2d9ef;
  font-size: 13px;
}

.project-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-review-note {
  border: 1px solid rgba(190, 207, 238, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 11px;
}

.project-meta {
  display: grid;
  gap: 8px;
}

.project-instruction {
  color: #d2d9ef;
}

.project-unavailable-note {
  padding: 12px 2px 0;
  text-align: center;
}

.task-done {
  flex: 1 1 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  border: 1px solid rgba(33, 214, 155, 0.16);
  border-radius: 10px;
  background: rgba(33, 214, 155, 0.07);
  padding: 9px 11px;
  font-weight: 600;
  color: #19e6b3;
}

.task-card--completed .task-badge {
  color: #9ee8cc;
  background: rgba(33, 214, 155, 0.075);
  border-color: rgba(33, 214, 155, 0.12);
}

.task-card--completed .task-reward {
  color: #9ee8cc;
}

.task-card--completed .task-done {
  border-color: rgba(33, 214, 155, 0.12);
  background: rgba(33, 214, 155, 0.055);
  color: #9ee8cc;
}

.task-card--completed .task-actions .btn-primary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(190, 207, 238, 0.09);
  color: #d8def4;
}

.task-card--completed .task-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.055);
  opacity: 1;
}

@keyframes softAppear {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn,
.chip,
.nav-item,
.modal-close {
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.btn:not(:disabled):active,
.chip:not(:disabled):active,
.modal-close:not(:disabled):active {
  transform: translateY(1px) scale(0.99);
}

.nav-item:not(:disabled):active {
  background: rgba(33, 214, 155, 0.1);
  border-color: rgba(33, 214, 155, 0.16);
}

.card,
.home-hero,
.activity-card,
.promo-card,
.mini-card,
.profile-card,
.wheel-card,
.wheel-result-card,
.wheel-history-card,
.task-card,
.shop-card,
.streamer-card {
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .task-card:hover,
  .activity-card:hover,
  .promo-card:hover,
  .wheel-card:hover,
  .streamer-card:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 221, 165, 0.14);
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .home-hero:hover {
    border-color: rgba(47, 221, 165, 0.18);
  }

  #profile-screen .profile-card:hover,
  #profile-screen .profile-referral-card:hover,
  #profile-screen .mini-card:hover,
  #profile-screen .profile-kick-card:hover,
  #profile-screen .profile-binding-card:hover {
    transform: none;
    border-color: rgba(47, 221, 165, 0.14);
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }
}

.empty-state,
.loading-text {
  animation: softAppear 0.16s ease both;
}

.empty-state,
.retry-state {
  border: 1px solid rgba(190, 207, 238, 0.07);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(16, 24, 41, 0.62), rgba(8, 13, 24, 0.7)),
    #0d1424;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.retry-state {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  color: #aab4cd;
  text-align: center;
  animation: softAppear 0.16s ease both;
}

.retry-state strong {
  color: #eef3ff;
  font-size: 15px;
  line-height: 1.25;
}

.retry-state span {
  color: #aab4cd;
  font-size: 14px;
  line-height: 1.4;
}

.retry-state .btn {
  justify-self: center;
  min-width: 128px;
  height: 40px;
  margin-top: 4px;
  border-radius: 10px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-line {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(190, 207, 238, 0.08);
  color: transparent !important;
}

.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  transform: translateX(-100%);
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.skeleton-line--badge {
  width: 92px;
  height: 22px;
}

.skeleton-line--title {
  width: 74%;
  height: 20px;
}

.skeleton-line--text {
  width: 100%;
  height: 14px;
}

.skeleton-line--text.short {
  width: 68%;
}

.skeleton-line--price {
  width: 56%;
  height: 34px;
  border-radius: 12px;
}

.skeleton-line--button {
  width: 100%;
  height: 40px;
  border-radius: 10px;
}

.skeleton-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.skeleton-image {
  background:
    radial-gradient(circle at 72% 18%, rgba(33, 214, 155, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(190, 207, 238, 0.08), rgba(8, 13, 24, 0.9));
}

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

.app-toast {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.nav-item.active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
