:root {
  color-scheme: light;
  --bg: #eef5f3;
  --surface: #ffffff;
  --surface-2: #f7fbfa;
  --ink: #132325;
  --muted: #69787a;
  --line: #dbe8e5;
  --primary: #0d8c98;
  --primary-dark: #086a76;
  --primary-soft: #dff4f5;
  --accent: #f29f3d;
  --danger: #d65452;
  --success: #249a68;
  --shadow: 0 18px 45px rgba(15, 55, 60, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(13, 140, 152, 0.12), rgba(238, 245, 243, 0) 280px),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  position: relative;
  overflow-x: hidden;
}

.screen {
  min-height: 100vh;
  padding: 18px 16px calc(82px + env(safe-area-inset-bottom));
}

.screen.auth-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 44px 18px calc(24px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(5, 18, 25, 0.2) 0%, rgba(5, 18, 25, 0.42) 44%, rgba(3, 27, 33, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 28, 34, 0.62) 0%, rgba(4, 28, 34, 0.18) 48%, rgba(4, 28, 34, 0.52) 100%),
    url("/assets/auth/login-bg.png") center top / cover no-repeat;
}

.screen.auth-screen::after {
  content: "";
  position: absolute;
  inset: auto -18% -18% -18%;
  height: 50%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 27, 33, 0), rgba(3, 27, 33, 0.96));
}

.auth-screen > * {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 14px;
}

.topbar-title {
  min-width: 0;
  flex: 1;
}

.topbar-title h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.topbar-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(19, 35, 37, 0.06);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.brand-copy h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.05;
}

.brand-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-panel {
  margin-top: 0;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(11, 31, 37, 0.76), rgba(5, 37, 45, 0.88));
  border: 1px solid rgba(208, 251, 247, 0.42);
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.auth-panel-head {
  display: grid;
  gap: 4px;
  margin-bottom: 2px;
}

.auth-panel-head span {
  color: #2dd8ce;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.05;
}

.auth-panel-head p {
  margin: 0;
  color: rgba(231, 248, 246, 0.72);
  font-size: 14px;
}

.auth-screen .brand {
  align-items: flex-start;
  margin-bottom: auto;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.auth-screen .brand-copy h1 {
  color: #fff;
}

.auth-screen .brand-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.register-auth-panel {
  gap: 10px;
  padding: 18px;
}

.register-auth-screen .brand {
  margin-bottom: 12px;
}

.register-auth-panel .field {
  gap: 6px;
}

.register-auth-panel .field label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.auth-panel .field label {
  color: rgba(231, 248, 246, 0.74);
}

.auth-panel .input-wrap {
  min-height: 50px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(4, 20, 26, 0.48);
  border: 1px solid rgba(206, 245, 243, 0.25);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-panel .input-wrap:focus-within {
  border-color: rgba(45, 216, 206, 0.8);
  box-shadow: 0 0 0 3px rgba(45, 216, 206, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-panel .input-wrap svg {
  width: 18px;
  height: 18px;
  color: #e8fffb;
}

.auth-panel .input-wrap input {
  color: #fff;
}

.auth-panel .input-wrap input::placeholder {
  color: rgba(224, 242, 240, 0.54);
}

.phone-prefix {
  flex: 0 0 auto;
  color: rgba(9, 47, 54, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.phone-input-wrap {
  gap: 8px;
}

.phone-input-wrap .phone-prefix {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding-right: 9px;
  border-right: 1px solid rgba(13, 140, 152, 0.22);
  white-space: nowrap;
}

.register-auth-panel .phone-input-wrap .phone-prefix {
  border-right-color: rgba(208, 251, 247, 0.28);
}

.auth-panel .phone-prefix {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  border-right-color: rgba(208, 251, 247, 0.28);
}

.auth-panel .primary-btn,
.register-auth-panel .primary-btn {
  min-height: 50px;
  margin-top: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #11c8ba, #087987);
  border: 1px solid rgba(77, 255, 239, 0.38);
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(0, 199, 188, 0.22);
  font-size: 16px;
  font-weight: 900;
}

.switch-line,
.register-auth-screen .switch-line {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(6, 27, 33, 0.48);
  border: 1px solid rgba(208, 251, 247, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.switch-line button,
.register-auth-screen .switch-line button {
  color: #35e3d8;
  font-weight: 900;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #4a5b5d;
  font-size: 12px;
  font-weight: 700;
}

.input-wrap,
.select-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  background: rgba(247, 251, 250, 0.88);
  border: 1px solid rgba(207, 225, 221, 0.9);
  border-radius: 8px;
}

.input-wrap:focus-within,
.select-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 140, 152, 0.12);
}

.input-wrap svg,
.select-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
}

.input-wrap input,
.select-wrap select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.select-wrap select {
  appearance: none;
}

.bank-select-button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(247, 251, 250, 0.88);
  border: 1px solid rgba(207, 225, 221, 0.9);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.bank-select-button.is-selected {
  color: var(--ink);
  font-weight: 800;
}

.bank-select-button:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 140, 152, 0.12);
}

.bank-select-button svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.bank-select-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.danger-btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #078891, #096c78);
  box-shadow: 0 14px 26px rgba(5, 88, 96, 0.32);
}

.secondary-btn {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.ghost-btn {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.danger-btn {
  color: #fff;
  background: var(--danger);
}

.primary-btn svg,
.secondary-btn svg,
.ghost-btn svg,
.danger-btn svg {
  width: 18px;
  height: 18px;
}

.switch-line {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.switch-line button {
  padding: 4px 6px;
  color: #ffffff;
  background: transparent;
  font-weight: 700;
}

.auth-panel .input-wrap {
  min-height: 50px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(4, 20, 26, 0.48);
  border: 1px solid rgba(206, 245, 243, 0.25);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-panel .input-wrap:focus-within {
  border-color: rgba(45, 216, 206, 0.8);
  box-shadow: 0 0 0 3px rgba(45, 216, 206, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-panel .input-wrap svg {
  color: #e8fffb;
}

.auth-panel .input-wrap input,
.auth-panel .input-wrap input:-webkit-autofill {
  color: #fff;
}

.auth-panel .input-wrap input::placeholder {
  color: rgba(224, 242, 240, 0.54);
}

.auth-panel .primary-btn,
.register-auth-panel .primary-btn {
  min-height: 50px;
  margin-top: 6px;
  color: #fff;
  background: linear-gradient(135deg, #11c8ba, #087987);
  border: 1px solid rgba(77, 255, 239, 0.38);
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(0, 199, 188, 0.22);
  font-size: 16px;
  font-weight: 900;
}

.auth-screen .switch-line {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 0;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(6, 27, 33, 0.48);
  border: 1px solid rgba(208, 251, 247, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.auth-screen .switch-line button {
  color: #35e3d8;
  font-weight: 900;
}

.legal-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.26);
}

.screen.auth-screen {
  justify-content: center;
  gap: 10px;
  padding: 26px 14px calc(16px + env(safe-area-inset-bottom));
}

.auth-screen .brand {
  align-self: stretch;
  margin-bottom: 10px;
}

.auth-screen .brand-copy {
  gap: 8px;
}

.auth-screen .brand-logo {
  width: 38px;
  height: 38px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.auth-screen .brand-copy h1 {
  font-size: 21px;
  line-height: 1;
}

.auth-screen .brand-copy p {
  margin-top: 2px;
  font-size: 10px;
}

.auth-panel,
.register-auth-panel {
  width: min(100%, 338px);
  margin: 0 auto;
  padding: 13px;
  gap: 8px;
  background: linear-gradient(180deg, rgba(11, 33, 40, 0.72), rgba(5, 30, 38, 0.84));
  border: 1px solid rgba(181, 246, 240, 0.32);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.auth-panel-head {
  gap: 3px;
  margin-bottom: 2px;
}

.auth-panel-head span {
  color: #55efe6;
  font-size: 10px;
}

.auth-panel-head h2 {
  font-size: 19px;
  line-height: 1.1;
}

.auth-panel-head p {
  display: none;
}

.auth-panel .field,
.register-auth-panel .field {
  gap: 0;
}

.auth-panel .field label,
.register-auth-panel .field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.auth-panel .input-wrap {
  min-height: 36px;
  padding: 0 10px;
  gap: 7px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(5, 21, 27, 0.56);
  border-color: rgba(204, 250, 246, 0.24);
  border-radius: 8px;
}

.auth-panel .input-wrap:focus-within {
  border-color: rgba(45, 216, 206, 0.78);
  box-shadow: 0 0 0 2px rgba(45, 216, 206, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-panel .input-wrap svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #e9fffc;
}

.auth-panel .input-wrap input,
.auth-panel .input-wrap input:-webkit-autofill {
  min-width: 0;
  height: 100%;
  color: #fff;
  font-size: 12px;
}

.auth-panel .input-wrap input::placeholder {
  color: rgba(224, 242, 240, 0.54);
}

.auth-panel .phone-input-wrap {
  gap: 7px;
}

.auth-panel .phone-prefix {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding-right: 7px;
  color: #fff;
  border-right: 1px solid rgba(208, 251, 247, 0.3);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.auth-panel .primary-btn,
.register-auth-panel .primary-btn {
  min-height: 36px;
  margin-top: 2px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, #11c8ba, #087987);
  border: 1px solid rgba(77, 255, 239, 0.36);
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(0, 199, 188, 0.2);
  font-size: 12px;
  font-weight: 900;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(222, 246, 244, 0.62);
  font-size: 10.5px;
  line-height: 1;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 0;
  background: rgba(208, 251, 247, 0.18);
}

.auth-divider span {
  flex: 0 0 auto;
}

.auth-secondary-btn {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #55efe6;
  background: rgba(5, 21, 27, 0.36);
  border: 1px solid rgba(208, 251, 247, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.legal-note {
  width: min(100%, 338px);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 10px;
  line-height: 1.35;
}

.auth-screen .legal-note {
  display: none;
}

.register-auth-screen .brand {
  margin-bottom: 8px;
}

.register-auth-panel {
  padding: 12px;
  gap: 7px;
}

@media (max-height: 700px) {
  .screen.auth-screen {
    padding-top: 16px;
  }

  .auth-screen .brand-logo {
    width: 34px;
    height: 34px;
  }

  .auth-screen .brand-copy h1 {
    font-size: 19px;
  }

  .legal-note {
    display: none;
  }
}

.hero-band {
  padding: 16px;
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #096c78 0%, #0d8c98 54%, #e69a3f 100%);
  box-shadow: 0 14px 26px rgba(13, 140, 152, 0.22);
}

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

.hero-head > div {
  min-width: 0;
}

.hero-head > span {
  flex: 0 0 auto;
}

.hero-head span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.hero-head strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.balance {
  margin-top: 18px;
}

.balance span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.balance strong {
  display: block;
  margin-top: 2px;
  font-size: 32px;
  line-height: 1.05;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.hero-actions button,
.hero-actions a {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #0d555d;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  font-weight: 800;
}

.hero-actions svg {
  width: 17px;
  height: 17px;
}

.hero-actions button:disabled {
  opacity: 0.72;
  cursor: default;
}

.vip-stage {
  margin: 0 -16px;
  padding: 16px 16px 18px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 16% 34%, rgba(255, 223, 124, 0.52), transparent 18%),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, 0.32), transparent 20%),
    linear-gradient(160deg, #ff8127 0%, #ff9b31 48%, #f05e22 100%);
}

.vip-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.vip-stage-head span {
  font-size: 16px;
  font-weight: 900;
}

.vip-stage-head strong {
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.vip-feature-card {
  position: relative;
  min-height: 152px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, 0.75), transparent 24%),
    linear-gradient(135deg, #ffcf5c 0%, #ff8931 46%, #e74727 100%);
  border: 4px solid rgba(244, 44, 39, 0.78);
  border-radius: 8px;
  box-shadow: 0 18px 32px rgba(115, 49, 22, 0.24);
}

.vip-feature-card::after {
  content: "";
  position: absolute;
  inset: auto -22px -70px 18%;
  height: 110px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.vip-feature-main,
.vip-feature-badge,
.vip-feature-price {
  position: relative;
  z-index: 1;
}

.vip-feature-main {
  display: grid;
  align-content: start;
  gap: 8px;
}

.vip-feature-main span {
  font-size: 42px;
  line-height: 0.95;
  font-weight: 950;
  text-shadow: 0 5px 16px rgba(136, 29, 12, 0.2);
}

.vip-feature-main strong,
.vip-feature-main em {
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.vip-feature-badge {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  align-self: center;
  color: #fff;
  background: linear-gradient(145deg, #d94717, #ff7b22);
  border: 3px solid rgba(255, 230, 155, 0.95);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(113, 28, 9, 0.24);
}

.vip-feature-badge svg {
  width: 36px;
  height: 36px;
}

.vip-rank-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--rank-fg, #fff);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(145deg, var(--rank-a, #8b5a2b), var(--rank-b, #d6a15d));
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(42, 22, 10, 0.18);
}

.vip-rank-image-icon {
  overflow: hidden;
  padding: 0;
  color: #f5fffd;
  background: rgba(3, 24, 31, 0.88);
  border-color: rgba(85, 239, 230, 0.38);
  box-shadow:
    0 0 14px rgba(85, 239, 230, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.vip-rank-image-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.08) brightness(1.02);
}

.vip-rank-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.vip-feature-badge .vip-rank-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.vip-feature-badge .vip-rank-icon svg {
  width: 34px;
  height: 34px;
}

.vip-rank-1 { --rank-a: #6f4328; --rank-b: #c28b55; --rank-fg: #fff9ec; }
.vip-rank-2 { --rank-a: #111827; --rank-b: #596170; --rank-fg: #f8fafc; }
.vip-rank-3 { --rank-a: #8b4513; --rank-b: #cd7f32; --rank-fg: #fff7ed; }
.vip-rank-4 { --rank-a: #d7dde8; --rank-b: #f8fafc; --rank-fg: #334155; }
.vip-rank-5 { --rank-a: #f59e0b; --rank-b: #fde68a; --rank-fg: #713f12; }
.vip-rank-6 { --rank-a: #a5b4fc; --rank-b: #e5e7eb; --rank-fg: #312e81; }
.vip-rank-7 { --rank-a: #22d3ee; --rank-b: #2563eb; --rank-fg: #f0f9ff; }
.vip-rank-8 { --rank-a: #b91c1c; --rank-b: #fb7185; --rank-fg: #fff1f2; }
.vip-rank-9 { --rank-a: #1d4ed8; --rank-b: #60a5fa; --rank-fg: #eff6ff; }
.vip-rank-trial { --rank-a: #0d8c98; --rank-b: #8ee6de; --rank-fg: #ecfeff; }

.vip-feature-price {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 210px;
  margin-top: 2px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #ff9e83, #ec5b3d);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 9px 18px rgba(117, 43, 27, 0.2);
  font-size: 18px;
  font-weight: 950;
}

.vip-upgrade-btn,
.vip-owned-label {
  min-height: 30px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a3412;
  background: #fff8e7;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 6px 12px rgba(113, 28, 9, 0.16);
}

.vip-upgrade-btn:active {
  transform: translateY(1px);
}

.vip-owned-label {
  color: rgba(154, 52, 18, 0.72);
}

.vip-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.vip-pager a,
.vip-pager span {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.vip-pager a {
  color: #7b250e;
  background: rgba(255, 248, 220, 0.96);
  box-shadow: 0 8px 16px rgba(89, 34, 14, 0.14);
}

.vip-pager span {
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(117, 44, 18, 0.22);
  white-space: nowrap;
}

.vip-pager svg {
  width: 15px;
  height: 15px;
}

.vip-card-strip {
  display: flex;
  gap: 10px;
  margin: 12px -2px 0;
  padding: 0 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vip-card-strip::-webkit-scrollbar {
  display: none;
}

.vip-level-card {
  flex: 0 0 clamp(104px, 31vw, 118px);
  min-width: 104px;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 8px;
  scroll-snap-align: start;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(117, 44, 18, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.vip-level-card.active {
  color: #7b250e;
  background: #fff8dc;
  border-color: #fff;
  box-shadow: 0 10px 20px rgba(89, 34, 14, 0.18);
}

.vip-level-card.no-access {
  cursor: not-allowed;
  opacity: 0.64;
}

.vip-level-card span,
.vip-level-card strong,
.vip-level-card em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vip-level-card span {
  font-size: 13px;
  font-weight: 950;
}

.vip-level-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vip-level-title .vip-rank-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.vip-level-title .vip-rank-icon svg {
  width: 15px;
  height: 15px;
}

.vip-level-title b {
  min-width: 0;
  font: inherit;
}

.vip-level-card strong {
  font-size: 13px;
  line-height: 1.15;
}

.vip-level-card em {
  color: currentColor;
  opacity: 0.78;
  font-size: 10px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 800;
}

.vip-detail-section {
  display: grid;
  gap: 10px;
}

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

.vip-income-grid div,
.vip-info-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.vip-income-grid div {
  padding: 12px;
}

.vip-income-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.vip-income-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.vip-intro-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  color: #40251a;
  background: linear-gradient(180deg, #fff7e8, #fffdf8);
  border: 1px solid #f2c690;
  border-radius: 8px;
}

.vip-intro-card h3,
.vip-intro-card p {
  margin: 0;
}

.vip-intro-card h3 {
  color: #85330f;
  font-size: 15px;
}

.vip-intro-card p {
  color: #5e463a;
  font-size: 13px;
  line-height: 1.55;
}

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

.vip-intro-list span {
  min-width: 0;
  padding: 9px;
  color: #6f4d12;
  background: #fff;
  border: 1px solid #f3d8a7;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.vip-info-card {
  overflow: hidden;
}

.vip-info-card h3 {
  margin: 0;
  padding: 11px 12px;
  color: #85330f;
  background: #fff2dc;
  border-bottom: 1px solid #f2c690;
  font-size: 14px;
}

.vip-table {
  display: grid;
}

.vip-table-head,
.vip-table-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.vip-table.three-cols .vip-table-head,
.vip-table.three-cols .vip-table-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vip-table-head {
  color: #fff;
  background: #f07a23;
  font-size: 11px;
  font-weight: 900;
}

.vip-table-row {
  min-height: 38px;
  color: #40251a;
  background: #fffaf2;
  border-top: 1px solid #f2c690;
  font-size: 12px;
  font-weight: 800;
}

.vip-table-row:nth-child(odd) {
  background: #ffe5c2;
}

.vip-table-head span,
.vip-table-row span {
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 8px 5px;
  text-align: center;
  border-right: 1px solid rgba(157, 81, 25, 0.28);
  overflow-wrap: anywhere;
}

.vip-table-head span:last-child,
.vip-table-row span:last-child {
  border-right: 0;
}

.vip-card-note {
  margin: 0;
  padding: 10px 12px 12px;
  color: #6f4d12;
  background: #fffaf2;
  border-top: 1px solid #f2c690;
  font-size: 12px;
  line-height: 1.5;
}

.activity-config-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 14px;
  padding: 16px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.24), transparent 22%),
    linear-gradient(135deg, #0d8c98, #f29f3d);
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(13, 140, 152, 0.16);
}

.activity-config-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.activity-image-zoom,
.activity-popup-image-button {
  width: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.activity-image-zoom img,
.activity-popup-image-button img {
  display: block;
}

.activity-config-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.activity-config-card h2,
.activity-config-card p {
  margin: 0;
}

.activity-config-card h2 {
  font-size: 22px;
  line-height: 1.15;
}

.activity-config-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
}

.activity-page-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.activity-page-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0d555d;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.activity-page-actions button:last-child {
  color: #fff;
  background: rgba(6, 37, 43, 0.42);
}

.activity-page-actions svg {
  width: 16px;
  height: 16px;
}

.lucky-section {
  display: grid;
  place-items: center;
  gap: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #120b05 0%, #2a1908 48%, #070605 100%);
  border-color: rgba(205, 151, 48, 0.45);
}

.lucky-card-hero .hero-actions {
  justify-content: flex-end;
}

.lucky-card-section {
  padding: 12px 10px 14px;
  background:
    linear-gradient(90deg, rgba(40, 211, 200, 0.08), transparent 24%, transparent 76%, rgba(40, 211, 200, 0.08)),
    radial-gradient(ellipse at 50% 6%, rgba(255, 226, 128, 0.22), transparent 38%),
    linear-gradient(145deg, #04191b 0%, #0b3d39 52%, #06100d 100%);
}

.lucky-card-stage {
  position: relative;
  width: min(100%, 392px);
  aspect-ratio: 1 / 1.24;
  overflow: hidden;
  border: 1px solid rgba(255, 225, 142, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 216, 112, 0.11) 0 1px, transparent 1px 52px),
    linear-gradient(180deg, rgba(255, 216, 112, 0.09) 0 1px, transparent 1px 52px),
    radial-gradient(ellipse at 50% 28%, rgba(43, 226, 206, 0.22), transparent 46%),
    radial-gradient(ellipse at 50% 72%, rgba(255, 195, 68, 0.13), transparent 45%),
    linear-gradient(160deg, #06282b 0%, #073b38 49%, #051211 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 48px rgba(18, 214, 203, 0.12),
    0 22px 48px rgba(0, 0, 0, 0.36);
  isolation: isolate;
}

.lucky-card-stage::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 225, 135, 0.34);
  border-radius: 8px;
  box-shadow:
    inset 0 0 24px rgba(255, 222, 119, 0.08),
    0 0 28px rgba(42, 229, 215, 0.1);
}

.lucky-card-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 247, 194, 0.09) 34%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.26));
  z-index: 2;
}

.lucky-card-stage.is-revealed::after {
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 236, 118, 0.34), transparent 29%),
    conic-gradient(from -18deg at 50% 48%, transparent 0 7%, rgba(255, 230, 96, 0.22) 8% 12%, transparent 13% 21%, rgba(42, 255, 232, 0.18) 22% 25%, transparent 26% 35%, rgba(255, 116, 162, 0.18) 36% 39%, transparent 40% 100%),
    linear-gradient(115deg, transparent 0 18%, rgba(255, 247, 194, 0.1) 34%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.28));
  animation: lucky-stage-rays 4s linear infinite;
}

.lucky-card-table {
  display: none;
}

.lucky-card-stage-head {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  z-index: 3;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  color: #e7fffb;
  background: rgba(3, 23, 24, 0.66);
  border: 1px solid rgba(88, 239, 226, 0.28);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.lucky-card-stage-head span,
.lucky-card-stage-head strong {
  min-width: 0;
}

.lucky-card-stage-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #66f2e7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lucky-card-stage-head span svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.lucky-card-stage-head strong {
  color: #fff3b8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.lucky-card-grid {
  position: absolute;
  left: 7.5%;
  right: 7.5%;
  top: 86px;
  bottom: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lucky-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  perspective: 900px;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.lucky-card:not(:disabled):hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.lucky-card:disabled {
  cursor: default;
}

.lucky-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.18, 0.78, 0.2, 1);
  transition-delay: var(--card-delay, 0ms);
}

.lucky-card.is-revealed .lucky-card-inner {
  transform: rotateY(180deg);
}

.lucky-card.is-opening .lucky-card-inner {
  animation: lucky-card-pulse 0.72s ease-in-out infinite alternate;
}

.lucky-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.lucky-card-back {
  color: #fff0a9;
  background:
    linear-gradient(135deg, rgba(255, 240, 156, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(255, 224, 120, 0.14) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, #0d6866 0%, #063c41 48%, #071718 100%);
  border: 1px solid rgba(255, 228, 143, 0.78);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 24px rgba(35, 226, 214, 0.2),
    0 10px 18px rgba(0, 0, 0, 0.38);
}

.lucky-card-back::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 225, 122, 0.56);
  border-radius: 6px;
}

.lucky-card-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: rgba(3, 24, 26, 0.68);
  border: 1px solid rgba(255, 228, 145, 0.55);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(255, 222, 112, 0.08),
    0 0 18px rgba(255, 217, 94, 0.28);
}

.lucky-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lucky-card-mark {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: #ffe474;
}

.lucky-card-mark svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

.lucky-card-front {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 9px 5px;
  color: #2d1703;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 30%),
    linear-gradient(160deg, #fff0aa 0%, #f1bd35 52%, #a76a10 100%);
  border: 1px solid rgba(255, 244, 182, 0.9);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    0 12px 22px rgba(0, 0, 0, 0.36);
}

.lucky-card-front::before {
  content: "";
  position: absolute;
  inset: -35%;
  pointer-events: none;
  background: conic-gradient(from 30deg, transparent, rgba(255, 255, 255, 0.55), transparent 30%, rgba(255, 235, 120, 0.28), transparent 54%);
  opacity: 0.42;
  transform: rotate(12deg);
}

.lucky-card-front::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 230, 0.44);
  border-radius: 6px;
}

.lucky-card-front-label {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
  color: rgba(49, 27, 3, 0.72);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.lucky-card-front strong {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #3b1a02;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.lucky-card-prize-chip {
  position: relative;
  z-index: 2;
  min-height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  color: rgba(52, 28, 4, 0.78);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(68, 36, 4, 0.16);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lucky-card-tier-starter .lucky-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 30%),
    linear-gradient(160deg, #fff0aa 0%, #f3bd36 52%, #ad6f12 100%);
}

.lucky-card-tier-bonus .lucky-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 30%),
    linear-gradient(160deg, #ffeab7 0%, #ffbc3e 46%, #d66520 100%);
}

.lucky-card-tier-major .lucky-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 30%),
    linear-gradient(160deg, #fff0ca 0%, #ffad77 45%, #a94da8 100%);
}

.lucky-card-tier-mega .lucky-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), transparent 30%),
    linear-gradient(160deg, #f8f0ff 0%, #c6a0ff 44%, #0dbdb2 100%);
}

.lucky-card-tier-jackpot .lucky-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 30%),
    linear-gradient(160deg, #fff7c6 0%, #ffd743 36%, #fa4c82 68%, #6635d8 100%);
}

.lucky-card.is-selected {
  z-index: 4;
}

.lucky-card.is-selected.is-revealed {
  transform: scale(1.16);
  animation: lucky-card-win-pop 0.72s cubic-bezier(0.16, 0.9, 0.24, 1.18) both;
}

.lucky-card.is-muted.is-revealed {
  filter: saturate(0.78) brightness(0.78);
  transform: scale(0.94);
}

.lucky-card.is-selected .lucky-card-front {
  color: #2b1200;
  gap: 5px;
  padding: 26px 5px 8px;
  border-color: rgba(255, 255, 220, 0.98);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 30%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 26%),
    linear-gradient(160deg, #fff8c6 0%, #ffd64a 42%, #ff7c35 70%, #01cbbd 100%);
  box-shadow:
    0 0 0 2px rgba(255, 250, 190, 0.72),
    0 0 18px rgba(82, 255, 235, 0.74),
    0 0 42px rgba(255, 216, 66, 0.94),
    0 18px 28px rgba(0, 0, 0, 0.42);
}

.lucky-card.is-selected .lucky-card-front::before {
  opacity: 0.78;
  animation: lucky-card-shine-spin 2.6s linear infinite;
}

.lucky-card.is-selected .lucky-card-front-label {
  color: #064f4d;
  font-size: 9px;
  letter-spacing: 0;
}

.lucky-card.is-selected .lucky-card-front strong {
  color: #032f2d;
  font-size: 21px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.76),
    0 0 12px rgba(255, 255, 255, 0.66),
    0 0 18px rgba(255, 212, 50, 0.64);
}

.lucky-card.is-selected .lucky-card-prize-chip {
  color: #032f2d;
  background: rgba(102, 255, 235, 0.72);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 14px rgba(67, 255, 233, 0.42);
}

.lucky-card-win-burst {
  position: absolute;
  inset: -18px;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.76), transparent 14%),
    conic-gradient(from 0deg, rgba(255, 225, 67, 0.9), transparent 8%, rgba(67, 255, 232, 0.78) 16%, transparent 25%, rgba(255, 87, 137, 0.78) 34%, transparent 44%, rgba(255, 225, 67, 0.9) 55%, transparent 68%, rgba(67, 255, 232, 0.8) 78%, transparent 90%);
  filter: blur(0.2px);
  opacity: 0.92;
  animation: lucky-card-burst-pulse 1.25s ease-in-out infinite alternate;
}

.lucky-card-win-burst::before,
.lucky-card-win-burst::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff5a1;
  clip-path: polygon(50% 0, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0 50%, 38% 35%);
  filter: drop-shadow(0 0 9px rgba(255, 244, 150, 0.9));
}

.lucky-card-win-burst::before {
  top: 18px;
  right: 22px;
  animation: lucky-card-spark 1.1s ease-in-out infinite alternate;
}

.lucky-card-win-burst::after {
  left: 20px;
  bottom: 18px;
  background: #74fff0;
  animation: lucky-card-spark 1.3s 0.18s ease-in-out infinite alternate;
}

.lucky-card-winner-ribbon {
  position: absolute;
  left: 50%;
  top: 7px;
  z-index: 3;
  min-width: 72px;
  padding: 4px 8px;
  color: #051d1c;
  background: linear-gradient(90deg, #61ffe9 0%, #fff29a 50%, #61ffe9 100%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(102, 255, 234, 0.62);
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
}

@keyframes lucky-card-win-pop {
  0% {
    transform: scale(0.92) translateY(8px);
  }
  60% {
    transform: scale(1.2) translateY(-5px);
  }
  100% {
    transform: scale(1.16) translateY(0);
  }
}

@keyframes lucky-card-shine-spin {
  to {
    transform: rotate(372deg);
  }
}

@keyframes lucky-card-burst-pulse {
  from {
    opacity: 0.58;
    transform: scale(0.9) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: scale(1.04) rotate(9deg);
  }
}

@keyframes lucky-card-spark {
  from {
    opacity: 0.35;
    transform: scale(0.72) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: scale(1.18) rotate(28deg);
  }
}

@keyframes lucky-stage-rays {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lucky-card-pulse {
  from {
    transform: translateY(0) rotateY(0deg);
  }
  to {
    transform: translateY(-5px) rotateY(10deg);
  }
}

.lucky-wheel-wrap {
  --wheel-center-y: calc(48.5% - 4px);
  --wheel-radius: 48%;
  --wheel-pointer-top: calc(48.5% - 2px - var(--wheel-radius) + 8px);
  position: relative;
  width: min(90vw, 380px);
  height: min(112vw, 470px);
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  margin: 4px auto 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 218, 116, 0.38);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.lucky-wheel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.96;
}

.lucky-wheel-pointer,
.lucky-wheel-pointer-img {
  position: absolute;
  top: var(--wheel-pointer-top);
  left: 50%;
  z-index: 4;
  width: 64px;
  height: 78px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.42));
}

.lucky-wheel-disc {
  position: absolute;
  left: 50%;
  top: var(--wheel-center-y);
  z-index: 2;
  width: 96%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(248, 199, 82, 0.18);
  transform: translate(-50%, -50%) rotate(var(--wheel-rotation, 0deg));
  transition: transform 3.1s cubic-bezier(0.12, 0.74, 0.12, 1);
}

.lucky-wheel-base-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.lucky-wheel-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 94px;
  height: 94px;
  display: block;
  transform: translate(-50%, -50%) rotate(var(--slot-angle)) translateY(-107px);
  transform-origin: center;
  color: #ffe9a4;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.82);
}

.lucky-wheel-prize {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.lucky-wheel-slot img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.48));
  transform: translate(-50%, -50%);
}

.lucky-wheel-amount {
  position: absolute;
  left: 50%;
  top: 59%;
  z-index: 4;
  width: 96px;
  height: 28px;
  display: block;
  overflow: visible;
  transform: translate3d(-50%, -50%, 0) rotate(-90deg);
  transform-origin: center;
  backface-visibility: hidden;
  shape-rendering: geometricPrecision;
}

.lucky-wheel-center {
  position: absolute;
  left: 50%;
  top: calc(var(--wheel-center-y) - 1px);
  z-index: 5;
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lucky-wheel-center-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.52));
}

.lucky-wheel-center:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.04);
}

.lucky-wheel-center:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.prize-wheel-template-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 218, 92, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 224, 120, 0.28), transparent 28%),
    radial-gradient(circle at 86% 26%, rgba(62, 255, 237, 0.18), transparent 34%),
    linear-gradient(150deg, rgba(5, 44, 47, 0.98), rgba(4, 17, 27, 0.98) 58%, rgba(74, 52, 13, 0.88));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34), inset 0 0 40px rgba(47, 255, 237, 0.08);
}

.prize-wheel-template-hero::before,
.prize-wheel-template-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.prize-wheel-template-hero::before {
  inset: -80px -120px auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 227, 100, 0.2), transparent 66%);
}

.prize-wheel-template-hero::after {
  inset: auto -60px -90px 32%;
  height: 180px;
  background: radial-gradient(circle, rgba(43, 255, 238, 0.18), transparent 64%);
}

.prize-wheel-template-copy,
.prize-wheel-template-panel,
.prize-wheel-template-layout {
  position: relative;
  z-index: 1;
}

.prize-wheel-template-kicker {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  color: #073233;
  background: linear-gradient(90deg, #fff09a, #4dfceb);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.prize-wheel-template-copy h1 {
  margin: 10px 0 8px;
  color: #fff7c2;
  font-size: clamp(32px, 9vw, 54px);
  line-height: 0.95;
}

.prize-wheel-template-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(226, 255, 250, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.prize-wheel-template-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.prize-wheel-template-stats div,
.prize-wheel-template-card,
.prize-wheel-template-result {
  border: 1px solid rgba(95, 255, 240, 0.18);
  background: rgba(0, 24, 30, 0.44);
  box-shadow: inset 0 0 18px rgba(64, 255, 239, 0.05);
}

.prize-wheel-template-stats div {
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
}

.prize-wheel-template-stats span,
.prize-wheel-template-card > span,
.prize-wheel-template-prize span {
  display: block;
  color: rgba(213, 255, 248, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.prize-wheel-template-stats strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.1;
}

.prize-wheel-template-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.prize-wheel-template-stage {
  position: relative;
  width: min(84vw, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.prize-wheel-template-stage::before {
  content: "";
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 238, 144, 0.14) 0deg 3deg, transparent 3deg 12deg),
    radial-gradient(circle, rgba(255, 219, 84, 0.18), transparent 64%);
  filter: blur(1px);
}

.prize-wheel-template-stage::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(255, 226, 118, 0.18);
  box-shadow: 0 0 38px rgba(255, 213, 78, 0.18), inset 0 0 30px rgba(71, 255, 240, 0.08);
}

.prize-wheel-template-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff2a0;
  transform: translateX(-50%) rotate(180deg);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.48));
}

.prize-wheel-template-pointer svg {
  width: 42px;
  height: 42px;
  fill: rgba(255, 213, 70, 0.36);
  stroke-width: 1.8;
}

.prize-wheel-template-disc {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(6, 41, 43, 0.96) 0 20%, transparent 20.5%),
    conic-gradient(from -22.5deg,
      #ffd86d 0deg 45deg,
      #0faea6 45deg 90deg,
      #f2b64b 90deg 135deg,
      #0b686f 135deg 180deg,
      #fff09a 180deg 225deg,
      #119990 225deg 270deg,
      #d9962a 270deg 315deg,
      #063f49 315deg 360deg);
  border: 10px solid rgba(255, 223, 111, 0.9);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    inset 0 0 0 2px rgba(4, 30, 32, 0.82),
    inset 0 0 34px rgba(255, 255, 255, 0.12),
    0 0 36px rgba(255, 216, 92, 0.24);
}

.prize-wheel-template-stage.is-spinning .prize-wheel-template-disc {
  animation: prizeWheelTemplateSpin 1.7s cubic-bezier(0.16, 0.74, 0.18, 1) both;
}

@keyframes prizeWheelTemplateSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(1755deg); }
}

.prize-wheel-template-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, #fff5b7 0deg 4deg, transparent 4deg 14deg);
  opacity: 0.8;
  mask: radial-gradient(circle, transparent 0 76%, #000 77% 100%);
}

.prize-wheel-template-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  min-height: 42px;
  display: grid;
  place-items: center;
  gap: 2px;
  text-align: center;
  transform: translate(-50%, -50%) rotate(var(--segment-angle)) translateY(-94px) rotate(var(--segment-angle-neg));
  color: #062b2d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.prize-wheel-template-label em {
  color: rgba(6, 39, 42, 0.72);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.prize-wheel-template-label strong {
  color: #05292b;
  font-size: 12px;
  line-height: 1;
}

.prize-wheel-template-label.is-selected {
  color: #fff5ba;
  filter: drop-shadow(0 0 10px rgba(255, 244, 160, 0.7));
}

.prize-wheel-template-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  padding: 16px 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.92), rgba(255, 229, 117, 0.9) 26%, rgba(21, 190, 179, 0.9) 58%, rgba(4, 38, 42, 0.96) 100%);
  border: 1px solid rgba(255, 249, 184, 0.84);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36), 0 0 22px rgba(63, 255, 239, 0.24);
}

.prize-wheel-template-center span {
  color: #06383a;
  font-size: 18px;
  font-weight: 1000;
}

.prize-wheel-template-center strong {
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.34);
}

.prize-wheel-template-glow {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 243, 170, 0.28), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}

.prize-wheel-template-button {
  width: min(260px, 100%);
}

.prize-wheel-template-result {
  width: min(320px, 100%);
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  color: #fff7bc;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.prize-wheel-template-layout {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.prize-wheel-template-card {
  padding: 14px;
  border-radius: 14px;
}

.prize-wheel-template-card h2 {
  margin: 5px 0;
  color: #ffffff;
  font-size: 18px;
}

.prize-wheel-template-card p {
  margin: 0;
  color: rgba(222, 255, 250, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.prize-wheel-template-prizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.prize-wheel-template-prize {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(93, 255, 239, 0.18);
  border-radius: 10px;
  background: rgba(2, 28, 34, 0.58);
}

.prize-wheel-template-prize strong {
  display: block;
  margin-top: 4px;
  color: #fff5a8;
  font-size: 14px;
}

.prize-wheel-template-prize.is-selected {
  border-color: rgba(255, 224, 94, 0.72);
  background: rgba(117, 78, 12, 0.42);
  box-shadow: 0 0 18px rgba(255, 212, 77, 0.16);
}

@media (min-width: 760px) {
  .prize-wheel-template-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    padding: 24px;
  }

  .prize-wheel-template-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.energy-draw {
  --energy-lime: #2de0d2;
  --energy-lime-soft: #bffdf6;
  --energy-white: #f2fffd;
  --energy-black: #031719;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: clamp(580px, calc(100svh - 120px), 720px);
  min-height: 580px;
  display: block;
  padding: 16px 14px 14px;
  color: var(--energy-white);
  border: 1px solid rgba(45, 224, 210, 0.28);
  border-radius: 6px;
  background-color: #04191b;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 34px rgba(17, 200, 186, 0.06);
}

.energy-draw::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 23, 25, 0.72) 0, rgba(2, 23, 25, 0.08) 22%, rgba(2, 23, 25, 0.02) 60%, rgba(2, 23, 25, 0.84) 100%),
    radial-gradient(circle at 50% 46%, transparent 0 28%, rgba(2, 34, 36, 0.14) 64%, rgba(1, 20, 22, 0.5) 100%);
}

.energy-draw::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(77, 255, 239, 0.06);
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.012) 3px 4px);
}

.energy-draw-artboard {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 47%;
  width: 100%;
  aspect-ratio: 865 / 1819;
  overflow: visible;
  transform: translateY(-47%);
}

.energy-draw-artboard::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 23, 25, 0.34) 0, transparent 20%, transparent 68%, rgba(2, 23, 25, 0.52) 100%),
    radial-gradient(circle at 48.32% 40.68%, transparent 0 28%, rgba(2, 34, 36, 0.08) 64%, rgba(1, 20, 22, 0.22) 100%);
}

.energy-draw-artboard > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.energy-draw-heading,
.energy-draw-reactor,
.energy-draw-console {
  position: absolute;
  z-index: 2;
}

.energy-draw-heading {
  top: 16px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.energy-draw-heading > div:first-child {
  min-width: 0;
}

.energy-draw-heading > div:first-child > span {
  display: block;
  color: var(--energy-lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.energy-draw-heading h1 {
  margin: 3px 0 2px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(17, 200, 186, 0.28);
}

.energy-draw-heading p {
  margin: 0;
  color: rgba(244, 248, 239, 0.65);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.energy-draw-charge {
  flex: 0 0 70px;
  min-height: 52px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 5px;
  border: 1px solid rgba(77, 255, 239, 0.42);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(7, 72, 76, 0.84), rgba(2, 28, 31, 0.92));
  box-shadow: inset 0 0 15px rgba(17, 200, 186, 0.1), 0 8px 18px rgba(0, 0, 0, 0.26);
}

.energy-draw-charge strong {
  color: var(--energy-lime-soft);
  font-size: 22px;
  line-height: 0.92;
}

.energy-draw-charge span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.energy-draw-reactor {
  left: 48.32%;
  top: 40.68%;
  width: calc(100% - 28px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.energy-draw-orbit {
  --orbit-radius: clamp(110px, 36vw, 155px);
  position: relative;
  width: min(88vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.energy-draw-orbit::before,
.energy-draw-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.energy-draw-orbit::before {
  inset: 5%;
  border: 1px solid rgba(133, 255, 244, 0.34);
  background:
    repeating-conic-gradient(from 0deg, rgba(153, 255, 246, 0.42) 0deg 1deg, transparent 1deg 15deg),
    radial-gradient(circle, rgba(17, 200, 186, 0.1), transparent 57%);
  box-shadow: inset 0 0 32px rgba(17, 200, 186, 0.09), 0 0 32px rgba(17, 200, 186, 0.13);
  mask: radial-gradient(circle, transparent 0 81%, #000 82% 100%);
}

.energy-draw-orbit::after {
  inset: 21%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 22px rgba(17, 200, 186, 0.14), inset 0 0 28px rgba(255, 255, 255, 0.03);
}

.energy-draw-orbit-track {
  position: absolute;
  z-index: 2;
  inset: 10%;
  border: 1px dashed rgba(133, 255, 244, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.68);
}

.energy-draw-burst {
  position: absolute;
  z-index: 1;
  inset: 18%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.24;
  background: repeating-conic-gradient(from 0deg, rgba(77, 255, 239, 0.42) 0deg 2deg, transparent 2deg 16deg);
  mask: radial-gradient(circle, transparent 0 35%, #000 66%, transparent 100%);
  animation: energyBurstRotate 18s linear infinite;
}

.energy-draw.has-result .energy-draw-burst {
  opacity: 0.55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 105, 0.72) 0deg 3deg, transparent 3deg 14deg);
  animation-duration: 8s;
}

.energy-draw-particles {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: #d8fffb;
  box-shadow:
    -116px -74px 0 #3de9dc,
    105px -92px 0 #ffd07a,
    126px 24px 0 #57f3e7,
    -129px 34px 0 #ffc45e,
    -74px 112px 0 #50eadd,
    86px 107px 0 #fff1be;
  animation: energyParticlesFloat 2.8s ease-in-out infinite alternate;
}

.energy-draw-prizes {
  position: absolute;
  z-index: 4;
  inset: 0;
}

.energy-draw-prize {
  --prize-top: rgba(7, 68, 72, 0.98);
  --prize-bottom: rgba(2, 24, 27, 0.98);
  --prize-highlight: rgba(74, 240, 226, 0.16);
  --prize-border: rgba(157, 255, 247, 0.42);
  --prize-accent: #63fff0;
  --prize-glow: rgba(45, 224, 210, 0.14);
  --prize-number: rgba(99, 255, 240, 0.76);
  --prize-amount: #ffffff;
  --prize-tier-text: rgba(217, 255, 250, 0.84);
  --prize-tier-border: rgba(105, 245, 232, 0.34);
  --prize-tier-bg: rgba(0, 26, 29, 0.72);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  min-height: 56px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 8px 6px 6px 16px;
  overflow: hidden;
  border: 1px solid var(--prize-border);
  border-radius: 6px;
  background:
    radial-gradient(circle at 48% -8%, var(--prize-highlight), transparent 58%),
    linear-gradient(145deg, var(--prize-top), var(--prize-bottom) 78%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -8px 16px rgba(0, 0, 0, 0.16), 0 0 14px var(--prize-glow), 0 9px 19px rgba(0, 0, 0, 0.52);
  transform: translate(-50%, -50%) rotate(var(--prize-angle)) translateY(calc(-1 * var(--orbit-radius))) rotate(var(--prize-angle-neg));
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.energy-draw-prize::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--prize-accent);
  box-shadow: 0 0 11px var(--prize-accent);
}

.energy-draw-prize::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg) translateX(-250%);
  animation: energyPrizeShine 4.2s ease-in-out infinite;
  animation-delay: var(--prize-delay);
}

.energy-draw-prize em {
  position: absolute;
  left: 5px;
  top: 6px;
  color: var(--prize-number);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.energy-draw-prize-tier {
  position: absolute;
  right: 5px;
  top: 5px;
  min-width: 21px;
  padding: 2px 3px;
  color: var(--prize-tier-text);
  border: 1px solid var(--prize-tier-border);
  border-radius: 3px;
  background: var(--prize-tier-bg);
  font-size: 6px;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
}

.energy-draw-prize strong {
  display: block;
  min-width: 0;
  color: var(--prize-amount);
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.energy-draw-prize.rank-1 {
  --prize-top: rgba(8, 72, 78, 0.99);
  --prize-bottom: rgba(2, 26, 31, 0.99);
  --prize-highlight: rgba(91, 226, 229, 0.2);
  --prize-border: rgba(91, 215, 221, 0.48);
  --prize-accent: #57dbe5;
  --prize-glow: rgba(62, 197, 207, 0.12);
}

.energy-draw-prize.rank-2 {
  --prize-top: rgba(7, 91, 100, 0.99);
  --prize-bottom: rgba(2, 34, 41, 0.99);
  --prize-highlight: rgba(103, 246, 232, 0.24);
  --prize-border: rgba(102, 237, 226, 0.56);
  --prize-accent: #63f6e8;
  --prize-glow: rgba(76, 225, 211, 0.16);
}

.energy-draw-prize.rank-3 {
  --prize-top: rgba(7, 82, 119, 0.99);
  --prize-bottom: rgba(3, 29, 48, 0.99);
  --prize-highlight: rgba(105, 216, 255, 0.26);
  --prize-border: rgba(105, 216, 255, 0.6);
  --prize-accent: #69d8ff;
  --prize-glow: rgba(73, 186, 244, 0.18);
  --prize-number: rgba(151, 226, 255, 0.88);
}

.energy-draw-prize.rank-4 {
  --prize-top: rgba(20, 102, 115, 0.99);
  --prize-bottom: rgba(5, 38, 48, 0.99);
  --prize-highlight: rgba(159, 239, 255, 0.28);
  --prize-border: rgba(159, 239, 255, 0.66);
  --prize-accent: #a0efff;
  --prize-glow: rgba(110, 222, 242, 0.2);
  --prize-tier-text: #d7fbff;
}

.energy-draw-prize.rank-5 {
  --prize-top: rgba(49, 99, 72, 0.99);
  --prize-bottom: rgba(16, 40, 31, 0.99);
  --prize-highlight: rgba(151, 239, 174, 0.26);
  --prize-border: rgba(151, 239, 174, 0.62);
  --prize-accent: #97efae;
  --prize-glow: rgba(104, 221, 137, 0.2);
  --prize-number: rgba(188, 255, 205, 0.88);
  --prize-tier-text: #d9ffe3;
  --prize-tier-border: rgba(151, 239, 174, 0.42);
  --prize-tier-bg: rgba(11, 49, 27, 0.76);
}

.energy-draw-prize.rank-6 {
  --prize-top: rgba(112, 78, 24, 0.99);
  --prize-bottom: rgba(42, 29, 10, 0.99);
  --prize-highlight: rgba(255, 198, 109, 0.28);
  --prize-border: rgba(255, 198, 109, 0.66);
  --prize-accent: #ffc66d;
  --prize-glow: rgba(238, 163, 64, 0.22);
  --prize-number: rgba(255, 218, 154, 0.9);
  --prize-amount: #ffe6b7;
  --prize-tier-text: #ffedc9;
  --prize-tier-border: rgba(255, 198, 109, 0.48);
  --prize-tier-bg: rgba(70, 43, 8, 0.78);
}

.energy-draw-prize.rank-7 {
  --prize-top: rgba(145, 72, 17, 0.99);
  --prize-bottom: rgba(57, 26, 7, 0.99);
  --prize-highlight: rgba(255, 176, 77, 0.32);
  --prize-border: rgba(255, 176, 77, 0.76);
  --prize-accent: #ffad49;
  --prize-glow: rgba(255, 137, 41, 0.27);
  --prize-number: rgba(255, 206, 139, 0.94);
  --prize-amount: #ffe1ad;
  --prize-tier-text: #fff0d0;
  --prize-tier-border: rgba(255, 176, 77, 0.56);
  --prize-tier-bg: rgba(81, 35, 5, 0.8);
}

.energy-draw-prize.rank-8 {
  --prize-top: rgba(166, 111, 17, 0.99);
  --prize-bottom: rgba(66, 37, 5, 0.99);
  --prize-highlight: rgba(255, 237, 177, 0.4);
  --prize-border: rgba(255, 224, 127, 0.92);
  --prize-accent: #ffe27f;
  --prize-glow: rgba(255, 193, 66, 0.38);
  --prize-number: rgba(255, 240, 191, 0.96);
  --prize-amount: #fff0c7;
  --prize-tier-text: #fff4ce;
  --prize-tier-border: rgba(255, 224, 127, 0.68);
  --prize-tier-bg: rgba(86, 50, 3, 0.84);
}

.energy-draw-prize.tone-jackpot strong {
  font-size: 11px;
  text-shadow: 0 0 12px rgba(255, 224, 127, 0.45);
}

.energy-draw-prize small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.energy-draw-prize.is-selected {
  color: #3b2508;
  border-color: #fff5ce;
  background: linear-gradient(135deg, #fff7d8, #ffc868 62%, #e88d24);
  box-shadow: 0 0 0 2px rgba(255, 213, 112, 0.24), 0 0 34px rgba(242, 159, 61, 0.78);
  animation: energyPrizeWinner 620ms ease-in-out infinite alternate;
}

.energy-draw-prize.is-selected em,
.energy-draw-prize.is-selected strong,
.energy-draw-prize.is-selected small {
  color: #3b2508;
}

.energy-draw-prize.is-selected .energy-draw-prize-tier {
  color: #4b2a04;
  border-color: rgba(90, 49, 4, 0.32);
  background: rgba(255, 247, 215, 0.46);
}

.energy-draw-scan {
  position: absolute;
  z-index: 3;
  inset: 1%;
  opacity: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 318deg, rgba(77, 255, 239, 0.08) 328deg, #c5fff9 350deg, transparent 360deg);
  filter: drop-shadow(0 0 8px rgba(45, 224, 210, 0.88));
  mask: radial-gradient(circle, transparent 0 85%, #000 86% 89%, transparent 90%);
  pointer-events: none;
}

.energy-draw-core {
  position: relative;
  z-index: 5;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 0;
  font: inherit;
  text-align: center;
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(188, 255, 249, 0.78);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 245, 204, 0.96), rgba(255, 190, 88, 0.34) 14%, rgba(24, 211, 196, 0.38) 28%, rgba(3, 48, 51, 0.96) 52%, #011719 76%);
  box-shadow:
    0 0 0 7px rgba(2, 28, 30, 0.92),
    0 0 0 9px rgba(77, 255, 239, 0.2),
    inset 0 0 22px rgba(45, 224, 210, 0.24),
    0 0 42px rgba(17, 200, 186, 0.4);
  transition: filter 160ms ease, transform 160ms ease;
}

.energy-draw-core::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(116, 255, 242, 0.5);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(17, 200, 186, 0.22);
}

.energy-draw-core::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.82;
  background: conic-gradient(from 0deg, transparent 0 12%, #54f4e7 18%, transparent 24% 48%, #ffc866 54%, transparent 61% 100%);
  filter: drop-shadow(0 0 7px rgba(17, 200, 186, 0.5));
  mask: radial-gradient(circle, transparent 0 76%, #000 78% 83%, transparent 85% 100%);
  animation: energyCoreOrbit 4.8s linear infinite;
}

.energy-draw.has-result .energy-draw-core::after {
  background: conic-gradient(from 0deg, transparent 0 8%, #ffd77d 15%, transparent 23% 44%, #fff3c8 51%, transparent 59% 78%, #f29f3d 86%, transparent 94% 100%);
  filter: drop-shadow(0 0 10px rgba(242, 159, 61, 0.72));
}

.energy-draw-core > span,
.energy-draw-core > strong,
.energy-draw-core > small {
  position: relative;
  z-index: 2;
}

.energy-draw:not(.is-spinning) .energy-draw-core::before {
  animation: energyCoreReadyPulse 1.8s ease-out infinite;
}

.energy-draw-core:hover:not(:disabled) {
  filter: brightness(1.14);
}

.energy-draw-core:active:not(:disabled) {
  transform: scale(0.96);
}

.energy-draw-core:disabled {
  cursor: wait;
}

.energy-draw-core > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--energy-lime);
  filter: drop-shadow(0 0 9px rgba(45, 224, 210, 0.9));
}

.energy-draw-core svg {
  width: 36px;
  height: 36px;
  fill: rgba(45, 224, 210, 0.16);
  stroke-width: 2;
}

.energy-draw-core strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
}

.energy-draw-hud {
  position: absolute;
  z-index: 4;
  left: 14px;
  right: 14px;
  bottom: 122px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.energy-draw-hud > span {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  color: rgba(226, 255, 251, 0.82);
  border: 1px solid rgba(77, 255, 239, 0.24);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(5, 70, 74, 0.76), rgba(2, 28, 31, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 7px 16px rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.energy-draw-hud svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #5af4e6;
}

.energy-draw-hud strong {
  color: #ffd995;
  font-size: 17px;
}

.energy-draw-hud .energy-draw-chance-hud > span {
  min-width: 0;
  display: grid;
  gap: 4px;
  line-height: 1;
}

.energy-draw-hud .energy-draw-chance-hud b {
  color: rgba(226, 255, 251, 0.82);
  font-size: 11px;
}

.energy-draw-hud .energy-draw-chance-hud small {
  color: rgba(125, 232, 223, 0.78);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.energy-draw-core small {
  color: rgba(162, 255, 247, 0.74);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

.energy-draw.is-spinning .energy-draw-scan {
  opacity: 1;
  animation: energyScanRotate 540ms linear infinite;
}

.energy-draw.is-spinning .energy-draw-core {
  animation: energyCoreCharge 430ms ease-in-out infinite alternate;
}

.energy-draw.is-spinning .energy-draw-prize {
  animation: energyPrizeScan 560ms ease-in-out infinite;
  animation-delay: var(--prize-delay);
}

.energy-draw-console {
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.energy-draw-result {
  min-width: 0;
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(238, 255, 198, 0.18);
  border-left: 3px solid var(--energy-lime);
  border-radius: 5px;
  background: rgba(3, 6, 4, 0.82);
  box-shadow: inset 0 0 18px rgba(202, 255, 34, 0.04);
}

.energy-draw-result span,
.energy-draw-result small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.energy-draw-result span {
  grid-column: 1;
  grid-row: 1;
}

.energy-draw-result small {
  grid-column: 1;
  grid-row: 2;
}

.energy-draw-result strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0 0 0 12px;
  overflow: hidden;
  color: #ffd995;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.energy-draw-result.is-winner strong {
  font-size: 27px;
}

.energy-draw-result.is-winner {
  border-color: rgba(75, 235, 222, 0.58);
  background: linear-gradient(135deg, rgba(7, 89, 94, 0.88), rgba(2, 27, 30, 0.94));
  box-shadow: inset 0 0 22px rgba(45, 224, 210, 0.1), 0 0 22px rgba(17, 200, 186, 0.14);
}

.energy-draw-button {
  min-width: 0;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  color: #032c30;
  border: 1px solid #bffff8;
  border-radius: 5px;
  background: linear-gradient(135deg, #bffff8, #2ad8cb 55%, #0d8c98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 0 18px rgba(17, 200, 186, 0.24);
  cursor: pointer;
}

.energy-draw-button:hover:not(:disabled) {
  filter: brightness(1.06);
}

.energy-draw-button:active:not(:disabled) {
  transform: translateY(1px);
}

.energy-draw-button:disabled {
  cursor: wait;
  filter: saturate(0.66);
}

.energy-draw-button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: rgba(15, 22, 7, 0.12);
  stroke-width: 2.4;
}

.energy-draw-button span {
  min-width: 0;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  white-space: normal;
}

.energy-draw-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
}

.energy-draw-footer span {
  padding: 3px 6px;
  border: 1px solid rgba(77, 255, 239, 0.12);
  border-radius: 3px;
  background: rgba(1, 25, 28, 0.5);
}

.energy-draw-footer b {
  color: var(--energy-lime);
}

@keyframes energyScanRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes energyCoreCharge {
  from {
    filter: brightness(0.96);
    transform: scale(0.98);
  }
  to {
    filter: brightness(1.24);
    transform: scale(1.04);
  }
}

@keyframes energyCoreOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes energyBurstRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes energyParticlesFloat {
  from {
    opacity: 0.48;
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes energyCoreReadyPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.92);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes energyPrizeShine {
  0%, 58% {
    transform: skewX(-18deg) translateX(-250%);
  }
  76%, 100% {
    transform: skewX(-18deg) translateX(720%);
  }
}

@keyframes energyPrizeScan {
  0%, 58%, 100% {
    border-color: rgba(157, 255, 247, 0.3);
    filter: brightness(0.82);
  }
  28% {
    border-color: var(--energy-lime);
    filter: brightness(1.42);
    box-shadow: 0 0 18px rgba(45, 224, 210, 0.48);
  }
}

@keyframes energyPrizeWinner {
  from { transform: translate(-50%, -50%) rotate(var(--prize-angle)) translateY(calc(-1 * var(--orbit-radius))) rotate(var(--prize-angle-neg)) scale(1); }
  to { transform: translate(-50%, -50%) rotate(var(--prize-angle)) translateY(calc(-1 * var(--orbit-radius))) rotate(var(--prize-angle-neg)) scale(1.08); }
}

@media (max-width: 390px) {
  .energy-draw {
    padding-inline: 10px;
  }

  .energy-draw-heading,
  .energy-draw-console {
    left: 10px;
    right: 10px;
  }

  .energy-draw-hud {
    left: 10px;
    right: 10px;
  }

  .energy-draw-prize {
    width: 74px;
    min-height: 45px;
    padding-inline: 14px 4px;
  }

  .energy-draw-prize strong {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-draw.is-spinning .energy-draw-scan,
  .energy-draw.is-spinning .energy-draw-core,
  .energy-draw.is-spinning .energy-draw-prize,
  .energy-draw-prize.is-selected {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}

@media (min-width: 768px) and (pointer: fine) {
  html .quick-link-image-tile .quick-link-label,
  html .bottom-nav,
  html .floating-daily-chest,
  html .floating-inbox-button {
    backdrop-filter: none !important;
  }
}

.lucky-result {
  width: 100%;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  color: #ffe9a4;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(246, 203, 93, 0.42);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 55, 60, 0.08);
}

.lucky-winner-feed {
  width: min(100%, 420px);
  min-height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0 12px;
  color: #fff3b0;
  background: linear-gradient(180deg, rgba(80, 45, 11, 0.74), rgba(11, 8, 5, 0.68));
  border: 1px solid rgba(255, 213, 91, 0.5);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.lucky-winner-line {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.68);
}

.lucky-winner-feed.is-rolling .lucky-winner-line {
  animation: lucky-winner-rise 3s ease-in-out both;
}

.lucky-winner-line span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lucky-winner-spark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: #ffe477;
}

.lucky-winner-spark svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

@keyframes lucky-winner-rise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  18%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

.lucky-prize-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 9, 8, 0.58);
}

.lucky-prize-dialog {
  width: min(78vw, 276px);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 14px 12px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 235, 151, 0.42), transparent 42%),
    linear-gradient(160deg, #2d1707 0%, #5a310c 46%, #1a0d04 100%);
  border: 1px solid rgba(255, 214, 103, 0.72);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lucky-prize-amount {
  width: 100%;
  padding: 8px 10px;
  color: #fff4b7;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 224, 128, 0.34);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.76);
}

.lucky-prize-image {
  width: 138px;
  height: 138px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.34));
}

.lucky-prize-message {
  color: #fff2ad;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.72);
}

.lucky-prize-confirm {
  min-width: 112px;
  min-height: 38px;
  padding: 0 18px;
  color: #3a1b04;
  background: linear-gradient(180deg, #fff2ac 0%, #f0b72e 100%);
  border: 1px solid rgba(255, 239, 170, 0.82);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.invite-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  color: #0d555d;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.invite-strip button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.invite-strip svg {
  width: 15px;
  height: 15px;
}

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

.user-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  min-width: 0;
  padding: 12px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat span {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}

.stat strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
}

.stat-button {
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stat-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}

.stat-button.active span,
.stat-button.active strong {
  color: #ffffff;
}

.quick-hub {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

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

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

.quick-link {
  --quick-a: #48f7e7;
  --quick-b: #0c9b96;
  --quick-c: #fff0a6;
  --quick-glow: rgba(72, 247, 231, 0.42);
  appearance: none;
  min-width: 0;
  height: 92px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 5px 7px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--quick-a) 20%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(13, 58, 64, 0.96), rgba(4, 23, 29, 0.98));
  border: 1px solid color-mix(in srgb, var(--quick-a) 32%, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  color: rgba(241, 255, 253, 0.92);
  font-size: 11px;
  font-family: inherit;
  font-weight: 900;
  line-height: 1.15;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 22px rgba(72, 247, 231, 0.06);
  cursor: pointer;
}

.quick-link-image-tile {
  height: 96px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.quick-link-image-tile::before,
.quick-link-image-tile::after {
  content: none;
}

.quick-link-compact {
  height: 96px;
}

.quick-link-featured.quick-link-image-tile {
  height: 134px;
}

.quick-link-featured.quick-link-image-tile .quick-link-art-image {
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.28),
    0 0 24px color-mix(in srgb, var(--quick-a) 50%, transparent);
}

.quick-link-image-tile .quick-link-label {
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  z-index: 3;
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px 4px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 42, 48, 0.74), rgba(1, 22, 27, 0.96));
  border-top: 1px solid rgba(105, 255, 246, 0.34);
  border-radius: 0 0 7px 7px;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.05;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 0 6px rgba(88, 255, 242, 0.72),
    0 0 12px rgba(0, 0, 0, 0.7);
  -webkit-text-stroke: 0.25px rgba(0, 28, 31, 0.72);
}

.quick-link-featured.quick-link-image-tile .quick-link-label {
  left: 1px;
  right: 1px;
  bottom: 1px;
  min-height: 34px;
  padding: 4px 8px 5px;
  font-size: 15.5px;
  line-height: 1.02;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(88, 255, 242, 0.82),
    0 0 14px rgba(0, 0, 0, 0.78);
}

.quick-link::before,
.quick-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.quick-link::before {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--quick-a) 16%, transparent), transparent 44%),
    linear-gradient(315deg, color-mix(in srgb, var(--quick-c) 12%, transparent), transparent 46%);
  opacity: 0.9;
}

.quick-link::after {
  inset: 1px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 14px color-mix(in srgb, var(--quick-a) 14%, transparent),
    inset 0 -12px 18px rgba(0, 0, 0, 0.18);
}

.quick-link-fund { --quick-a: #ffe37a; --quick-b: #cc8b24; --quick-c: #4ffff0; --quick-glow: rgba(255, 219, 90, 0.45); }
.quick-link-points { --quick-a: #66ffe8; --quick-b: #0eaf9c; --quick-c: #ffe078; --quick-glow: rgba(96, 255, 232, 0.42); }
.quick-link-security { --quick-a: #7dd8ff; --quick-b: #1b77c7; --quick-c: #fff5a6; --quick-glow: rgba(125, 216, 255, 0.4); }
.quick-link-charity { --quick-a: #ff9cc8; --quick-b: #d84784; --quick-c: #7fffe7; --quick-glow: rgba(255, 132, 190, 0.38); }
.quick-link-job { --quick-a: #ffc66f; --quick-b: #be6d20; --quick-c: #62fff0; --quick-glow: rgba(255, 187, 90, 0.4); }
.quick-link-lucky { --quick-a: #fff06e; --quick-b: #d89a1c; --quick-c: #ff77b4; --quick-glow: rgba(255, 226, 74, 0.48); }
.quick-link-vip { --quick-a: #ffe681; --quick-b: #c99224; --quick-c: #70fff2; --quick-glow: rgba(255, 216, 92, 0.48); }
.quick-link-wheel { --quick-a: #5dfff0; --quick-b: #0c8f91; --quick-c: #ffe27f; --quick-glow: rgba(72, 247, 231, 0.48); }
.quick-link-company { --quick-a: #95f5ff; --quick-b: #168996; --quick-c: #ffe695; --quick-glow: rgba(149, 245, 255, 0.38); }
.quick-link-guide { --quick-a: #b4ff8c; --quick-b: #5ba944; --quick-c: #65fff1; --quick-glow: rgba(180, 255, 140, 0.36); }
.quick-link-team { --quick-a: #99b8ff; --quick-b: #4c6de0; --quick-c: #7dffef; --quick-glow: rgba(153, 184, 255, 0.38); }
.quick-link-activity { --quick-a: #ffb871; --quick-b: #d46824; --quick-c: #76fff0; --quick-glow: rgba(255, 174, 100, 0.38); }
.quick-link-flash { --quick-a: #72fff1; --quick-b: #0ab1a5; --quick-c: #fff05c; --quick-glow: rgba(90, 255, 235, 0.46); }
.quick-link-app { --quick-a: #66e7ff; --quick-b: #1c8fc4; --quick-c: #d8ff84; --quick-glow: rgba(102, 231, 255, 0.42); }
.quick-link-home { --quick-a: #ffdd82; --quick-b: #b77b21; --quick-c: #78fff0; --quick-glow: rgba(255, 209, 112, 0.4); }

.quick-link:hover {
  border-color: color-mix(in srgb, var(--quick-a) 54%, rgba(255, 255, 255, 0.14));
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.26),
    0 0 18px var(--quick-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quick-link-label {
  max-width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: rgba(246, 255, 253, 0.96);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.quick-link-label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.quick-link-art {
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--quick-a) 44%, transparent), transparent 54%),
    linear-gradient(160deg, rgba(9, 43, 50, 0.98), rgba(3, 17, 23, 0.98));
  border: 1px solid color-mix(in srgb, var(--quick-a) 46%, rgba(255, 255, 255, 0.08));
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.28),
    0 0 16px var(--quick-glow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.quick-link-art-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow:
    0 12px 18px rgba(0, 0, 0, 0.22),
    0 0 14px color-mix(in srgb, var(--quick-a) 36%, transparent);
}

.quick-link-art-image img {
  display: block;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 8px;
  transform: translateY(-7%);
}

.quick-link-featured.quick-link-image-tile .quick-link-art-image img {
  height: 114%;
  object-position: center 20%;
  transform: translateY(-5%);
}

.quick-link-wheel .quick-link-art-image img {
  height: 170% !important;
  object-position: center 40% !important;
  transform: translateY(-8%) !important;
}

@media (min-width: 768px) and (pointer: fine) {
  .energy-draw-burst {
    animation-duration: 30s;
  }

  .energy-draw-particles {
    animation-duration: 5.2s;
  }

  .energy-draw-prize::after {
    animation-duration: 7.5s;
  }

  .quick-link-image-tile .quick-link-label,
  .bottom-nav,
  .floating-daily-chest,
  .floating-inbox-button {
    backdrop-filter: none !important;
  }
}

.quick-link-art-image::before,
.quick-link-art-image::after,
.quick-link-art-image .quick-link-art-orbit {
  display: none;
}

.quick-link-art::before,
.quick-link-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.quick-link-art::before {
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--quick-c) 42%, transparent);
  border-radius: 6px;
  opacity: 0.75;
}

.quick-link-art::after {
  left: 8px;
  right: 8px;
  top: 7px;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 8px var(--quick-glow);
}

.quick-link-art-orbit {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background:
    conic-gradient(from 35deg, transparent 0 16%, color-mix(in srgb, var(--quick-a) 82%, transparent) 18% 24%, transparent 26% 58%, color-mix(in srgb, var(--quick-c) 70%, transparent) 61% 67%, transparent 70%);
  opacity: 0.5;
  filter: blur(0.2px);
}

.quick-link-art svg {
  width: 21px;
  height: 21px;
  position: relative;
  z-index: 1;
  color: #f7fffe;
  stroke-width: 2.45;
  filter:
    drop-shadow(0 0 5px color-mix(in srgb, var(--quick-a) 80%, transparent))
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.3));
}

.quick-link svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.quick-link-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  min-width: 24px;
  padding: 3px 5px;
  color: #032b2c;
  background: linear-gradient(90deg, var(--quick-a), var(--quick-c));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  font-size: 8px;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 14px var(--quick-glow);
}

.quick-link:active {
  transform: translateY(1px) scale(0.985);
}

.quick-link.company-home-link {
  grid-column: auto;
}

.anti-fraud-gallery,
.trial-intro-gallery,
.charity-gallery {
  display: grid;
  gap: 12px;
}

.anti-fraud-image,
.trial-intro-image,
.charity-image {
  margin: 0;
  overflow: hidden;
  background: #061d4a;
  border: 1px solid rgba(13, 140, 152, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(3, 24, 54, 0.12);
}

.anti-fraud-image img,
.trial-intro-image img,
.charity-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.charity-page {
  display: grid;
  gap: 12px;
}

.charity-hero {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, #007f5f, #0d8c98 58%, #0f766e);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(5, 95, 83, 0.18);
}

.charity-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.charity-hero svg {
  width: 20px;
  height: 20px;
}

.charity-hero h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.charity-hero p {
  margin: 0;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.charity-image {
  position: relative;
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.charity-image span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #087f8c;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 140, 152, 0.2);
  border-radius: 999px;
}

.job-application-page {
  display: grid;
  gap: 12px;
}

.job-application-landing {
  min-height: calc(100vh - 128px);
  grid-template-rows: minmax(220px, 1fr) minmax(220px, 1fr);
}

.job-entry-card,
.job-hero {
  --job-bg: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #062326;
  background-image:
    linear-gradient(90deg, rgba(247, 255, 253, 0.96) 0%, rgba(247, 255, 253, 0.82) 46%, rgba(247, 255, 253, 0.38) 100%),
    var(--job-bg);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(13, 140, 152, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(4, 54, 59, 0.1);
}

.job-entry-card::before,
.job-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(17, 144, 104, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(6, 70, 76, 0.08));
}

.job-entry-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 7px;
  padding: 18px;
  text-decoration: none;
}

.job-entry-card span,
.job-hero span {
  color: #0a7772;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.job-entry-card strong {
  max-width: 22em;
  color: #04252a;
  font-size: 22px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.job-entry-card em {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 999px;
  font-style: normal;
}

.job-entry-card svg,
.job-hero svg {
  width: 18px;
  height: 18px;
}

.job-hero {
  min-height: 226px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
}

.job-hero h2 {
  margin: 0;
  max-width: 12em;
  color: #03272a;
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.job-hero p {
  max-width: 35em;
  margin: 0;
  color: #25535a;
  font-size: 13px;
  line-height: 1.55;
}

.job-intro-copy,
.job-action-panel,
.job-progress-panel,
.job-salary-history,
.job-empty-state {
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-intro-copy {
  display: grid;
  gap: 8px;
  color: #23454d;
  font-size: 13px;
  line-height: 1.55;
}

.job-intro-copy p {
  margin: 0;
}

.job-position-list {
  display: grid;
  gap: 10px;
}

.job-position-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-position-card b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0a8f77, #0d8c98);
  border-radius: 999px;
  font-size: 14px;
}

.job-position-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.job-position-card p,
.job-position-card span {
  display: block;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.job-position-card span {
  color: #087066;
  font-weight: 900;
}

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

.job-status-grid div {
  min-width: 0;
  padding: 12px;
  background: #f2fbf8;
  border: 1px solid rgba(13, 140, 152, 0.16);
  border-radius: 8px;
}

.job-status-grid span,
.job-action-panel span,
.job-progress-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.job-status-grid strong,
.job-action-panel strong,
.job-progress-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.job-action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-action-panel div {
  min-width: 0;
}

.job-action-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.primary-btn.compact {
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
  white-space: nowrap;
}

.job-progress-panel {
  display: grid;
  gap: 12px;
}

.job-progress-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.job-progress-head em {
  color: #087066;
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

.job-progress-track {
  height: 10px;
  overflow: hidden;
  background: #dcefed;
  border-radius: 999px;
}

.job-progress-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0c8a74, #19b87a, #f2c94c);
  border-radius: inherit;
}

.job-requirements {
  display: grid;
  gap: 8px;
}

.job-requirements div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-requirements div.met {
  background: #effaf3;
  border-color: rgba(20, 150, 90, 0.24);
}

.job-requirements span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.job-requirements strong {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.job-promote-btn {
  width: 100%;
}

.job-salary-history {
  display: grid;
  gap: 8px;
}

.job-salary-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  background: #f8fcfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-salary-row span,
.job-salary-row strong,
.job-salary-row em,
.job-salary-row b,
.job-salary-row i {
  min-width: 0;
  overflow-wrap: anywhere;
}

.job-salary-row strong,
.job-salary-row em {
  display: block;
}

.job-salary-row em {
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.job-salary-row b {
  color: var(--ink);
  font-size: 14px;
}

.job-salary-row i {
  padding: 4px 8px;
  color: #9a6412;
  background: #fff4dc;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.job-salary-row i.paid {
  color: #0d7d55;
  background: #e8f7ef;
}

.job-empty-state {
  display: grid;
  gap: 7px;
  place-items: center;
  min-height: 116px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.job-empty-state strong {
  color: var(--ink);
  font-size: 15px;
}

.job-empty-state.compact {
  min-height: 58px;
}

.support-activity-feed {
  min-height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 0 12px;
  color: #063b43;
  background:
    linear-gradient(135deg, rgba(13, 140, 152, 0.13), rgba(20, 184, 143, 0.12)),
    var(--surface);
  border: 1px solid rgba(13, 140, 152, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 55, 60, 0.05);
}

.support-activity-line {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.support-activity-feed.is-rolling .support-activity-line {
  animation: support-activity-rise 3s ease-in-out both;
}

.support-activity-line span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-activity-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0d8c98, #14b88f);
  border-radius: 8px;
}

.support-activity-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

@keyframes support-activity-rise {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  18%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

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

.support-contact-card {
  min-width: 0;
  min-height: 76px;
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 34px 12px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 55, 60, 0.05);
}

button.support-contact-card {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.support-contact-card:disabled {
  cursor: progress;
  opacity: 0.76;
}

.support-contact-card.is-loading .support-contact-icon svg,
.support-contact-card.is-loading > svg {
  animation: spin 0.9s linear infinite;
}

.support-contact-card.is-disabled {
  opacity: 0.62;
}

.support-contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0d8c98, #14b88f);
  border-radius: 8px;
  overflow: hidden;
}

.support-contact-icon svg {
  width: 22px;
  height: 22px;
}

.support-contact-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.support-contact-main {
  min-width: 0;
}

.support-contact-main strong,
.support-contact-main small {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.support-contact-main strong {
  font-size: 14px;
}

.support-contact-main small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.support-contact-action {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.support-contact-action svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 380px) {
  .support-contact-grid {
    grid-template-columns: 1fr;
  }
}

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

.user-dashboard-screen {
  position: relative;
  padding: 12px 14px calc(86px + env(safe-area-inset-bottom));
  color: #061922;
  background:
    linear-gradient(158deg, rgba(237, 255, 224, 0.9) 0%, rgba(145, 226, 244, 0.82) 38%, rgba(186, 199, 255, 0.86) 68%, rgba(255, 197, 237, 0.88) 100%),
    #d9f4fb;
}

.user-dashboard-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 38%, rgba(255, 255, 255, 0.24)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 4px);
}

.user-dashboard-screen > * {
  position: relative;
  z-index: 1;
}

.user-wallet-link {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  color: #0f5af0;
  font-size: 13px;
  font-weight: 800;
}

.user-profile-head {
  min-height: 102px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding-top: 12px;
  text-align: center;
}

.user-profile-head strong {
  margin-top: 2px;
  color: #020f16;
  font-size: 18px;
  line-height: 1.1;
}

.user-profile-head span {
  color: rgba(6, 25, 34, 0.66);
  font-size: 12px;
  font-weight: 700;
}

.user-avatar {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #0c9a7b, #16b8d0);
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(39, 112, 130, 0.18);
}

.user-avatar svg {
  width: 23px;
  height: 23px;
}

.user-balance-block {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-height: 110px;
  padding: 2px 4px 20px;
}

.user-balance-block span {
  color: #020f16;
  font-size: 14px;
  font-weight: 800;
}

.user-balance-block strong {
  color: #3f7dff;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}

.user-balance-block button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 0 10px;
  color: #075d69;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(72, 119, 145, 0.1);
}

.user-balance-block button svg {
  width: 14px;
  height: 14px;
}

.credit-score-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 14px;
  margin: -8px 0 14px;
  padding: 13px 14px;
  color: #06343b;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(68, 95, 124, 0.1);
  backdrop-filter: blur(10px);
}

.credit-score-card::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(6, 25, 34, 0.42);
  border-right: 2px solid rgba(6, 25, 34, 0.42);
  transform: rotate(45deg);
}

.credit-score-card span {
  font-size: 14px;
  font-weight: 900;
}

.credit-score-card strong {
  color: #0f8c7d;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.credit-score-card em {
  color: rgba(6, 25, 34, 0.62);
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 700;
}

.credit-score-detail {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding: 18px 0 8px;
  overflow: hidden;
  text-align: center;
}

.credit-gauge {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  padding: 10px 18px;
  overflow: visible;
}

.credit-gauge-ring {
  position: relative;
  width: min(68vw, 248px);
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  --tick-radius: min(23vw, 82px);
  background:
    radial-gradient(circle at center, #f4f6f8 0 55%, transparent 56%),
    conic-gradient(from 210deg, #f14970 0deg 72deg, #ffd24a 72deg 168deg, #48c7a3 168deg 240deg, transparent 240deg 360deg);
}

.credit-gauge-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #f4f6f8;
  box-shadow: inset 0 0 0 1px rgba(18, 35, 37, 0.04);
}

.credit-gauge-ring b {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  color: #f7c83d;
  font-size: 29px;
  line-height: 1;
}

.credit-gauge-needle {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 9px;
  height: min(22vw, 72px);
  background: linear-gradient(180deg, #f3bd38, #ffd45a);
  border-radius: 999px 999px 6px 6px;
  transform: translate(-50%, -100%) rotate(var(--score-angle));
  transform-origin: 50% 100%;
  box-shadow: 0 3px 8px rgba(193, 132, 12, 0.26);
}

.credit-gauge-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 17px;
  height: 17px;
  background: #f7c83d;
  border-radius: 50%;
  transform: translateX(-50%);
}

.credit-gauge-ring .tick {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 28px;
  text-align: center;
  color: #788487;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(calc(var(--tick-radius) * -1)) rotate(calc(var(--tick-angle) * -1));
  transform-origin: center;
}

.credit-rules {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: min(100%, 360px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  color: #324245;
  font-size: 14px;
  line-height: 1.58;
  text-align: center;
  overflow-wrap: anywhere;
}

.credit-rules p {
  width: 100%;
  margin: 0;
}

.user-dashboard-stats {
  display: grid;
  gap: 10px;
}

.user-dashboard-stats.primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-dashboard-stats.secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.user-stat-tile {
  min-width: 0;
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 10px 7px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, rgba(54, 82, 92, 0.44), rgba(72, 82, 125, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 22px rgba(68, 95, 124, 0.12);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.user-stat-tile:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 13px 25px rgba(68, 95, 124, 0.16);
}

.user-stat-tile span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.user-stat-tile strong {
  display: block;
  min-width: 0;
  margin-top: 4px;
  color: #fff;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.user-dashboard-stats.secondary .user-stat-tile {
  min-height: 64px;
}

.user-dashboard-stats.secondary .user-stat-tile span {
  font-size: 13px;
}

.user-dashboard-stats.secondary .user-stat-tile strong {
  font-size: 17px;
}

.income-detail-hero .balance strong {
  font-size: 22px;
}

.income-detail-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.income-detail-row strong,
.income-detail-row span,
.income-detail-row em {
  display: block;
}

.income-detail-row strong {
  color: var(--ink);
  font-size: 14px;
}

.income-detail-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.income-detail-row em {
  margin-top: 5px;
  color: #8a999b;
  font-size: 11px;
  font-style: normal;
}

.income-detail-row b {
  color: var(--success);
  white-space: nowrap;
  font-size: 15px;
}

.user-asset-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 9px;
  color: #0a3a42;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
}

.user-asset-strip.frozen {
  grid-template-columns: 1fr;
  padding: 12px 14px;
}

.user-asset-strip div {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: center;
}

.user-asset-strip span {
  color: rgba(6, 25, 34, 0.64);
  font-size: 11px;
  font-weight: 800;
}

.user-asset-strip strong {
  min-width: 0;
  color: #06232b;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.user-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 18px;
  margin-top: 26px;
}

.user-menu-tile {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  color: #061922;
  text-align: center;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.22;
}

.user-menu-tile > span:last-child {
  min-height: 32px;
  display: grid;
  align-items: start;
  overflow-wrap: anywhere;
}

.user-menu-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: #676ee8;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(174, 186, 197, 0.68);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 20px rgba(89, 104, 150, 0.16);
}

.user-menu-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.15;
}

.user-menu-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.user-menu-tile:nth-child(3n + 1) .user-menu-icon {
  color: #a453d4;
}

.user-menu-tile:nth-child(3n + 2) .user-menu-icon {
  color: #3985e8;
}

.user-menu-tile:nth-child(3n) .user-menu-icon {
  color: #0f9a94;
}

.section {
  margin-top: 16px;
}

.section.first-section {
  margin-top: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.section-title h2 {
  margin: 0;
  font-size: 16px;
}

.section-title a,
.section-title button {
  color: var(--primary-dark);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.section-title .section-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.list {
  display: grid;
  gap: 9px;
}

.helpbook-list {
  display: grid;
  gap: 0;
  padding: 8px 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.helpbook-row {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 17px;
  color: var(--ink);
  border-bottom: 1px solid rgba(209, 224, 222, 0.72);
}

.helpbook-row:last-child {
  border-bottom: 0;
}

.helpbook-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.helpbook-row span {
  flex: 0 0 auto;
  color: var(--muted);
}

.helpbook-row svg {
  width: 18px;
  height: 18px;
}

.help-detail {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.help-detail > * {
  min-width: 0;
}

.help-detail-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.help-detail-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 8px;
}

.help-detail-title svg {
  width: 19px;
  height: 19px;
}

.help-detail-title img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.help-detail h2 {
  margin: 0;
  font-size: 19px;
}

.help-detail-intro {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.company-certificate-gallery {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #f7fbff, #eef7f6);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-certificate-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-certificate-head > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: #dff6f4;
  border-radius: 8px;
}

.company-certificate-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.company-certificate-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.company-certificate-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.company-certificate-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 10px;
  width: 100%;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(190, 214, 212, 0.9);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.company-certificate-card:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 132, 128, 0.45);
  box-shadow: 0 14px 28px rgba(14, 95, 98, 0.12);
}

.company-certificate-image-frame {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: block;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(207, 222, 221, 0.95);
  border-radius: 8px;
}

.company-certificate-image-frame > img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  display: block;
  background: #fff;
  object-fit: contain;
}

.company-certificate-image-frame--empty {
  display: none;
}

.company-certificate-card strong,
.company-certificate-card span {
  display: block;
  overflow-wrap: anywhere;
}

.company-certificate-card strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.company-certificate-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.company-certificate-zoom {
  justify-self: start;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 4px;
  background: #e1f6f5;
  overflow: hidden;
  border-radius: 10px;
}

.company-certificate-zoom img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

.certificate-preview-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.certificate-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 24, 0.76);
  border: 0;
  cursor: zoom-out;
}

.certificate-preview-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 780px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.certificate-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.certificate-preview-top strong,
.certificate-preview-top span {
  display: block;
}

.certificate-preview-top strong {
  color: var(--ink);
  font-size: 14px;
}

.certificate-preview-top span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.certificate-preview-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f5fbfb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.certificate-preview-panel > img {
  width: 100%;
  height: 100%;
  max-height: calc(92vh - 64px);
  display: block;
  object-fit: contain;
  background: #f5f7f8;
}

.help-guide-image {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.help-detail-sections {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.help-detail-section {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 13px;
  background: #f8fbff;
  border: 1px solid #d9e7f8;
  border-radius: 8px;
}

.help-detail-section h3 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.help-detail-section p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.help-detail-body {
  display: grid;
  gap: 10px;
}

.help-detail-body p {
  margin: 0;
  padding-left: 14px;
  color: var(--muted);
  border-left: 3px solid var(--primary);
  font-size: 13px;
  line-height: 1.62;
}

.row,
.record,
.tier,
.task,
.member,
.message,
.help-item {
  min-width: 0;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.row-button {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.row-button.is-selected {
  border-color: rgba(13, 140, 152, 0.45);
  background: linear-gradient(135deg, rgba(222, 247, 248, 0.98), #ffffff);
}

.row-button.is-selected .row-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.static-row {
  cursor: default;
}

.row-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.row-icon svg {
  width: 19px;
  height: 19px;
}

.row-main {
  min-width: 0;
  flex: 1;
}

.row-main strong {
  display: block;
  font-size: 14px;
}

.row-main span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.row-action {
  color: var(--muted);
}

.row-action svg {
  width: 17px;
  height: 17px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  color: #6f4d12;
  background: #fff3d9;
  border: 1px solid #f3d697;
  border-radius: 8px;
  font-size: 12px;
}

.notice svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.tabbar {
  display: flex;
  gap: 7px;
  padding: 4px;
  margin-bottom: 12px;
  background: rgba(4, 22, 29, 0.82);
  border: 1px solid rgba(116, 237, 229, 0.18);
  border-radius: 8px;
}

.tabbar button {
  min-width: 0;
  flex: 1;
  min-height: 36px;
  color: #8fded9;
  background: rgba(8, 41, 49, 0.62);
  border: 1px solid rgba(116, 237, 229, 0.1);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
}

.tabbar button.active {
  color: #05272d;
  background: linear-gradient(135deg, #f2fffd, #7ff7ee);
  border-color: rgba(242, 255, 253, 0.82);
  box-shadow: 0 8px 18px rgba(25, 207, 196, 0.22);
}

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

.amount-chip {
  min-height: 48px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.amount-chip.active {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: var(--primary-soft);
}

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

.withdraw-amount-option {
  position: relative;
  min-width: 0;
}

.withdraw-amount-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.withdraw-amount-option span {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 5px;
  color: #dffefb;
  border: 1px solid rgba(85, 239, 230, 0.34);
  border-radius: 8px;
  background: rgba(8, 55, 62, 0.72);
  box-shadow: inset 0 0 0 1px rgba(85, 239, 230, 0.04);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.withdraw-amount-option input:checked + span {
  color: #ffffff;
  border-color: rgba(85, 239, 230, 0.82);
  background: linear-gradient(135deg, rgba(31, 218, 207, 0.96), rgba(8, 125, 137, 0.94));
  box-shadow: 0 0 0 1px rgba(85, 239, 230, 0.2), 0 10px 22px rgba(0, 12, 16, 0.24);
}

.withdraw-amount-option input:focus-visible + span {
  outline: 2px solid rgba(191, 253, 246, 0.9);
  outline-offset: 2px;
}

.withdraw-amount-option input:not(:disabled) + span:active {
  transform: translateY(1px);
}

.withdraw-amount-option input:disabled + span {
  opacity: 0.34;
  cursor: not-allowed;
  filter: grayscale(0.55);
}

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

.wealth-plan-card {
  min-width: 0;
  min-height: 96px;
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 10px 8px;
  color: var(--ink);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wealth-plan-card.active {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-soft), #ffffff);
}

.wealth-plan-card:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  background: #f4f7f7;
}

.wealth-plan-card strong,
.wealth-plan-card span,
.wealth-plan-card em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wealth-plan-card strong {
  font-size: 18px;
}

.wealth-plan-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wealth-plan-card em {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.wealth-order-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(104px, auto);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 11px;
  row-gap: 8px;
}

.wealth-order-row .row-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.wealth-order-row .row-main {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  align-self: start;
}

.wealth-order-row .row-main strong,
.wealth-order-row .row-main span {
  overflow-wrap: anywhere;
  word-break: normal;
}

.wealth-order-row .badge {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  white-space: nowrap;
}

.wealth-order-action {
  align-self: end;
  min-width: 104px;
  min-height: 34px;
  padding: 0 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.wealth-order-actions {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  display: grid;
  gap: 6px;
}

@media (max-width: 380px) {
  .wealth-order-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .wealth-order-row .row-main {
    grid-row: 1;
  }

  .wealth-order-row .badge,
  .wealth-order-actions {
    grid-column: 2;
    justify-self: end;
  }

  .wealth-order-row .badge {
    grid-row: 2;
    margin-top: 2px;
  }

  .wealth-order-actions {
    grid-row: 3;
  }
}

.wealth-detail {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.wealth-detail-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.wealth-detail-title .icon {
  color: var(--primary);
}

.wealth-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.wealth-rate-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wealth-rate-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 36px;
  color: var(--ink);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.wealth-rate-row.head {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-top: 0;
}

.wealth-rate-row strong,
.wealth-rate-row span {
  min-width: 0;
  padding: 8px 6px;
  text-align: center;
  overflow-wrap: anywhere;
}

.form-card {
  display: grid;
  gap: 13px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.invite-guide-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: #23464a;
  background: #f1fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.invite-guide-card h3,
.invite-guide-card p {
  margin: 0;
}

.invite-guide-card h3 {
  color: var(--ink);
  font-size: 16px;
}

.invite-guide-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.points-hero {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #0d8c98, #f0a43a);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(13, 140, 152, 0.18);
}

.points-hero > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #0d8c98;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.points-hero svg {
  width: 30px;
  height: 30px;
}

.points-hero p,
.points-hero strong {
  margin: 0;
}

.points-hero p {
  font-size: 13px;
  opacity: 0.88;
}

.points-hero strong {
  font-size: 38px;
  line-height: 1;
}

.points-exchange-list {
  display: grid;
  gap: 9px;
}

.points-exchange-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.points-exchange-row div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.points-exchange-row strong {
  color: var(--ink);
  font-size: 16px;
}

.points-exchange-row span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.points-exchange-row button {
  min-height: 36px;
  padding: 0 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.points-exchange-row button:disabled {
  color: var(--muted);
  background: #edf3f3;
}

.points-rule-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff8e7;
  border: 1px solid #f5d895;
  border-radius: 8px;
}

.points-rule-card h3,
.points-rule-card p {
  margin: 0;
}

.points-rule-card h3 {
  color: #9a3412;
  font-size: 18px;
  text-align: center;
}

.points-rule-card p {
  color: #5f4633;
  font-size: 13px;
  line-height: 1.65;
}

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

.points-rule-list span {
  min-width: 0;
  padding: 9px 6px;
  color: #075c63;
  text-align: center;
  background: rgba(13, 140, 152, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

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

.identity-upload-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.identity-upload-card input {
  width: 100%;
  min-height: 38px;
  font-size: 12px;
}

.identity-upload-card img,
.identity-upload-card em {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef7f7;
  object-fit: cover;
  overflow: hidden;
}

.identity-upload-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

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

.record-ticker {
  --record-row-height: 64px;
  --record-gap: 9px;
  height: var(--record-row-height);
  overflow: hidden;
  border-radius: 8px;
}

.record-ticker-track {
  display: grid;
  gap: var(--record-gap);
}

.record-ticker.is-rolling .record-ticker-track {
  animation: recordTicker var(--ticker-duration, 12s) cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.record-ticker:hover .record-ticker-track {
  animation-play-state: paused;
}

.record-ticker .record {
  height: var(--record-row-height);
  align-items: center;
}

.record-ticker .record > div {
  min-width: 0;
}

.record-ticker .record strong,
.record-ticker .record span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes recordTicker {
  0%,
  16% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-1 * var(--record-count) * (var(--record-row-height) + var(--record-gap))));
  }
}

.record strong {
  display: block;
  font-size: 14px;
}

.record span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.record b {
  white-space: nowrap;
  font-size: 14px;
}

.record .income {
  color: var(--success);
}

.record .outcome {
  color: var(--danger);
}

.record-pagination {
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr minmax(72px, auto);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.record-pagination button,
.record-pagination span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.record-pagination button {
  padding: 0 10px;
  color: #fff;
  background: var(--primary);
}

.record-pagination button:disabled {
  color: var(--muted);
  background: #e7efed;
  cursor: default;
}

.record-pagination span {
  min-width: 0;
  padding: 0 8px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.tier h3,
.task h3,
.message h3,
.help-item h3 {
  margin: 0;
  font-size: 15px;
}

.tier p,
.task p,
.message p,
.help-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.badge {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

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

.order-task {
  align-items: stretch;
}

.task > div:not(.task-actions) {
  min-width: 0;
}

.task h3 {
  overflow-wrap: anywhere;
}

.task-actions {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 7px;
  min-width: 0;
}

.app-task-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-soft), #fff7e8);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.app-task-icon svg {
  width: 22px;
  height: 22px;
}

.app-task-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.task button,
.tier button {
  min-width: 78px;
  min-height: 36px;
  padding: 0 10px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.task-actions button {
  min-width: 68px;
  max-width: 78px;
  white-space: normal;
  line-height: 1.12;
}

.task button:disabled,
.tier button:disabled {
  color: rgba(222, 246, 244, 0.46);
  background: rgba(222, 246, 244, 0.08);
  border: 1px solid rgba(116, 237, 229, 0.14);
  cursor: default;
}

.progress-track {
  height: 7px;
  margin: 9px 0 8px;
  overflow: hidden;
  background: #e8f0ef;
  border-radius: 999px;
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.16s ease;
}

.task-progress {
  margin: 8px 0 5px;
}

.task-progress-text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.member {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
}

.team-level-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.team-level-tabs button {
  min-width: 0;
  min-height: 72px;
  padding: 10px 6px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.team-level-tabs button strong,
.team-level-tabs button span {
  display: block;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.team-level-tabs button strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.18;
}

.team-level-tabs button span {
  margin-top: 3px;
  font-size: 11px;
}

.team-level-tabs button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}

.team-level-tabs button.active strong,
.team-level-tabs button.active span {
  color: #ffffff;
}

.team-list-title {
  justify-content: flex-start;
}

.team-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.team-title-line span {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 8px;
  color: var(--primary-dark);
  background: #e8f7f6;
  border: 1px solid #c7ece9;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.team-member-card {
  align-items: start;
}

.team-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.team-money-grid div {
  min-width: 0;
  padding: 8px;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-money-grid span,
.team-money-grid em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.team-money-grid b {
  display: block;
  margin: 3px 0;
  color: var(--ink);
  font-size: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.team-detail-list {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.team-detail-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  font-weight: 900;
}

.copy-box {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--surface);
  border: 1px dashed var(--primary);
  border-radius: 8px;
}

.copy-box.compact {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.copy-box code {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  color: var(--primary-dark);
  font-weight: 800;
}

.copy-box button {
  width: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
}

.copy-box svg {
  width: 17px;
  height: 17px;
}

.invite-code-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.invite-code-button {
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(13, 140, 152, 0.08);
}

.invite-code-button:disabled {
  opacity: 0.55;
}

.invite-code-button > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--primary);
}

.invite-code-button span,
.invite-code-button small,
.invite-code-button strong {
  min-width: 0;
  display: block;
}

.invite-code-button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.invite-code-button strong {
  margin-top: 2px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.invite-qr-layer {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: center;
  padding: 18px;
}

.invite-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 24, 0.76);
  border: 0;
}

.invite-qr-panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 460px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #f6fbfa;
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4);
}

.invite-qr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.invite-qr-top strong,
.invite-qr-top span {
  display: block;
}

.invite-qr-top strong {
  color: var(--ink);
  font-size: 15px;
}

.invite-qr-top span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.invite-qr-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f5fbfb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.invite-qr-card {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  text-align: center;
}

.invite-qr-brand {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
}

.invite-qr-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.invite-qr-code-text {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  color: var(--primary-dark);
  background: #e1f6f5;
  border-radius: 999px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.invite-qr-code {
  position: relative;
  width: min(72vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 16px auto 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(13, 140, 152, 0.12);
}

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

.invite-qr-code > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.invite-qr-code b {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 58px;
  padding: 8px 10px;
  transform: translate(-50%, -50%);
  color: var(--primary-dark);
  background: #ffffff;
  border: 2px solid #d9f1ef;
  border-radius: 14px;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(8, 127, 140, 0.16);
}

.invite-qr-benefits {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px;
  color: #18434a;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  list-style: none;
}

.invite-qr-benefits li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.4;
}

.invite-qr-benefits li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.56em;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 999px;
}

.invite-qr-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.invite-qr-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.invite-qr-actions button:first-child {
  color: var(--primary-dark);
  background: #e1f6f5;
}

.invite-qr-actions button:disabled {
  opacity: 0.55;
}

.chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 13px 10px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bar {
  min-width: 0;
  flex: 1;
  display: grid;
  align-items: end;
  gap: 6px;
  height: 100%;
}

.bar i {
  display: block;
  min-height: 12px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--primary), #6fc9c5);
}

.bar span {
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.income-level-card {
  display: grid;
  gap: 10px;
}

.profit-reference-image {
  position: relative;
  width: 100%;
  margin: 0 0 38px;
  padding: 0;
  overflow: visible;
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profit-reference-image:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 132, 128, 0.45);
  box-shadow: 0 14px 28px rgba(14, 95, 98, 0.12);
}

.profit-reference-image img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.profit-reference-image > span {
  position: absolute;
  right: 10px;
  bottom: -42px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: rgba(225, 246, 245, 0.94);
  border: 1px solid rgba(12, 132, 128, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(14, 95, 98, 0.14);
}

.income-level-hero {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(127, 100, 232, 0.95), rgba(120, 211, 236, 0.75) 58%, rgba(255, 181, 199, 0.9)),
    #8f92ff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: inset 0 -22px 48px rgba(255, 255, 255, 0.22);
}

.income-level-hero span {
  color: #e0f24c;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8), 0 5px 12px rgba(4, 72, 113, 0.18);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.income-level-hero h3 {
  margin: 8px 0 0;
  color: #fff;
  text-shadow: 0 3px 0 rgba(24, 121, 185, 0.45), 0 7px 16px rgba(45, 35, 90, 0.24);
  font-size: 27px;
  line-height: 1.08;
}

.daily-income-panel {
  padding: 10px 8px 8px;
  background: #fff;
  border: 2px solid #84db78;
  border-radius: 8px;
}

.daily-income-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.daily-income-legend i {
  width: 11px;
  height: 11px;
  background: #3e9634;
  border-radius: 50%;
}

.daily-income-chart {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
  margin-top: 8px;
  padding: 14px 4px 0;
  background: repeating-linear-gradient(to top, transparent 0 33px, #dde4e1 34px);
  border-bottom: 1px solid #cfd9d6;
}

.income-bar {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

.income-bar b {
  min-width: 0;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.income-bar i {
  display: block;
  width: min(72%, 34px);
  min-height: 5px;
  background: #439736;
  border-radius: 3px 3px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.income-bar span {
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.task-income-title {
  justify-self: center;
  min-width: 220px;
  margin-top: 2px;
  padding: 7px 20px;
  color: #fff;
  text-align: center;
  background: #087f59;
  border: 2px solid #f2ead4;
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(115, 77, 43, 0.35);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.task-income-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.task-income-table {
  min-width: 720px;
}

.task-income-head,
.task-income-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr 0.9fr 1fr 1.15fr 1.25fr;
  align-items: center;
}

.task-income-head {
  color: #fff;
  background: #2d8d3f;
  font-size: 11px;
  font-weight: 900;
}

.task-income-row {
  min-height: 37px;
  color: #4a2b15;
  background: #fffaf0;
  border-top: 1px solid rgba(37, 43, 43, 0.65);
  font-size: 12px;
  font-weight: 800;
}

.task-income-row:nth-child(odd) {
  background: #97db8d;
}

.task-income-head span,
.task-income-row span,
.task-income-row strong {
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 7px 5px;
  text-align: center;
  border-right: 1px solid rgba(37, 43, 43, 0.65);
  overflow-wrap: anywhere;
}

.task-income-head span:last-child,
.task-income-row span:last-child {
  border-right: 0;
}

.reward-banner {
  padding: 10px 12px;
  color: #fff;
  text-align: center;
  background: #b99272;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.reward-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.reward-table-head,
.reward-table-row {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
}

.reward-table-head {
  min-height: 38px;
  color: #fff;
  background: #2d8d3f;
  font-size: 11px;
  font-weight: 800;
}

.reward-table-row {
  min-height: 42px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.reward-table-row:nth-child(odd) {
  background: #9cdd9a;
}

.reward-table-head span,
.reward-table-row span,
.reward-table-row strong {
  min-width: 0;
  padding: 9px 4px;
  text-align: center;
  overflow-wrap: anywhere;
}

.reward-table-row strong {
  color: var(--primary-dark);
}

.reward-help {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reward-help h3 {
  justify-self: center;
  margin: 0 0 2px;
  padding: 5px 22px;
  color: var(--ink);
  background: #ececef;
  border-radius: 999px;
  font-size: 15px;
}

.reward-help p {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.reward-help p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  background: var(--ink);
  border-radius: 50%;
}

.reward-help .reward-help-note {
  margin-top: 4px;
  padding: 10px 12px 10px 34px;
  color: #9f1d1d;
  background: #fff1f1;
  border: 1px solid #f4b6b6;
  border-radius: 8px;
  font-weight: 800;
}

.reward-help .reward-help-note::before {
  left: 13px;
  top: 1.15em;
  width: 7px;
  height: 7px;
  background: #e53935;
}

.wealth-card {
  margin-top: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wealth-card h3 {
  margin: 0;
  padding: 10px 12px;
  color: #fff;
  text-align: center;
  background: #0d7f57;
  font-size: 18px;
}

.wealth-card p {
  margin: 0;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.wealth-table-wrap {
  overflow-x: auto;
}

.wealth-table {
  min-width: 680px;
}

.wealth-table-head,
.wealth-table-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
}

.wealth-table-head {
  color: #08251e;
  background: #0d9a8f;
  font-size: 11px;
  font-weight: 900;
}

.wealth-table-row {
  color: #fff;
  background: #16a86e;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 800;
}

.wealth-table-head span,
.wealth-table-row span {
  min-width: 0;
  padding: 9px 6px;
  text-align: center;
  overflow-wrap: anywhere;
}

.empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  width: min(100%, 460px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(4, 30, 36, 0.9), rgba(1, 14, 19, 0.98)),
    radial-gradient(circle at 50% -30%, rgba(77, 248, 233, 0.16), transparent 58%);
  border-top: 1px solid rgba(116, 237, 229, 0.22);
  box-shadow:
    0 -18px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.bottom-nav-item {
  --nav-a: #55efe6;
  --nav-b: #0b8f91;
  --nav-c: #ffe587;
  --nav-glow: rgba(85, 239, 230, 0.34);
  min-width: 0;
  height: 54px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: rgba(225, 246, 244, 0.7);
  background:
    radial-gradient(circle at 50% 4%, color-mix(in srgb, var(--nav-a) 18%, transparent), transparent 44%),
    linear-gradient(180deg, rgba(9, 47, 54, 0.84), rgba(4, 25, 31, 0.92));
  border: 1px solid color-mix(in srgb, var(--nav-a) 20%, rgba(255, 255, 255, 0.05));
  border-radius: 8px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.05;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 14px rgba(0, 0, 0, 0.2);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.bottom-nav-item::before,
.bottom-nav-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.bottom-nav-item::before {
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--nav-a) 16%, transparent), transparent 42%),
    linear-gradient(315deg, color-mix(in srgb, var(--nav-c) 10%, transparent), transparent 48%);
  opacity: 0.72;
}

.bottom-nav-item::after {
  inset: 1px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 14px color-mix(in srgb, var(--nav-a) 10%, transparent);
}

.bottom-nav-home { --nav-a: #55efe6; --nav-b: #0b8f91; --nav-c: #f7dc7a; --nav-glow: rgba(85, 239, 230, 0.38); }
.bottom-nav-earnings { --nav-a: #ffe176; --nav-b: #bd7a19; --nav-c: #55efe6; --nav-glow: rgba(255, 214, 95, 0.38); }
.bottom-nav-tasks { --nav-a: #86f4ff; --nav-b: #147fb4; --nav-c: #fff1a2; --nav-glow: rgba(134, 244, 255, 0.34); }
.bottom-nav-vip { --nav-a: #fff06f; --nav-b: #c99017; --nav-c: #6ffff1; --nav-glow: rgba(255, 226, 74, 0.42); }
.bottom-nav-my { --nav-a: #9fbaff; --nav-b: #4e69d9; --nav-c: #70fff0; --nav-glow: rgba(159, 186, 255, 0.34); }

.bottom-nav-item.active {
  color: #ffffff;
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--nav-a) 58%, rgba(255, 255, 255, 0.16));
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--nav-a) 30%, transparent), transparent 48%),
    linear-gradient(180deg, rgba(13, 64, 70, 0.98), rgba(5, 35, 41, 0.98));
  box-shadow:
    0 0 18px var(--nav-glow),
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -12px 20px color-mix(in srgb, var(--nav-b) 22%, rgba(0, 0, 0, 0.28));
}

.bottom-nav-art {
  width: 32px;
  height: 32px;
  position: relative;
  display: grid;
  place-items: center;
  z-index: 1;
  border-radius: 8px;
  background: rgba(2, 18, 24, 0.2);
  border: 1px solid color-mix(in srgb, var(--nav-a) 22%, rgba(255, 255, 255, 0.04));
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.28),
    0 0 12px color-mix(in srgb, var(--nav-a) 30%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.bottom-nav-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  opacity: 0.92;
  filter: saturate(1.08) brightness(0.95);
  mix-blend-mode: normal;
}

.bottom-nav-orbit {
  position: absolute;
  inset: -3px;
  border-radius: 10px;
  background:
    conic-gradient(from 42deg, transparent 0 18%, color-mix(in srgb, var(--nav-a) 78%, transparent) 20% 28%, transparent 30% 60%, color-mix(in srgb, var(--nav-c) 66%, transparent) 63% 70%, transparent 72%);
  opacity: 0.42;
}

.bottom-nav-item.active .bottom-nav-art {
  border-color: color-mix(in srgb, var(--nav-a) 52%, rgba(255, 255, 255, 0.14));
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.28),
    0 0 17px var(--nav-glow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.bottom-nav-item.active .bottom-nav-art img {
  opacity: 1;
  filter: saturate(1.24) brightness(1.12);
}

.bottom-nav-item span:not(.bottom-nav-art):not(.bottom-nav-orbit) {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: inherit;
  text-align: center;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.42);
}

.bottom-nav-art svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
  color: rgba(246, 255, 254, 0.94);
  stroke-width: 2.5;
  filter:
    drop-shadow(0 0 5px color-mix(in srgb, var(--nav-a) 76%, transparent))
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

.bottom-nav-item.active .bottom-nav-art svg {
  color: #ffffff;
}

.floating-inbox {
  position: fixed;
  right: max(16px, calc((100vw - min(100vw, 460px)) / 2 + 16px));
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 24;
}

.floating-inbox.is-drag-positioned {
  right: auto;
  bottom: auto;
}

.floating-inbox.is-dragging {
  user-select: none;
}

.floating-inbox-button {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(3, 35, 42, 0.22);
  cursor: grab;
  touch-action: none;
}

.floating-inbox.is-dragging .floating-inbox-button,
.floating-inbox.is-dragging .inbox-panel-head {
  cursor: grabbing;
}

.floating-inbox-button svg {
  width: 23px;
  height: 23px;
}

.floating-inbox-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(75, 242, 230, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 18px rgba(53, 227, 216, 0.26);
  filter: drop-shadow(0 8px 16px rgba(8, 106, 118, 0.22));
  pointer-events: none;
}

.floating-inbox-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: #fff;
  background: #e5484d;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(120, 20, 30, 0.24);
  pointer-events: none;
}

.floating-inbox-badge:not(.hidden) {
  animation: inboxBadgeBlink 1s ease-in-out infinite;
}

@keyframes inboxBadgeBlink {
  0%,
  45%,
  100% {
    opacity: 1;
    color: #ffffff;
    background: #e5484d;
    box-shadow: 0 4px 10px rgba(120, 20, 30, 0.24);
  }

  55%,
  82% {
    opacity: 0.08;
    color: #ffffff;
    background: #e5484d;
    box-shadow: none;
  }
}

.floating-inbox-badge.hidden {
  display: none;
}

.inbox-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(390px, calc(100vw - 24px));
  max-height: min(660px, calc(100vh - 130px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(219, 232, 229, 0.9);
  border-radius: 12px;
  box-shadow: 0 24px 58px rgba(10, 39, 42, 0.24);
}

.floating-inbox.is-drag-positioned .inbox-panel {
  right: auto;
  bottom: auto;
  left: var(--inbox-panel-x, 0px);
  top: var(--inbox-panel-y, -520px);
}

.daily-chest-card {
  position: relative;
  overflow: hidden;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(255, 218, 92, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 224, 120, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(14, 65, 63, 0.96), rgba(8, 32, 42, 0.96) 58%, rgba(68, 52, 16, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26), inset 0 0 32px rgba(43, 255, 238, 0.08);
}

.daily-chest-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 34%;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 210, 80, 0.24), transparent 62%);
  pointer-events: none;
}

.daily-chest-card-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.daily-chest-emblem {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255, 231, 129, 0.42), rgba(21, 195, 188, 0.16) 62%, rgba(4, 25, 31, 0.8));
  border: 1px solid rgba(255, 235, 150, 0.42);
  box-shadow: 0 0 24px rgba(255, 212, 80, 0.25);
}

.daily-chest-emblem img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.32));
}

.daily-chest-card-main span,
.daily-chest-metrics span {
  display: block;
  color: rgba(214, 255, 249, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.daily-chest-card-main h2 {
  margin: 3px 0;
  color: #fff7ba;
  font-size: 22px;
  line-height: 1.05;
}

.daily-chest-card-main p {
  margin: 0;
  color: rgba(236, 255, 252, 0.88);
  font-size: 12px;
  line-height: 1.35;
}

.daily-chest-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.daily-chest-metrics div {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(102, 255, 239, 0.2);
  background: rgba(0, 24, 29, 0.42);
}

.daily-chest-metrics strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.1;
  word-break: break-word;
}

.daily-chest-open-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  color: #05292b;
  background: linear-gradient(135deg, #fff18a, #20e0d0 58%, #0ea7a5);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(12, 201, 190, 0.22);
}

.daily-chest-open-btn:disabled {
  opacity: 0.58;
}

.daily-chest-open-btn b {
  margin-left: 4px;
}

.daily-chest-note {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(222, 255, 250, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.floating-daily-chest {
  position: fixed;
  right: max(16px, calc((100vw - min(100vw, 460px)) / 2 + 16px));
  bottom: calc(132px + env(safe-area-inset-bottom));
  z-index: 24;
  width: 68px;
  min-height: 84px;
  border: 1px solid rgba(255, 229, 126, 0.46);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(7, 52, 54, 0.94), rgba(9, 27, 35, 0.96));
  color: #fff7bc;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), 0 0 20px rgba(44, 255, 238, 0.18);
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 7px 5px;
  cursor: grab;
  touch-action: none;
}

.floating-daily-chest.is-drag-positioned {
  right: auto;
  bottom: auto;
}

.floating-daily-chest.is-dragging {
  user-select: none;
  cursor: grabbing;
  animation: none;
}

.floating-daily-chest.is-ready {
  animation: dailyChestPulse 1.4s ease-in-out infinite;
}

.floating-daily-chest.is-ready.is-dragging {
  animation: none;
}

.floating-daily-chest-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.floating-daily-chest-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.floating-daily-chest strong {
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
}

.floating-daily-chest small {
  color: rgba(216, 255, 248, 0.74);
  font-size: 10px;
  line-height: 1;
}

@keyframes dailyChestPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), 0 0 18px rgba(44, 255, 238, 0.18); }
  50% { transform: translateY(-4px); box-shadow: 0 20px 38px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 222, 90, 0.34); }
}

.daily-chest-layer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 18, 22, 0.74);
  backdrop-filter: blur(9px);
}

.daily-chest-dialog {
  position: relative;
  width: min(360px, 100%);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 226, 115, 0.42);
  background: linear-gradient(160deg, rgba(4, 43, 47, 0.98), rgba(8, 22, 30, 0.98));
  text-align: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), inset 0 0 36px rgba(47, 255, 237, 0.08);
}

.daily-chest-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(106, 255, 242, 0.28);
  color: #dffffb;
  background: rgba(5, 41, 46, 0.86);
}

.daily-chest-big-visual {
  position: relative;
  width: 190px;
  height: 150px;
  margin: 6px auto 0;
  display: grid;
  place-items: center;
}

.daily-chest-big-visual img {
  width: 180px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.daily-chest-dialog.is-opening .daily-chest-big-visual img {
  animation: dailyChestOpen 1.1s ease-in-out infinite;
}

.daily-chest-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff28b;
  box-shadow: 0 0 18px #fff28b;
}

.daily-chest-spark.one { left: 28px; top: 34px; }
.daily-chest-spark.two { right: 34px; top: 18px; animation-delay: 0.2s; }
.daily-chest-spark.three { right: 58px; bottom: 30px; animation-delay: 0.4s; }

.daily-chest-dialog .daily-chest-spark {
  animation: dailyChestSpark 1s ease-in-out infinite;
}

@keyframes dailyChestOpen {
  0%, 100% { transform: translateY(0) rotate(-1deg) scale(1); }
  40% { transform: translateY(-8px) rotate(2deg) scale(1.04); }
  70% { transform: translateY(2px) rotate(-2deg) scale(0.99); }
}

@keyframes dailyChestSpark {
  0%, 100% { transform: scale(0.65); opacity: 0.45; }
  50% { transform: scale(1.2); opacity: 1; }
}

.daily-chest-result-copy span {
  display: block;
  color: rgba(220, 255, 250, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-chest-result-copy strong {
  display: block;
  margin: 6px 0;
  color: #fff196;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 223, 86, 0.28);
}

.daily-chest-result-copy p,
.daily-chest-result-copy em {
  display: block;
  margin: 0;
  color: rgba(239, 255, 252, 0.9);
  font-size: 13px;
  line-height: 1.4;
  font-style: normal;
}

.daily-chest-result-copy em {
  margin-top: 10px;
  color: rgba(255, 240, 172, 0.92);
}

.daily-chest-result-btn {
  margin-top: 16px;
}

.inbox-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 0%, rgba(13, 140, 152, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbfa);
  cursor: grab;
  touch-action: none;
}

.inbox-panel-head button {
  cursor: pointer;
}

.inbox-brand {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.inbox-brand > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(8, 106, 118, 0.18);
}

.inbox-brand svg {
  width: 18px;
  height: 18px;
}

.inbox-brand strong,
.inbox-detail-title strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.inbox-brand em,
.inbox-detail-title span,
.inbox-item-meta,
.inbox-thread-item span {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.inbox-unread-pill {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.inbox-panel-head button {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inbox-compose-button {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-color: rgba(8, 106, 118, 0.18) !important;
}

.inbox-panel-body {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.inbox-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #f7fbfa, #ffffff);
  border-bottom: 1px solid var(--line);
}

.inbox-tabs button {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 900;
}

.inbox-tabs button.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(13, 140, 152, 0.28);
}

.inbox-tabs b {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  color: #fff;
  background: #e5484d;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.inbox-tab-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.inbox-notice-list {
  min-height: 0;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding: 12px;
  background: #fff;
}

.inbox-notice-card {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  background: linear-gradient(180deg, #ffffff, #f9fcfb);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(19, 35, 37, 0.04);
}

.inbox-notice-card.is-unread {
  border-color: rgba(229, 72, 77, 0.38);
}

.inbox-notice-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.inbox-notice-card strong {
  font-size: 13px;
}

.inbox-notice-card span {
  color: var(--muted);
  font-size: 11px;
}

.inbox-notice-card p {
  margin: 0;
  color: #40575a;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inbox-list {
  min-height: 0;
  max-height: 170px;
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding: 10px;
  background: linear-gradient(180deg, #f7fbfa, #ffffff);
  border-bottom: 1px solid var(--line);
}

.inbox-item {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(19, 35, 37, 0.04);
}

.inbox-item-top {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inbox-item-top strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.inbox-item-top b {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.inbox-item-preview {
  min-width: 0;
  display: block;
  color: #4d6265;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-item.is-active {
  border-color: rgba(13, 140, 152, 0.42);
  background: linear-gradient(135deg, rgba(223, 244, 245, 0.92), #ffffff);
}

.inbox-item.is-unread strong::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: 1px;
  background: #e5484d;
  border-radius: 50%;
}

.inbox-detail {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.inbox-support-detail {
  flex: 1;
}

.inbox-detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 10px;
}

.inbox-detail-title > div {
  min-width: 0;
}

.inbox-detail-title b {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
}

.inbox-message-card {
  margin: 0 12px 10px;
  padding: 10px 11px;
  background: linear-gradient(180deg, #f9fcfb, #ffffff);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.inbox-sender {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
}

.inbox-message-body {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inbox-thread {
  min-height: 72px;
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 10px;
  background: #fff;
}

.inbox-support-thread {
  padding-top: 2px;
}

.inbox-thread-item {
  max-width: 82%;
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.inbox-thread-item + .inbox-thread-item {
  margin-top: 8px;
}

.inbox-thread-item.from-admin {
  justify-self: start;
  background: #f7fbfa;
}

.inbox-thread-item.from-user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: rgba(8, 106, 118, 0.38);
}

.inbox-thread-item strong {
  color: inherit;
  font-size: 11px;
}

.inbox-thread-item.from-user span {
  color: rgba(255, 255, 255, 0.76);
}

.inbox-thread-item p {
  margin: 0;
  color: inherit;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inbox-contact-link {
  color: var(--primary-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.inbox-thread-item.from-user .inbox-contact-link {
  color: inherit;
}

.inbox-reply-form {
  display: grid;
  gap: 7px;
  padding: 10px 12px 11px;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
  border-top: 1px solid var(--line);
}

.inbox-compose-form {
  margin: 0 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.inbox-input-box {
  position: relative;
  min-width: 0;
}

.inbox-reply-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 66px;
  padding: 10px 98px 42px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfe1de;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(19, 35, 37, 0.03);
}

.inbox-reply-form textarea:focus {
  border-color: rgba(13, 140, 152, 0.62);
  box-shadow: 0 0 0 3px rgba(13, 140, 152, 0.12);
}

.inbox-input-hint {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.inbox-send-button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 80px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 106, 118, 0.2);
}

.inbox-send-button svg {
  width: 15px;
  height: 15px;
}

.inbox-send-button[disabled] {
  opacity: 0.68;
  cursor: not-allowed;
  box-shadow: none;
}

.inbox-empty,
.inbox-readonly {
  margin: 0;
  padding: 18px 10px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.inbox-empty p {
  margin: 0 0 10px;
}

.inbox-empty-action {
  min-height: 34px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.flash-drop-layer {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(1, 18, 20, 0.42);
  backdrop-filter: blur(8px);
}

.flash-drop-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.flash-drop-card {
  position: relative;
  width: min(100%, 344px);
  display: grid;
  gap: 12px;
  padding: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
  border: 1px solid rgba(13, 140, 152, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 36, 42, 0.24);
}

.flash-drop-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.flash-drop-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 8px;
}

.flash-drop-mark svg {
  width: 22px;
  height: 22px;
}

.flash-drop-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.flash-drop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.flash-drop-form {
  display: grid;
  gap: 10px;
}

.flash-drop-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flash-drop-form input:focus {
  outline: none;
  border-color: rgba(13, 140, 152, 0.62);
  box-shadow: 0 0 0 3px rgba(13, 140, 152, 0.12);
}

.flash-drop-form button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.flash-drop-form button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.flash-drop-form button svg {
  width: 17px;
  height: 17px;
}

.app-download-layer {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(1, 18, 20, 0.42);
  backdrop-filter: blur(8px);
}

.app-download-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.app-download-card {
  position: relative;
  width: min(100%, 360px);
  display: grid;
  gap: 12px;
  padding: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
  border: 1px solid rgba(13, 140, 152, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 36, 42, 0.24);
}

.app-download-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.app-download-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 8px;
}

.app-download-mark svg {
  width: 22px;
  height: 22px;
}

.app-download-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.app-download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.app-download-choice {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.app-download-option {
  min-width: 0;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  border-radius: 8px;
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.app-download-option.ios {
  color: var(--primary-dark);
  background: linear-gradient(180deg, #ffffff, var(--primary-soft));
  border: 1px solid var(--line);
}

.app-download-option > span:last-child {
  min-width: 0;
  line-height: 1.2;
}

.app-download-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 14px rgba(0, 41, 48, 0.12);
}

.app-download-choice p {
  margin: 0;
  padding: 9px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.first-withdraw-layer {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(1, 18, 20, 0.42);
  backdrop-filter: blur(8px);
}

.first-withdraw-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.first-withdraw-card {
  position: relative;
  width: min(100%, 350px);
  display: grid;
  gap: 13px;
  padding: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
  border: 1px solid rgba(13, 140, 152, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 36, 42, 0.24);
}

.first-withdraw-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.first-withdraw-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 8px;
}

.first-withdraw-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.first-withdraw-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.first-withdraw-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.first-withdraw-support-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.first-withdraw-support-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.first-withdraw-support-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}

.recharge-channel-layer {
  position: fixed;
  inset: 0;
  z-index: 37;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(1, 18, 20, 0.42);
  backdrop-filter: blur(8px);
}

.recharge-channel-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.recharge-channel-card {
  position: relative;
  width: min(100%, 360px);
  display: grid;
  gap: 13px;
  padding: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
  border: 1px solid rgba(13, 140, 152, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 36, 42, 0.24);
}

.recharge-channel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.recharge-channel-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 8px;
}

.recharge-channel-card h2,
.recharge-channel-card p {
  margin: 0;
}

.recharge-channel-card h2 {
  padding-right: 34px;
  font-size: 21px;
  line-height: 1.2;
}

.recharge-channel-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.recharge-channel-notice {
  margin: 12px 0 0;
  padding: 10px 12px;
  color: var(--primary-dark);
  background: rgba(23, 197, 190, 0.14);
  border: 1px solid rgba(13, 140, 152, 0.24);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

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

.recharge-channel-option {
  min-width: 0;
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 10px;
  color: var(--primary-dark);
  background: #ffffff;
  border: 1px solid rgba(13, 140, 152, 0.24);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 36, 42, 0.08);
}

.recharge-channel-option strong,
.recharge-channel-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.recharge-channel-option strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.recharge-channel-option span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.recharge-channel-option.is-disabled,
.recharge-channel-option:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  color: rgba(15, 23, 42, 0.64);
  background: #d8e1e3;
  border-color: rgba(100, 116, 139, 0.24);
  box-shadow: none;
}

.recharge-channel-option:active {
  transform: translateY(1px);
}

.recharge-channel-card {
  overflow: hidden;
  gap: 15px;
  padding: 18px;
  color: #f4fffd;
  background:
    radial-gradient(circle at 86% 10%, rgba(45, 212, 191, 0.2), transparent 30%),
    linear-gradient(160deg, rgba(8, 64, 72, 0.98), rgba(3, 20, 26, 0.98) 62%, rgba(7, 37, 45, 0.98));
  border-color: rgba(116, 237, 229, 0.28);
  box-shadow: 0 28px 68px rgba(0, 12, 16, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.recharge-channel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 36px;
}

.recharge-channel-logo-wrap {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(234, 255, 252, 0.96);
  border: 1px solid rgba(116, 237, 229, 0.34);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 12, 16, 0.26);
}

.recharge-channel-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recharge-channel-close {
  color: #73f6ed;
  background: rgba(5, 28, 35, 0.72);
  border-color: rgba(116, 237, 229, 0.34);
}

.recharge-channel-card h2 {
  padding-right: 0;
  color: #f5fffd;
}

.recharge-channel-card p {
  color: rgba(222, 246, 244, 0.68);
}

.recharge-channel-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: rgba(3, 19, 25, 0.56);
  border: 1px solid rgba(116, 237, 229, 0.18);
  border-radius: 8px;
}

.recharge-channel-amount span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(222, 246, 244, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.recharge-channel-amount svg {
  width: 16px;
  height: 16px;
  color: #55efe6;
}

.recharge-channel-amount strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
}

.recharge-channel-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #dffefb;
  background: rgba(24, 207, 196, 0.12);
  border-color: rgba(85, 239, 230, 0.3);
}

.recharge-channel-notice svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #55efe6;
}

.recharge-channel-actions {
  gap: 12px;
}

.recharge-channel-option {
  min-height: 130px;
  align-content: stretch;
  justify-items: stretch;
  gap: 8px;
  padding: 12px;
  text-align: left;
  color: #f5fffd;
  background:
    linear-gradient(180deg, rgba(11, 63, 71, 0.92), rgba(5, 28, 35, 0.96));
  border-color: rgba(116, 237, 229, 0.28);
  box-shadow: 0 14px 26px rgba(0, 12, 16, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.recharge-channel-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.recharge-channel-bank-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #06343b;
  background: linear-gradient(135deg, #55efe6, #effffc);
  border-radius: 8px;
}

.recharge-channel-bank-icon svg {
  width: 18px;
  height: 18px;
}

.recharge-channel-status {
  padding: 4px 7px;
  color: #053238;
  background: #74f4dc;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.recharge-channel-status.is-off {
  color: rgba(244, 255, 253, 0.72);
  background: rgba(148, 163, 184, 0.28);
}

.recharge-channel-option strong {
  color: #ffffff;
  font-size: 17px;
}

.recharge-channel-option span {
  color: rgba(222, 246, 244, 0.76);
}

.recharge-channel-option .recharge-channel-bank-icon {
  color: #06343b;
}

.recharge-channel-option .recharge-channel-status {
  color: #053238;
}

.recharge-channel-option .recharge-channel-status.is-off {
  color: rgba(244, 255, 253, 0.72);
}

.recharge-channel-option em {
  align-self: end;
  color: #55efe6;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.recharge-channel-option.is-disabled,
.recharge-channel-option:disabled {
  opacity: 0.56;
  color: rgba(244, 255, 253, 0.66);
  background: rgba(15, 35, 43, 0.72);
  border-color: rgba(148, 163, 184, 0.22);
}

.bank-picker-layer {
  position: fixed;
  inset: 0;
  z-index: 36;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(1, 18, 20, 0.42);
  backdrop-filter: blur(8px);
}

.bank-picker-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.bank-picker-card {
  position: relative;
  width: min(100%, 420px);
  max-height: min(76vh, 620px);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  color: #f2fffd;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(180deg, #062f34 0%, #031f23 100%);
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 10, 12, 0.42);
}

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

.bank-picker-head span,
.bank-picker-subhead span {
  color: rgba(213, 250, 246, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.bank-picker-head h2 {
  margin: 3px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.bank-picker-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #0f766e;
  background: #eafffb;
  border: 1px solid rgba(45, 212, 191, 0.48);
  border-radius: 8px;
  cursor: pointer;
}

.bank-picker-close:hover,
.bank-picker-close:focus-visible {
  color: #042f2e;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.bank-picker-close svg {
  width: 17px;
  height: 17px;
}

.bank-picker-search {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: rgba(0, 24, 28, 0.72);
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 8px;
}

.bank-picker-search:focus-within {
  border-color: rgba(13, 140, 152, 0.62);
  box-shadow: 0 0 0 3px rgba(13, 140, 152, 0.12);
}

.bank-picker-search svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.bank-picker-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #f2fffd;
  background: transparent;
  font-size: 15px;
}

.bank-picker-search input::placeholder {
  color: rgba(213, 250, 246, 0.58);
}

.bank-picker-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bank-picker-results {
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.bank-picker-option {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 12px 13px;
  color: #f2fffd;
  background: rgba(0, 30, 35, 0.86);
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 8px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bank-picker-option:focus-visible,
.bank-picker-option:hover {
  outline: none;
  background: rgba(0, 48, 54, 0.96);
  border-color: rgba(45, 212, 191, 0.58);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.bank-picker-option span {
  color: #f2fffd;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.bank-picker-option small {
  color: #2dd4bf;
  font-size: 12px;
  font-weight: 800;
}

.bank-picker-empty {
  padding: 28px 12px;
  color: rgba(213, 250, 246, 0.72);
  text-align: center;
  border: 1px dashed rgba(45, 212, 191, 0.32);
  border-radius: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 80;
  max-width: min(360px, calc(100% - 36px));
  transform: translate(-50%, 16px);
  padding: 11px 14px;
  color: #fff;
  background: rgba(19, 35, 37, 0.92);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 13px;
}

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

.activity-popup-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 18, 22, 0.48);
  backdrop-filter: blur(8px);
}

.activity-popup-card {
  position: relative;
  width: min(100%, 380px);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px 18px 18px;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 16% 8%, rgba(242, 159, 61, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbfa);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(2, 24, 30, 0.24);
}

.activity-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(3, 28, 34, 0.86);
  border: 1px solid rgba(87, 255, 241, 0.42);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.activity-popup-close svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.8;
}

.activity-popup-close:hover {
  background: rgba(0, 106, 115, 0.92);
  border-color: rgba(111, 255, 243, 0.72);
}

.activity-popup-image {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.activity-popup-card span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.activity-popup-card h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
}

.activity-popup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
}

.activity-popup-primary {
  width: 100%;
  min-height: 44px;
  margin-top: 3px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  font-weight: 900;
}

.activity-popup-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 8px;
}

.activity-popup-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.activity-popup-secondary svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 760px) {
  body {
    padding: 22px 0;
  }

  .app-shell {
    min-height: calc(100vh - 44px);
    border-radius: 14px;
    overflow: hidden;
  }

  .screen {
    min-height: calc(100vh - 44px);
  }

  .bottom-nav {
    bottom: 22px;
    border-radius: 0 0 14px 14px;
  }
}

@media (max-width: 520px) {
  .quick-grid {
    gap: 7px;
  }

  .quick-feature-grid {
    gap: 8px;
  }

  .quick-link,
  .quick-link-compact {
    height: 94px;
    padding-inline: 4px;
  }

  .quick-link-featured.quick-link-image-tile {
    height: 128px;
  }

  .quick-link-art {
    width: 39px;
    height: 39px;
  }

  .quick-link-art svg {
    width: 20px;
    height: 20px;
  }

  .job-application-landing {
    min-height: calc(100vh - 104px);
    grid-template-rows: minmax(190px, 1fr) minmax(190px, 1fr);
  }

  .job-entry-card,
  .job-hero {
    background-image:
      linear-gradient(180deg, rgba(247, 255, 253, 0.98) 0%, rgba(247, 255, 253, 0.78) 62%, rgba(247, 255, 253, 0.44) 100%),
      var(--job-bg);
  }

  .job-entry-card {
    min-height: 190px;
    padding: 15px;
  }

  .job-entry-card strong {
    font-size: 19px;
  }

  .job-hero {
    min-height: 196px;
    padding: 16px;
  }

  .job-hero h2 {
    font-size: 24px;
  }

  .job-action-panel,
  .job-progress-head,
  .job-requirements div {
    align-items: stretch;
    flex-direction: column;
  }

  .job-action-panel .primary-btn,
  .job-promote-btn {
    width: 100%;
  }

  .job-status-grid,
  .job-salary-row {
    grid-template-columns: 1fr;
  }

  .floating-inbox {
    right: 12px;
  }

  .inbox-panel {
    width: calc(100vw - 24px);
  }

  .inbox-panel-body {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .certificate-preview-layer {
    padding: 10px;
  }

  .certificate-preview-panel {
    width: 96vw;
    max-height: 94vh;
  }

  .invite-qr-layer {
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .screen {
    padding-left: 12px;
    padding-right: 12px;
  }

  .company-certificate-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-link.company-home-link {
    grid-column: auto;
  }

  .amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invite-code-actions,
  .invite-qr-actions {
    grid-template-columns: 1fr;
  }

  .brand-copy h1 {
    font-size: 24px;
  }
}

/* Unified VTX power-bank visual system for all signed-in pages. */
:root {
  color-scheme: dark;
  --bg: #03171d;
  --surface: #082730;
  --surface-2: #041b22;
  --ink: #effffb;
  --muted: rgba(222, 246, 244, 0.7);
  --line: rgba(116, 237, 229, 0.2);
  --primary: #18cfc4;
  --primary-dark: #087d89;
  --primary-soft: rgba(53, 227, 216, 0.14);
  --accent: #f4b65d;
  --success: #41d49a;
  --shadow: 0 20px 42px rgba(0, 12, 16, 0.34);
}

html,
body {
  background:
    radial-gradient(circle at 18% 8%, rgba(53, 227, 216, 0.18), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(244, 182, 93, 0.11), transparent 28%),
    linear-gradient(180deg, #06242c 0%, #03171d 44%, #020f14 100%);
  color: var(--ink);
}

.app-shell {
  background: #04181f;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.screen:not(.auth-screen) {
  position: relative;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 28, 35, 0.96), rgba(2, 16, 22, 0.98)),
    url("/assets/ui/nav-charge-badge.png?v=1") right -86px top 88px / 220px no-repeat,
    url("/assets/ui/quick-powerbank-tile.png?v=1") left -108px bottom 120px / 280px no-repeat;
}

.screen:not(.auth-screen)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(53, 227, 216, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(53, 227, 216, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 74%);
  opacity: 0.42;
}

.screen:not(.auth-screen)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(53, 227, 216, 0.12), transparent 30%),
    radial-gradient(circle at 14% 74%, rgba(244, 182, 93, 0.09), transparent 32%);
}

.screen:not(.auth-screen) > * {
  position: relative;
  z-index: 1;
}

.topbar {
  min-height: 50px;
  padding: 8px 10px;
  color: #f2fffd;
  background: rgba(5, 28, 35, 0.72);
  border: 1px solid rgba(116, 237, 229, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 12, 16, 0.22);
  backdrop-filter: blur(14px);
}

.topbar-title h1,
.section-title h2 {
  color: #f5fffd;
}

.topbar-title p,
.section-title .section-subtitle {
  color: var(--muted);
}

.icon-btn {
  color: #eafffc;
  background: rgba(6, 35, 43, 0.86);
  border-color: rgba(116, 237, 229, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 20px rgba(0, 12, 16, 0.22);
}

.hero-band {
  overflow: hidden;
  border: 1px solid rgba(116, 237, 229, 0.18);
  background:
    linear-gradient(135deg, rgba(9, 126, 137, 0.95), rgba(5, 33, 41, 0.94) 58%, rgba(244, 182, 93, 0.56)),
    url("/assets/ui/quick-powerbank-tile.png?v=1") right -42px top -44px / 190px no-repeat;
  box-shadow: 0 18px 38px rgba(0, 12, 16, 0.3);
}

.hero-actions button,
.hero-actions a {
  color: #eafffc;
  background: rgba(5, 28, 35, 0.82);
  border: 1px solid rgba(116, 237, 229, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.stats-grid .stat,
.stat,
.section,
.form-card,
.list,
.row,
.record,
.message,
.empty,
.notice,
.support-contact-card,
.support-activity-feed,
.vip-info-card,
.vip-intro-card,
.vip-income-grid div,
.vip-level-card,
.vip-card-note,
.income-level-card,
.daily-income-panel,
.task-income-table,
.reward-table,
.points-rule-card,
.points-exchange-row,
.wealth-plan-card,
.wealth-rate-table,
.wealth-order-row,
.bank-picker-card,
.bank-picker-empty,
.helpbook-row,
.help-detail-section,
.activity-config-card,
.company-certificate-card,
.job-entry-card,
.job-position-card,
.job-action-panel,
.job-progress-panel,
.job-empty-state,
.job-salary-row,
.credit-score-card,
.user-dashboard-stats,
.user-stat-tile,
.invite-guide-card,
.team-member-card,
.income-detail-row,
.first-withdraw-card,
.flash-drop-card,
.app-download-card,
.activity-popup-card,
.invite-qr-panel,
.certificate-preview-panel,
.inbox-panel {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(10, 42, 50, 0.9), rgba(5, 25, 32, 0.95));
  border-color: rgba(116, 237, 229, 0.18);
  box-shadow: 0 14px 30px rgba(0, 12, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section {
  padding: 14px;
  border: 1px solid rgba(116, 237, 229, 0.16);
  border-radius: 8px;
}

.list {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stat span,
.record span,
.row-main span,
.message p,
.empty,
.notice,
.help-detail-section p,
.activity-popup-card p,
.first-withdraw-card p,
.app-download-card p,
.flash-drop-card p {
  color: var(--muted);
}

.app-download-card .app-download-choice p {
  color: #23484b;
  background: #f8fffe;
  border-color: rgba(45, 212, 191, 0.28);
}

.app-download-card .app-download-choice p {
  font-weight: 700;
}

.stat strong,
.row-main strong,
.record strong,
.message h3,
.support-contact-main strong,
.income-detail-row strong,
.vip-info-card h3,
.vip-intro-card h3,
.points-rule-card strong,
.wealth-plan-card strong,
.help-detail-section h3,
.activity-config-card h2 {
  color: #f5fffd;
}

.section-title a,
.section-title button,
.row-action,
.support-contact-action,
.record .income,
.income {
  color: #55efe6;
}

.record .outcome,
.outcome {
  color: #ffb76a;
}

.row-icon,
.support-contact-icon,
.support-activity-icon,
.vip-intro-list span {
  color: #eafffc;
  background:
    linear-gradient(180deg, rgba(25, 207, 196, 0.26), rgba(8, 125, 137, 0.28)),
    url("/assets/ui/nav-charge-badge.png?v=1") center / cover no-repeat;
  border: 1px solid rgba(116, 237, 229, 0.2);
  box-shadow: 0 8px 16px rgba(0, 12, 16, 0.2);
}

.input-wrap,
.select-wrap,
.bank-select-button,
.inbox-reply-form textarea,
.inbox-compose-form textarea,
textarea {
  color: #f5fffd;
  background: rgba(3, 19, 25, 0.72);
  border-color: rgba(116, 237, 229, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.input-wrap input,
.select-wrap select,
.bank-select-button span,
textarea {
  color: #f5fffd;
}

.input-wrap input::placeholder,
textarea::placeholder {
  color: rgba(222, 246, 244, 0.48);
}

.inbox-panel {
  color: #132325;
  background: #ffffff;
  border-color: rgba(219, 232, 229, 0.95);
  box-shadow: 0 24px 58px rgba(10, 39, 42, 0.24);
}

.inbox-panel-head {
  background:
    radial-gradient(circle at 16% 0%, rgba(13, 140, 152, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbfa);
  border-bottom-color: #dbe8e5;
}

.inbox-panel-head button {
  color: #08717b;
  background: #eefcfb;
  border-color: rgba(13, 140, 152, 0.2);
}

.inbox-panel-head button svg {
  stroke: currentColor;
}

.inbox-brand strong,
.inbox-detail-title strong,
.inbox-notice-card strong,
.inbox-thread-item.from-admin strong {
  color: #132325;
}

.inbox-brand em,
.inbox-detail-title span,
.inbox-notice-card span,
.inbox-item-meta,
.inbox-thread-item.from-admin span,
.inbox-input-hint {
  color: #607174;
}

.inbox-tabs,
.inbox-tab-panel,
.inbox-notice-list,
.inbox-detail,
.inbox-thread {
  background: #ffffff;
}

.inbox-tabs {
  border-bottom-color: #dbe8e5;
}

.inbox-tabs button {
  color: #607174;
  background: #ffffff;
  border-color: #dbe8e5;
}

.inbox-tabs button.active {
  color: #086a76;
  background: #dff4f5;
  border-color: rgba(13, 140, 152, 0.28);
}

.inbox-notice-card,
.inbox-thread-item.from-admin {
  color: #132325;
  background: #f7fbfa;
  border-color: #dbe8e5;
}

.inbox-notice-card p,
.inbox-thread-item.from-admin p,
.inbox-thread-item.from-admin .notranslate,
.inbox-message-body {
  color: #40575a;
}

.bank-picker-card {
  color: #f2fffd;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(180deg, #062f34 0%, #031f23 100%);
  border-color: rgba(45, 212, 191, 0.34);
}

.bank-picker-option {
  color: #f2fffd;
  background: rgba(0, 30, 35, 0.86);
  border-color: rgba(45, 212, 191, 0.24);
}

.bank-picker-option:hover,
.bank-picker-option:focus-visible {
  background: rgba(0, 48, 54, 0.96);
  border-color: rgba(45, 212, 191, 0.58);
}

.bank-picker-option span {
  color: #f2fffd;
}

.bank-picker-option small {
  color: #2dd4bf;
}

.bank-picker-close {
  color: #0f766e;
  background: #eafffb;
  border-color: rgba(45, 212, 191, 0.48);
}

.primary-btn,
.activity-popup-primary {
  color: #fff;
  background: linear-gradient(135deg, #1ed7cc, #087d89);
  border: 1px solid rgba(116, 237, 229, 0.22);
  box-shadow: 0 12px 24px rgba(24, 207, 196, 0.18);
}

.secondary-btn,
.ghost-btn,
.activity-popup-secondary,
.record-pagination button,
.vip-pager a,
.vip-pager span {
  color: #eafffc;
  background: rgba(5, 28, 35, 0.82);
  border: 1px solid rgba(116, 237, 229, 0.18);
}

.vip-stage,
.vip-feature-card {
  color: #f5fffd;
  background:
    linear-gradient(150deg, rgba(8, 125, 137, 0.96), rgba(5, 28, 35, 0.96) 58%, rgba(244, 182, 93, 0.38)),
    url("/assets/ui/quick-powerbank-tile.png?v=1") right -58px top -54px / 210px no-repeat;
  border-color: rgba(116, 237, 229, 0.18);
}

.vip-feature-main span,
.vip-feature-main em,
.vip-feature-price span,
.vip-level-card span,
.vip-level-card em {
  color: rgba(235, 255, 252, 0.72);
}

.vip-level-card.active,
.vip-level-card.owned {
  background:
    linear-gradient(180deg, rgba(24, 207, 196, 0.24), rgba(5, 28, 35, 0.94));
  border-color: rgba(85, 239, 230, 0.45);
}

.vip-table-head,
.vip-table-row,
.wealth-rate-row,
.reward-table-head,
.reward-table-row,
.task-income-row {
  color: var(--ink);
  background: rgba(3, 19, 25, 0.54);
  border-color: rgba(116, 237, 229, 0.13);
}

.vip-table-head,
.wealth-rate-row.head,
.reward-table-head {
  background: rgba(24, 207, 196, 0.15);
}

.screen:not(.auth-screen) .vip-info-card h3,
.screen:not(.auth-screen) .vip-table-head,
.screen:not(.auth-screen) .wealth-rate-row.head,
.screen:not(.auth-screen) .reward-table-head,
.screen:not(.auth-screen) .task-income-table-head {
  color: #f5fffd;
  background: linear-gradient(90deg, rgba(24, 207, 196, 0.22), rgba(8, 125, 137, 0.2));
  border-color: rgba(116, 237, 229, 0.18);
}

.screen:not(.auth-screen) .vip-table-row,
.screen:not(.auth-screen) .vip-table-row:nth-child(odd),
.screen:not(.auth-screen) .wealth-rate-row,
.screen:not(.auth-screen) .reward-table-row,
.screen:not(.auth-screen) .task-income-row,
.screen:not(.auth-screen) .vip-card-note {
  color: #f5fffd;
  background: rgba(3, 19, 25, 0.56);
  border-color: rgba(116, 237, 229, 0.13);
}

.screen:not(.auth-screen) .vip-table-row:nth-child(even),
.screen:not(.auth-screen) .wealth-rate-row:nth-child(even),
.screen:not(.auth-screen) .reward-table-row:nth-child(even),
.screen:not(.auth-screen) .task-income-row:nth-child(even) {
  background: rgba(10, 42, 50, 0.72);
}

.screen.user-dashboard-screen {
  color: #f5fffd;
  background:
    linear-gradient(180deg, rgba(5, 28, 35, 0.96), rgba(2, 16, 22, 0.98)),
    url("/assets/ui/nav-charge-badge.png?v=1") right -76px top 118px / 230px no-repeat,
    url("/assets/ui/quick-powerbank-tile.png?v=1") left -120px bottom 140px / 300px no-repeat;
}

.user-dashboard-screen::before {
  background:
    linear-gradient(90deg, rgba(53, 227, 216, 0.08), transparent 42%, rgba(244, 182, 93, 0.06)),
    repeating-linear-gradient(0deg, rgba(53, 227, 216, 0.08) 0 1px, transparent 1px 5px);
}

.user-wallet-link,
.user-profile-head strong,
.user-profile-head span,
.user-balance-block span,
.user-menu-tile {
  color: #f5fffd;
}

.user-profile-head span,
.user-balance-block span,
.credit-score-card em,
.user-asset-strip span {
  color: rgba(222, 246, 244, 0.68);
}

.user-balance-block strong {
  color: #55efe6;
  text-shadow: 0 0 18px rgba(85, 239, 230, 0.18);
}

.user-balance-block button,
.vip-owned-label {
  color: #eafffc;
  background: rgba(5, 28, 35, 0.86);
  border: 1px solid rgba(116, 237, 229, 0.22);
  box-shadow: 0 10px 20px rgba(0, 12, 16, 0.22);
}

.user-avatar {
  background:
    linear-gradient(180deg, rgba(25, 207, 196, 0.34), rgba(8, 125, 137, 0.32)),
    url("/assets/ui/nav-charge-badge.png?v=1") center / cover no-repeat;
  border-color: rgba(234, 255, 252, 0.82);
  box-shadow: 0 0 20px rgba(53, 227, 216, 0.28);
}

.credit-score-card,
.user-asset-strip,
.user-asset-strip.frozen {
  color: #f5fffd;
  background: linear-gradient(180deg, rgba(10, 42, 50, 0.9), rgba(5, 25, 32, 0.95));
  border-color: rgba(116, 237, 229, 0.18);
  box-shadow: 0 14px 30px rgba(0, 12, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.credit-score-card::after {
  border-color: rgba(85, 239, 230, 0.58);
}

.credit-score-card span,
.user-asset-strip strong {
  color: #f5fffd;
}

.credit-score-card strong {
  color: #55efe6;
}

.user-menu-icon,
.user-menu-tile:nth-child(3n + 1) .user-menu-icon,
.user-menu-tile:nth-child(3n + 2) .user-menu-icon,
.user-menu-tile:nth-child(3n) .user-menu-icon {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(25, 207, 196, 0.28), rgba(8, 125, 137, 0.28)),
    url("/assets/ui/nav-charge-badge.png?v=1") center / cover no-repeat;
  border-color: rgba(116, 237, 229, 0.28);
  box-shadow: 0 10px 20px rgba(0, 12, 16, 0.24), 0 0 18px rgba(53, 227, 216, 0.16);
}

.user-menu-tile > span:last-child {
  color: rgba(235, 255, 252, 0.82);
}

.screen:not(.auth-screen) .amount-chip {
  color: #dffefb;
  background: rgba(8, 55, 62, 0.72);
  border-color: rgba(85, 239, 230, 0.34);
  box-shadow: inset 0 0 0 1px rgba(85, 239, 230, 0.04);
}

.screen:not(.auth-screen) .amount-chip.active,
.screen:not(.auth-screen) .wealth-plan-card.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(31, 218, 207, 0.94), rgba(8, 125, 137, 0.9));
  border-color: rgba(85, 239, 230, 0.78);
  box-shadow: 0 0 0 1px rgba(85, 239, 230, 0.18), 0 10px 22px rgba(0, 12, 16, 0.22);
}

.screen:not(.auth-screen) .invite-code-button {
  color: #f5fffd;
  background:
    linear-gradient(180deg, rgba(10, 42, 50, 0.9), rgba(5, 25, 32, 0.95));
  border-color: rgba(116, 237, 229, 0.2);
  box-shadow: 0 14px 30px rgba(0, 12, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.screen:not(.auth-screen) .invite-code-button > svg,
.screen:not(.auth-screen) .invite-code-button strong {
  color: #55efe6;
}

.screen:not(.auth-screen) .invite-code-button small {
  color: rgba(222, 246, 244, 0.68);
}

.progress-track,
.task-progress {
  background: rgba(3, 19, 25, 0.7);
}

.progress-track i,
.task-progress i,
.income-bar i {
  background: linear-gradient(90deg, #55efe6, #f4b65d);
}

.bottom-nav {
  border-top-color: rgba(116, 237, 229, 0.2);
}

.newcomer-reward-layer {
  position: fixed;
  inset: 0;
  z-index: 9700;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 205, 91, 0.22), transparent 26%),
    rgba(0, 12, 16, 0.78);
  backdrop-filter: blur(8px);
}

.newcomer-reward-card {
  width: min(390px, 100%);
  position: relative;
  overflow: hidden;
  padding: 18px 18px 20px;
  text-align: center;
  color: #f5fffd;
  border: 1px solid rgba(255, 218, 116, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 55, 62, 0.96), rgba(3, 19, 25, 0.98)),
    radial-gradient(circle at 50% 12%, rgba(255, 205, 91, 0.16), transparent 42%);
  box-shadow: 0 24px 70px rgba(0, 12, 16, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.newcomer-reward-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(85, 239, 230, 0.12), transparent 38%, rgba(244, 182, 93, 0.12));
}

.newcomer-reward-brand {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(234, 255, 252, 0.95);
  box-shadow: 0 12px 26px rgba(0, 12, 16, 0.22);
}

.newcomer-reward-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.newcomer-reward-visual {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: grid;
  place-items: center;
  margin: -2px auto -6px;
}

.newcomer-reward-visual::before {
  content: "";
  position: absolute;
  width: min(250px, 76%);
  height: min(250px, 76%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 218, 116, 0.42), rgba(85, 239, 230, 0.12) 48%, transparent 70%);
  filter: blur(2px);
}

.newcomer-reward-image {
  position: relative;
  z-index: 1;
  width: min(280px, 86%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0, 12, 16, 0.38));
}

.newcomer-reward-amount-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 0;
  color: #ffe9a6;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.newcomer-reward-amount-badge::before,
.newcomer-reward-amount-badge::after {
  display: none;
}

.newcomer-reward-amount-badge::before {
  right: calc(100% + 10px);
}

.newcomer-reward-amount-badge::after {
  left: calc(100% + 10px);
}

.newcomer-reward-amount-badge small {
  display: block;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(0, 38, 36, 0.9),
    0 0 10px rgba(255, 218, 116, 0.66),
    0 4px 12px rgba(0, 12, 16, 0.52);
}

.newcomer-reward-amount-badge strong {
  display: block;
  color: #ffe9a6;
  font-size: 48px;
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  -webkit-text-stroke: 1.5px rgba(4, 45, 42, 0.92);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.52),
    0 5px 0 rgba(143, 78, 3, 0.78),
    0 0 18px rgba(255, 218, 116, 0.82),
    0 16px 26px rgba(0, 12, 16, 0.58);
}

.newcomer-reward-copy,
.newcomer-reward-claim {
  position: relative;
  z-index: 1;
}

.newcomer-reward-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  color: #0b3a36;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe7a3, #f4b65d);
}

.newcomer-reward-copy h2 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.18;
}

.newcomer-reward-copy p {
  margin: 0 auto 16px;
  max-width: 310px;
  color: rgba(235, 255, 252, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.newcomer-reward-claim {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  gap: 8px;
  color: #083a36;
  background: linear-gradient(135deg, #ffe7a3, #f4b65d);
  border-color: rgba(255, 218, 116, 0.8);
  box-shadow: 0 16px 34px rgba(244, 182, 93, 0.22);
}

.newcomer-reward-claim svg {
  width: 20px;
  height: 20px;
}

.newcomer-reward-claim:disabled svg {
  animation: spin 0.8s linear infinite;
}

/* Home cleanup and dark modal consistency */
.screen:has(> .hero-band) {
  padding-top: 8px;
}

.screen:has(> .hero-band) > .topbar,
.hero-band .invite-strip {
  display: none !important;
}

.screen:has(> .hero-band) > .hero-band {
  margin-top: 0;
}

.inbox-panel {
  color: #f5fffd !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(85, 239, 230, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(7, 43, 51, 0.98), rgba(3, 22, 29, 0.98)) !important;
  border-color: rgba(116, 237, 229, 0.3) !important;
  box-shadow: 0 24px 58px rgba(0, 12, 16, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.inbox-panel-head {
  background:
    radial-gradient(circle at 16% 0%, rgba(85, 239, 230, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(7, 48, 56, 0.98), rgba(3, 30, 38, 0.98)) !important;
  border-bottom-color: rgba(116, 237, 229, 0.18) !important;
}

.inbox-panel-head button,
.activity-popup-close,
.app-download-close,
.flash-drop-close,
.first-withdraw-close,
.recharge-channel-close,
.bank-picker-close,
.invite-qr-close,
.certificate-preview-close {
  color: #eafffc !important;
  background: rgba(5, 32, 39, 0.92) !important;
  border-color: rgba(116, 237, 229, 0.45) !important;
  box-shadow: 0 10px 24px rgba(0, 12, 16, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.inbox-panel-head button svg,
.activity-popup-close svg,
.app-download-close svg,
.flash-drop-close svg,
.first-withdraw-close svg,
.recharge-channel-close svg,
.bank-picker-close svg,
.invite-qr-close svg,
.certificate-preview-close svg {
  stroke: currentColor !important;
}

.inbox-brand strong,
.inbox-detail-title strong,
.inbox-notice-card strong,
.inbox-thread-item.from-admin strong {
  color: #f5fffd !important;
}

.inbox-brand em,
.inbox-detail-title span,
.inbox-notice-card span,
.inbox-item-meta,
.inbox-thread-item.from-admin span,
.inbox-input-hint,
.inbox-empty {
  color: rgba(222, 246, 244, 0.72) !important;
}

.inbox-tabs,
.inbox-tab-panel,
.inbox-notice-list,
.inbox-detail,
.inbox-thread {
  background: rgba(3, 19, 25, 0.72) !important;
}

.inbox-tabs {
  border-bottom-color: rgba(116, 237, 229, 0.16) !important;
}

.inbox-tabs button {
  color: rgba(222, 246, 244, 0.78) !important;
  background: rgba(5, 32, 39, 0.78) !important;
  border-color: rgba(116, 237, 229, 0.22) !important;
}

.inbox-tabs button.active {
  color: #06252a !important;
  background: linear-gradient(135deg, #9af8ef, #35d7cf) !important;
  border-color: rgba(159, 255, 247, 0.62) !important;
}

.inbox-notice-card,
.inbox-thread-item.from-admin,
.inbox-list,
.inbox-reply-form,
.inbox-compose-form {
  color: #f5fffd !important;
  background: rgba(6, 37, 45, 0.86) !important;
  border-color: rgba(116, 237, 229, 0.2) !important;
}

.inbox-notice-card p,
.inbox-thread-item.from-admin p,
.inbox-thread-item.from-admin .notranslate,
.inbox-message-body,
.inbox-empty p {
  color: rgba(231, 250, 248, 0.88) !important;
}

.inbox-reply-form textarea,
.inbox-compose-form textarea {
  color: #f5fffd !important;
  background: rgba(3, 19, 25, 0.84) !important;
  border-color: rgba(116, 237, 229, 0.24) !important;
}

.activity-popup-card,
.app-download-card,
.flash-drop-card,
.first-withdraw-card,
.recharge-channel-card,
.bank-picker-card,
.invite-qr-panel,
.certificate-preview-panel {
  color: #f5fffd !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(85, 239, 230, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(7, 43, 51, 0.98), rgba(3, 22, 29, 0.98)) !important;
  border-color: rgba(116, 237, 229, 0.28) !important;
}

.activity-popup-card h2,
.activity-popup-card span,
.app-download-card h2,
.flash-drop-card h2,
.first-withdraw-card h2,
.recharge-channel-card h2,
.bank-picker-card h2,
.invite-qr-panel h2,
.certificate-preview-panel h2 {
  color: #f5fffd !important;
}

.activity-popup-card p,
.app-download-card p,
.flash-drop-card p,
.first-withdraw-card p,
.recharge-channel-card p,
.bank-picker-card p,
.invite-qr-panel p,
.certificate-preview-panel p {
  color: rgba(222, 246, 244, 0.78) !important;
}

.support-contact-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(85, 239, 230, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 47, 55, 0.92), rgba(4, 28, 35, 0.95)) !important;
  border-color: rgba(116, 237, 229, 0.24) !important;
}

.app-download-card .app-download-choice p {
  color: #23484b !important;
  background: #f8fffe !important;
  border-color: rgba(45, 212, 191, 0.28) !important;
}

.quick-link-image-tile .quick-link-art-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
}

.quick-link-image-tile .quick-link-art-image img {
  width: 100% !important;
  height: 118% !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  transform: translateY(-7%) !important;
}

.quick-link-featured.quick-link-image-tile .quick-link-art-image img {
  height: 114% !important;
  object-position: center 20% !important;
  transform: translateY(-5%) !important;
}

.quick-link-image-tile::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2 !important;
  height: 40% !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(1, 18, 23, 0), rgba(1, 18, 23, 0.88) 62%, rgba(1, 18, 23, 0.96)) !important;
}

.quick-link-image-tile .quick-link-label {
  top: 50% !important;
  bottom: auto !important;
  left: 7px !important;
  right: 7px !important;
  z-index: 5 !important;
  min-height: 28px !important;
  padding: 4px 7px !important;
  transform: translateY(-50%) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(116, 255, 246, 0.16) 44%, rgba(3, 38, 45, 0.28)) !important;
  border: 1px solid rgba(190, 255, 251, 0.56) !important;
  border-radius: 999px !important;
  box-shadow:
    0 8px 16px rgba(0, 10, 14, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(0, 255, 239, 0.2),
    0 0 18px rgba(77, 255, 242, 0.18) !important;
  backdrop-filter: blur(9px) saturate(1.55) !important;
}

.quick-link-featured.quick-link-image-tile .quick-link-label {
  left: 10px !important;
  right: 10px !important;
  min-height: 38px !important;
  font-size: 16px !important;
}

.quick-link-image-tile .quick-link-art-image img {
  height: 165% !important;
  object-position: center top !important;
  transform: translateY(0) !important;
}

.quick-link-featured.quick-link-image-tile .quick-link-art-image img {
  height: 156% !important;
  object-position: center top !important;
  transform: translateY(0) !important;
}

.quick-link-image-tile::after {
  height: 52% !important;
  background:
    linear-gradient(180deg, rgba(1, 18, 23, 0), rgba(1, 18, 23, 0.82) 48%, rgba(1, 18, 23, 0.98)) !important;
}

@media (prefers-reduced-motion: reduce) {
  .floating-inbox-badge:not(.hidden) {
    animation: none;
  }

  .newcomer-reward-claim:disabled svg {
    animation: none;
  }
}
