: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;
}

/* GTE slot-game launch and exchange-rate status */
.game-quick-link {
  background: linear-gradient(145deg, rgba(255, 244, 204, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(217, 154, 18, 0.28);
}

.slot-game-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1.6fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.38), transparent 34%),
    linear-gradient(135deg, #064e3b, #047857 55%, #0f766e);
  box-shadow: 0 18px 38px rgba(6, 78, 59, 0.2);
}

.slot-game-art {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slot-game-art span {
  display: grid;
  width: 48px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 14px;
  color: #facc15;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.slot-game-art svg { width: 27px; height: 27px; }
.slot-game-copy h2 { margin: 9px 0 7px; font-size: clamp(1.35rem, 4vw, 2rem); }
.slot-game-copy p { margin: 0; color: rgba(255, 255, 255, 0.83); line-height: 1.55; }

.slot-game-status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(15, 23, 42, 0.3);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.slot-game-status.is-ready { color: #052e16; background: #86efac; }

.slot-game-rate-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.slot-game-rate-card > div {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.slot-game-rate-card span,
.slot-game-rate-card small { color: #64748b; }
.slot-game-rate-card strong { color: #065f46; font-size: 1.2rem; }
.slot-game-rate-card small { line-height: 1.4; }

.slot-game-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 15px 0;
}

.slot-game-actions button { min-height: 50px; }
.slot-game-launch svg { width: 20px; height: 20px; }
.slot-game-error { margin-top: 14px; }
.slot-game-safety { margin-top: 12px; }
.slot-game-vip-lock { margin-top: 14px; }

.home-game-turnover-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(76px, 0.72fr);
  gap: 7px;
  margin-top: 14px;
  padding: 8px;
  color: #f8e7b0;
  background: linear-gradient(135deg, #092f30 0%, #064b46 55%, #40270d 100%);
  border: 1px solid rgba(213, 164, 59, 0.46);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(1, 43, 45, 0.14);
}

.home-game-turnover-stat {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 5px 7px;
}

.home-game-turnover-stat span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-turnover-stat strong {
  overflow: hidden;
  color: #ffe39a;
  font-size: clamp(0.88rem, 4vw, 1.12rem);
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-turnover-redeem {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 9px;
  color: #183b31;
  background: linear-gradient(180deg, #fff0ab, #eca82e);
  border: 1px solid rgba(255, 240, 171, 0.85);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 5px 10px rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  font-weight: 950;
}

.home-game-turnover-redeem svg { width: 14px; height: 14px; }
.home-game-turnover-redeem:disabled { color: rgba(255,255,255,.62); background: rgba(255,255,255,.12); border-color: transparent; box-shadow: none; cursor: not-allowed; }

.turnover-exchange-layer {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(1, 18, 20, 0.58);
  backdrop-filter: blur(8px);
}

.turnover-exchange-backdrop { position: absolute; inset: 0; border: 0; background: transparent; }

.turnover-exchange-card {
  position: relative;
  width: min(100%, 430px);
  max-height: min(92dvh, 780px);
  display: grid;
  gap: 13px;
  padding: 20px;
  overflow-y: auto;
  color: #15383b;
  background: linear-gradient(160deg, #fffdf7, #f7fbf9 58%, #fff5db);
  border: 1px solid rgba(197, 138, 30, 0.42);
  border-radius: 15px;
  box-shadow: 0 24px 58px rgba(0, 36, 42, 0.3);
}

.turnover-exchange-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #6f7f7e;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(13,85,93,.15);
  border-radius: 9px;
}

.turnover-exchange-close svg { width: 16px; height: 16px; }
.turnover-exchange-heading { display: flex; align-items: center; gap: 10px; padding-right: 30px; }
.turnover-exchange-heading > span { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; color: #644208; background: linear-gradient(180deg,#ffe9a1,#e6a327); border-radius: 10px; box-shadow: 0 7px 14px rgba(166,106,11,.2); }
.turnover-exchange-heading > span svg { width: 21px; height: 21px; }
.turnover-exchange-heading small { color: #a3741c; font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.turnover-exchange-heading h2 { margin: 2px 0 0; font-size: 1.2rem; line-height: 1.15; }

.turnover-exchange-vip-badge { display: inline-flex; margin-top: 5px; padding: 3px 7px; color: #8a5900; background: linear-gradient(135deg,#fff8dc,#f4d98d); border: 1px solid rgba(181,123,19,.28); border-radius: 999px; font-size: .58rem; font-style: normal; font-weight: 900; }
.turnover-exchange-progress { display: grid; grid-template-columns: auto minmax(20px,1fr) auto; align-items: center; gap: 8px; padding: 0 3px; }
.turnover-exchange-progress span { display: inline-flex; align-items: center; gap: 5px; color: #98a4a4; font-size: .62rem; font-weight: 850; white-space: nowrap; }
.turnover-exchange-progress span b { width: 20px; height: 20px; display: grid; place-items: center; color: #718082; background: #edf2f1; border-radius: 50%; font-size: .6rem; }
.turnover-exchange-progress span.active { color: #0d656c; }
.turnover-exchange-progress span.active b { color: #fff; background: #0d656c; }
.turnover-exchange-progress span.done { color: #9a6915; }
.turnover-exchange-progress span.done b { color: #604006; background: #f4c451; }
.turnover-exchange-progress > i { height: 2px; background: linear-gradient(90deg,#e5bd66,#dbe8e5); border-radius: 9px; }

.turnover-exchange-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.turnover-exchange-summary > div { min-width: 0; display: grid; gap: 4px; padding: 10px; background: #fff; border: 1px solid rgba(13,85,93,.13); border-radius: 9px; }
.turnover-exchange-summary span,.turnover-exchange-count > span { color: #718082; font-size: .66rem; font-weight: 800; }
.turnover-exchange-summary strong { overflow: hidden; color: #0d656c; font-size: 1.12rem; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.turnover-exchange-prompt { margin: 0; color: #526b6d; font-size: .72rem; font-weight: 800; }
.turnover-exchange-options { display: grid; gap: 8px; }

.turnover-exchange-option {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) minmax(68px,auto);
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #183f43;
  text-align: left;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(13,85,93,.16);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(22,78,82,.06);
}

.turnover-exchange-option:not(:disabled):hover { border-color: rgba(13,101,108,.52); box-shadow: 0 7px 16px rgba(22,78,82,.12); transform: translateY(-1px); }
.turnover-exchange-option.is-insufficient { background: linear-gradient(135deg,rgba(255,252,241,.96),rgba(255,247,222,.9)); border-color: rgba(197,138,30,.34); }
.turnover-exchange-option:disabled { color: #7e8a8a; background: rgba(246,248,247,.78); box-shadow: none; cursor: not-allowed; }
.turnover-exchange-option-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #116a70; background: #dff3ef; border-radius: 10px; }
.turnover-exchange-option-game-coin .turnover-exchange-option-icon { color: #76500b; background: #fff0bd; }
.turnover-exchange-option-cash .turnover-exchange-option-icon { color: #1b704c; background: #dff2df; }
.turnover-exchange-option-icon svg { width: 20px; height: 20px; }
.turnover-exchange-option-copy { min-width: 0; display: grid; gap: 2px; }
.turnover-exchange-option-copy strong { font-size: .82rem; }
.turnover-exchange-option-copy small { overflow: hidden; color: #758385; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.turnover-exchange-option-copy em { color: #956616; font-size: .6rem; font-style: normal; font-weight: 850; }
.turnover-exchange-option-state { max-width: 100px; color: #0d656c; text-align: right; font-size: .62rem; font-weight: 900; line-height: 1.25; }
.turnover-exchange-option:disabled .turnover-exchange-option-state { color: #9b6960; }

.turnover-exchange-selected { display: grid; gap: 7px; }
.turnover-exchange-selected > button { width: max-content; display: inline-flex; align-items: center; gap: 3px; padding: 0; color: #617678; background: transparent; font-size: .62rem; font-weight: 850; }
.turnover-exchange-selected > button svg { width: 14px; height: 14px; }
.turnover-exchange-selected > div { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; column-gap: 8px; padding: 8px 10px; background: rgba(255,255,255,.84); border: 1px solid rgba(13,85,93,.13); border-radius: 9px; }
.turnover-exchange-selected > div > span { width: 34px; height: 34px; display: grid; grid-row: span 2; place-items: center; color: #0d656c; background: #e2f3ef; border-radius: 8px; }
.turnover-exchange-selected > div > span svg { width: 17px; height: 17px; }
.turnover-exchange-selected > div > strong { font-size: .78rem; }
.turnover-exchange-selected > div > small { color: #8d641d; font-size: .62rem; font-weight: 800; }
.turnover-exchange-rate { padding: 8px 10px; color: #855b12; text-align: center; background: #fff6dc; border: 1px solid rgba(197,138,30,.22); border-radius: 8px; font-size: .76rem; font-weight: 850; }
.turnover-exchange-rate small { color: #8e7a54; font-size: .62rem; }
.turnover-exchange-count { display: grid; gap: 6px; }
.turnover-exchange-count > div { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 6px; }
.turnover-exchange-count button,.turnover-exchange-count input { min-width: 0; min-height: 42px; color: #164a4f; text-align: center; background: #fff; border: 1px solid rgba(13,85,93,.18); border-radius: 8px; font: inherit; font-weight: 900; }
.turnover-exchange-count input { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.turnover-exchange-count button:disabled { opacity: .42; }
.turnover-exchange-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.turnover-exchange-preview span { min-width: 0; display: grid; gap: 3px; padding: 8px; color: #718082; background: rgba(255,255,255,.72); border-radius: 8px; font-size: .62rem; }
.turnover-exchange-preview strong { min-width: 0; overflow: hidden; color: #183f43; font-size: .9rem; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.turnover-exchange-submit { min-height: 46px; }
.turnover-exchange-empty { margin: -5px 0 0; color: #9a5c43; text-align: center; font-size: .7rem; line-height: 1.4; }
.turnover-exchange-empty.is-info { color: #7b661f; }

@media (max-width: 560px) {
  .slot-game-hero { grid-template-columns: 1fr; padding: 20px; }
  .slot-game-art { justify-content: flex-start; }
  .slot-game-rate-card { grid-template-columns: 1fr; }
  .slot-game-actions { grid-template-columns: 1fr; }
  .home-game-turnover-strip { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 74px; gap: 4px; padding: 6px; }
  .home-game-turnover-stat { padding: 3px; }
  .home-game-turnover-stat span { font-size: .56rem; }
  .home-game-turnover-redeem { padding: 4px 5px; font-size: .62rem; }
  .home-game-turnover-redeem svg { display: none; }
  .turnover-exchange-layer { padding: 10px; }
  .turnover-exchange-card { padding: 17px 14px; }
  .turnover-exchange-option { grid-template-columns: 38px minmax(0,1fr); gap: 8px; }
  .turnover-exchange-option-icon { width: 38px; height: 38px; }
  .turnover-exchange-option-state { grid-column: 2; max-width: none; text-align: left; }
  .turnover-exchange-preview { gap: 5px; }
  .turnover-exchange-preview span { padding: 7px 5px; }
  .turnover-exchange-preview strong { font-size: .78rem; }
}

* {
  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: 14px;
  position: relative;
  overflow: hidden;
  padding: 28px 18px calc(28px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(4, 30, 37, 0.02) 0%, rgba(4, 30, 37, 0.08) 36%, rgba(4, 30, 37, 0.42) 66%, rgba(4, 25, 34, 0.86) 100%),
    url("/assets/gtc/agri-trade-hero-v1.jpg") center / cover no-repeat;
}

.screen.auth-screen::after {
  content: "";
  position: absolute;
  inset: auto -18% -18% -18%;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 41, 45, 0), rgba(7, 41, 45, 0.78));
}

.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 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: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(5, 36, 39, 0.28);
  backdrop-filter: blur(18px);
}

.auth-screen .brand {
  align-items: flex-end;
  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: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

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

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

.register-auth-panel .input-wrap {
  min-height: 34px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(236, 246, 244, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.register-auth-panel .input-wrap svg {
  width: 15px;
  height: 15px;
  color: rgba(3, 55, 62, 0.78);
}

.register-auth-panel .input-wrap input {
  color: #092f36;
  font-size: 13px;
}

.register-auth-panel .input-wrap input::placeholder {
  color: rgba(9, 47, 54, 0.68);
}

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

.register-auth-panel .primary-btn {
  min-height: 36px;
  margin-top: 14px;
  color: #0d555b;
  background: #c7f4e4;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(4, 34, 38, 0.18);
}

.register-auth-screen .switch-line {
  min-height: 34px;
  justify-content: center;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(236, 246, 244, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.register-auth-screen .switch-line button {
  color: #ffffff;
}

.registration-bonus-promo {
  min-height: 108px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(4, 47, 35, 0.96), rgba(5, 92, 63, 0.92)),
    #07583d;
  border: 1px solid rgba(244, 202, 83, 0.55);
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.registration-bonus-promo > img {
  width: 100%;
  height: 108px;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.08);
  animation: registration-bonus-chest-float 3.2s ease-in-out infinite;
}

.registration-bonus-promo-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 14px 12px 10px;
}

.registration-bonus-promo-copy > span,
.new-member-reward-kicker {
  color: #ffe19a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registration-bonus-promo-copy > strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
}

.registration-bonus-promo-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.45;
}

@keyframes registration-bonus-chest-float {
  0%, 100% { transform: scale(1.08) translateY(0); }
  50% { transform: scale(1.08) translateY(-4px); }
}

.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);
}

.primary-btn:disabled {
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.55;
}

.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;
}

.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);
}

.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-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: #075c34;
  text-align: center;
  background: linear-gradient(180deg, #dff5e7, #bfe8ce);
  border: 1px solid #9fd3b1;
  border-radius: 999px;
  box-shadow: 0 9px 18px rgba(15, 122, 67, 0.16);
  font-size: 18px;
  font-weight: 950;
  flex-wrap: wrap;
}

.vip-upgrade-btn,
.vip-owned-label {
  min-height: 30px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #075c34;
  background: #f4fff7;
  border: 1px solid #a9d8b9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 6px 12px rgba(15, 122, 67, 0.14);
}

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

.vip-owned-label {
  color: #28734a;
}

.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: 26px;
  height: 26px;
  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: contain;
  background: #f7faf8;
  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-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;
}

.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-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.quick-link {
  appearance: none;
  min-width: 0;
  height: 78px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 8px 4px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

.quick-link svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

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

.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;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 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: anywhere;
}

.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 {
  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;
}

.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-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  display: block;
  background: #fff;
  object-fit: contain;
}

.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;
  color: var(--primary-dark);
  background: #e1f6f5;
  border-radius: 10px;
}

.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: #e5efed;
  border-radius: 8px;
}

.tabbar button {
  min-width: 0;
  flex: 1;
  min-height: 36px;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.tabbar button.active {
  color: var(--primary-dark);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(19, 35, 37, 0.06);
}

.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);
}

.amount-chip:disabled {
  cursor: not-allowed;
  opacity: 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 .record-main {
  min-width: 0;
  flex: 1;
}

.record-type-icon {
  width: 34px;
  height: 34px;
  display: grid !important;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 0 !important;
  color: var(--primary-dark) !important;
  background: var(--primary-soft);
  border: 1px solid rgba(20, 107, 72, 0.2);
  border-radius: 10px;
}

.record-type-icon svg {
  width: 17px;
  height: 17px;
}

.record.is-vip-refund {
  border-color: rgba(20, 107, 72, 0.28);
  background: linear-gradient(135deg, #ffffff, var(--primary-soft));
}

.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 {
  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: nowrap;
}

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

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

.task-actions {
  display: grid;
  align-content: center;
  gap: 7px;
}

.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: 72px;
}

.task button:disabled,
.tier button:disabled {
  color: var(--muted);
  background: #e9efee;
  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;
  text-align: center;
}

.task-progress-text {
  font-size: 0;
}

.task-progress-text::after {
  content: "Product delivery verification";
  font-size: 12px;
}

.progress-track.task-progress {
  width: 24px;
  height: 24px;
  margin: 10px auto 6px;
  overflow: visible;
  background: transparent;
  border: 3px solid rgba(15, 122, 67, 0.18);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: task-spinner-rotate 0.72s linear infinite;
}

.progress-track.task-progress i {
  display: none;
}

@keyframes task-spinner-rotate {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .progress-track.task-progress {
    animation-duration: 1.4s;
  }
}

/* GTC User Guide: backend-ordered pages remain readable as one vertical flow. */
.user-guide-content {
  display: grid;
  gap: 14px;
  padding: 14px 14px calc(104px + env(safe-area-inset-bottom));
}

.user-guide-intro,
.user-guide-state,
.user-guide-page figure {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.user-guide-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

.user-guide-intro > span,
.user-guide-state > span {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 14px;
}

.user-guide-intro svg,
.user-guide-state > span svg {
  width: 23px;
  height: 23px;
}

.user-guide-intro h2,
.user-guide-intro p,
.user-guide-state strong,
.user-guide-state p {
  margin: 0;
}

.user-guide-intro h2,
.user-guide-state strong {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 900;
}

.user-guide-intro p,
.user-guide-state p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.user-guide-state {
  display: grid;
  min-height: 210px;
  padding: 28px 20px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.user-guide-state.is-loading .user-guide-loader svg {
  animation: spin 0.9s linear infinite;
}

.user-guide-state button,
.user-guide-image-error button,
.user-guide-return {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  border-radius: 12px;
  font-weight: 850;
  text-decoration: none;
}

.user-guide-state button {
  margin-top: 14px;
}

.user-guide-state button:focus-visible,
.user-guide-image-error button:focus-visible,
.user-guide-return:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.user-guide-gallery {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.user-guide-page,
.user-guide-page figure {
  min-width: 0;
  margin: 0;
}

.user-guide-page figure {
  overflow: hidden;
}

.user-guide-page img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: contain;
  color: var(--muted);
  background: var(--surface-2);
}

.user-guide-page figcaption {
  padding: 10px 14px;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.user-guide-image-error {
  display: grid;
  min-height: 180px;
  padding: 24px 16px;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  background: var(--surface-2);
  text-align: center;
}

.user-guide-image-error > svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.user-guide-return {
  width: 100%;
  color: var(--primary-dark);
  background: var(--surface);
  border-color: var(--line);
}

@media (min-width: 720px) {
  .user-guide-content {
    width: min(100%, 760px);
    margin-inline: auto;
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-guide-state.is-loading .user-guide-loader svg {
    animation-duration: 1.8s;
  }
}

.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(3, minmax(0, 1fr));
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 28px rgba(19, 35, 37, 0.08);
}

.bottom-nav a {
  min-width: 0;
  height: 52px;
  display: grid;
  place-items: center;
  gap: 3px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 11px;
}

.bottom-nav a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
}

.floating-inbox {
  position: fixed;
  right: max(16px, calc((100vw - min(100vw, 460px)) / 2 + 16px));
  bottom: calc(86px + 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: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(8, 106, 118, 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: contain;
  padding: 4px;
  border-radius: 50%;
  filter: drop-shadow(0 8px 16px rgba(8, 106, 118, 0.2));
  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);
}

.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: 44px;
  height: 44px;
  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-radius: 8px;
  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.is-unavailable {
  width: 100%;
  cursor: default;
  color: #0b3d2e;
  background: linear-gradient(135deg, rgba(235, 245, 237, 0.96), rgba(247, 239, 218, 0.96));
  border: 1px solid rgba(196, 154, 58, 0.35);
}

.app-download-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.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: 16px;
  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%, 340px);
  display: grid;
  gap: 10px;
  padding: 16px;
  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: 36px;
  height: 36px;
  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: 18px;
  line-height: 1.2;
}

.recharge-channel-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.vip-purchase-confirm-layer {
  position: fixed;
  inset: 0;
  z-index: 38;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(1, 18, 20, 0.52);
  backdrop-filter: blur(9px);
}

.vip-purchase-confirm-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.vip-purchase-confirm-card {
  position: relative;
  width: min(100%, 370px);
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 170, 59, 0.18), transparent 38%),
    linear-gradient(180deg, #ffffff, #f7faf6);
  border: 1px solid rgba(20, 107, 72, 0.24);
  border-radius: 18px;
  box-shadow: 0 26px 66px rgba(0, 28, 25, 0.32);
}

.vip-purchase-confirm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.vip-purchase-confirm-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff8df;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border: 1px solid rgba(214, 170, 59, 0.56);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(6, 40, 29, 0.18);
}

.vip-purchase-confirm-eyebrow {
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vip-purchase-confirm-card h2 {
  margin: -6px 38px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.vip-purchase-quote {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.vip-purchase-quote > div {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

.vip-purchase-quote > div:last-child {
  border-bottom: 0;
}

.vip-purchase-quote span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.vip-purchase-quote strong {
  color: var(--success);
  font-size: 15px;
  white-space: nowrap;
}

.vip-purchase-quote .is-purchase {
  background: linear-gradient(90deg, var(--primary-soft), var(--accent-soft));
}

.vip-purchase-quote .is-purchase span,
.vip-purchase-quote .is-purchase strong {
  color: var(--primary-dark);
  font-size: 16px;
}

.vip-purchase-policy {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px 12px 12px 30px;
  color: var(--muted);
  background: #fffaf0;
  border: 1px solid rgba(214, 170, 59, 0.3);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.vip-purchase-confirm-actions {
  display: grid;
  grid-template-columns: minmax(90px, 0.72fr) minmax(0, 1.45fr);
  gap: 9px;
}

.vip-purchase-confirm-actions button {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
}

.vip-purchase-confirm-cancel {
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
}

.vip-purchase-confirm-submit {
  color: #fff8df;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1px solid var(--primary-dark);
  box-shadow: 0 9px 20px rgba(6, 40, 29, 0.2);
}

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

.recharge-channel-option {
  min-width: 0;
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 9px 8px;
  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: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.recharge-channel-option span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.recharge-channel-option:disabled,
.recharge-channel-option.is-disabled {
  cursor: not-allowed;
  color: #64748b;
  background: #f1f5f9;
  border-color: rgba(100, 116, 139, 0.24);
  box-shadow: none;
  opacity: 0.82;
}

.recharge-channel-option:disabled span,
.recharge-channel-option.is-disabled span {
  color: #94a3b8;
}

.recharge-channel-option:active {
  transform: translateY(1px);
}

.recharge-channel-empty {
  grid-column: 1 / -1;
  padding: 14px 12px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

html.recharge-payment-waiting-open,
html.recharge-payment-waiting-open body {
  overflow: hidden;
}

.recharge-payment-waiting {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, rgba(247, 251, 251, 0.98), rgba(238, 247, 245, 0.98));
  backdrop-filter: blur(10px);
}

.recharge-payment-waiting-card {
  width: min(100%, 410px);
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 30px 24px;
  color: var(--ink);
  text-align: center;
  background: #fff;
  border: 1px solid rgba(15, 122, 67, 0.2);
  border-radius: 12px;
  box-shadow: 0 24px 58px rgba(5, 42, 28, 0.18);
}

.recharge-payment-waiting-logo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f7a43, #0e4d92);
  border-radius: 10px;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(15, 122, 67, 0.24);
}

.recharge-payment-waiting-card h2,
.recharge-payment-waiting-card p {
  margin: 0;
}

.recharge-payment-waiting-card h2 {
  font-size: 23px;
  line-height: 1.25;
}

.recharge-payment-waiting-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.recharge-payment-waiting-card strong {
  color: var(--primary-dark);
  font-size: 17px;
}

.recharge-payment-waiting-card small {
  color: var(--muted);
  line-height: 1.45;
}

.recharge-payment-waiting-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: rgba(15, 122, 67, 0.13);
  border-radius: 999px;
}

.recharge-payment-waiting-progress i {
  width: 42%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #0f7a43, #22c55e, #0e4d92);
  border-radius: inherit;
  animation: recharge-payment-progress 1.1s ease-in-out infinite;
}

.recharge-payment-manual-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f7a43, #0e4d92);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.recharge-payment-manual-link[hidden] {
  display: none;
}

.recharge-payment-return-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 122, 67, 0.35);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.recharge-payment-return-btn:active {
  transform: translateY(1px);
  background: rgba(15, 122, 67, 0.07);
}

@keyframes recharge-payment-progress {
  0% { transform: translateX(-115%); }
  50% { transform: translateX(80%); }
  100% { transform: translateX(245%); }
}

@media (prefers-reduced-motion: reduce) {
  .recharge-payment-waiting-progress i {
    animation-duration: 2.5s;
  }
}

.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: 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);
}

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

.bank-picker-head span,
.bank-picker-subhead span {
  color: var(--muted);
  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: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.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: #fff;
  border: 1px solid var(--line);
  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: var(--ink);
  background: transparent;
  font-size: 15px;
}

.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: 3px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bank-picker-option:focus-visible,
.bank-picker-option:hover {
  outline: none;
  border-color: rgba(13, 140, 152, 0.48);
  box-shadow: 0 8px 18px rgba(13, 140, 152, 0.12);
}

.bank-picker-option span {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.bank-picker-option small {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.bank-picker-empty {
  padding: 28px 12px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  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: var(--muted);
  background: #eef5f4;
  border-radius: 8px;
}

.activity-popup-close svg {
  width: 17px;
  height: 17px;
}

.activity-popup-image {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  background: #f7faf8;
  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;
}

.new-member-reward-layer {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 25, 18, 0.64);
  backdrop-filter: blur(9px);
}

.new-member-reward-card {
  position: relative;
  width: min(100%, 380px);
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 20px 20px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(180deg, #073f2c, #0b6a49);
  border: 1px solid rgba(255, 216, 102, 0.65);
  border-radius: 20px;
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.42);
}

.new-member-reward-image {
  width: min(54vw, 200px);
  height: min(54vw, 200px);
  margin: 20px 0 6px;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: #f4f0e6;
  border: 1px solid rgba(227, 195, 111, 0.74);
  border-radius: 34px;
  box-shadow: 0 16px 32px rgba(2, 31, 22, 0.3);
}

.new-member-reward-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(3, 42, 30, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.new-member-reward-close svg {
  width: 17px;
  height: 17px;
}

.new-member-reward-card h2 {
  margin: 0;
  color: #fff4cb;
  font-size: 24px;
  line-height: 1.2;
}

.new-member-reward-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.55;
}

.new-member-reward-claim {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  color: #263316;
  background: linear-gradient(135deg, #ffe89c, #e9ad34);
  border: 1px solid rgba(255, 248, 205, 0.72);
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  font-weight: 900;
}

.new-member-reward-claim:disabled {
  cursor: wait;
  opacity: 0.72;
}

.new-member-reward-card small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.45;
}

@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) {
  .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);
  }

  .company-certificate-card img {
    max-height: none;
  }

  .certificate-preview-layer {
    padding: 10px;
  }

  .certificate-preview-panel {
    width: 96vw;
    max-height: 94vh;
  }

  .invite-qr-layer {
    padding: 10px;
  }
}

/* Sunshine Fund */
.sunshine-fund-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 176px;
  margin-bottom: 14px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 224, 128, 0.34), transparent 34%),
    radial-gradient(circle at 20% 120%, rgba(78, 210, 149, 0.38), transparent 44%),
    linear-gradient(135deg, #075a45 0%, #0b8561 62%, #0fac78 100%);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(7, 90, 69, 0.18);
}

.sunshine-fund-hero::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -76px;
  width: 210px;
  height: 210px;
  border: 22px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.sunshine-fund-hero-copy,
.sunshine-fund-hero-mark {
  position: relative;
  z-index: 1;
}

.sunshine-fund-hero-copy > span {
  display: inline-flex;
  padding: 5px 9px;
  color: #d9fff2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.sunshine-fund-hero h2 {
  margin: 12px 0 7px;
  color: #fff;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1;
}

.sunshine-fund-hero p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.sunshine-fund-hero-mark {
  display: grid;
  flex: 0 0 118px;
  place-items: center;
  min-height: 108px;
  margin-left: 18px;
  background: rgba(3, 61, 46, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.sunshine-fund-hero-mark span {
  align-self: end;
  color: #c5efdf;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sunshine-fund-hero-mark strong {
  align-self: start;
  margin-top: 4px;
  color: #ffe184;
  font-size: 24px;
}

.sunshine-fund-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.sunshine-fund-stats > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #dce9e3;
  border-radius: 13px;
}

.sunshine-fund-stats span {
  color: #75857f;
  font-size: 11px;
  font-weight: 700;
}

.sunshine-fund-stats strong {
  overflow: hidden;
  color: #143b31;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sunshine-fund-section,
.sunshine-purchase-card,
.sunshine-records {
  margin-bottom: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dce9e3;
  border-radius: 16px;
  box-shadow: 0 7px 24px rgba(20, 67, 54, 0.05);
}

.sunshine-fund-section-title,
.sunshine-fund-section-title > div {
  display: flex;
  align-items: center;
}

.sunshine-fund-section-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sunshine-fund-section-title > div {
  gap: 9px;
}

.sunshine-fund-section-title > div > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #0a7a5b;
  background: #dff5ed;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}

.sunshine-fund-section-title h3 {
  margin: 0;
  color: #183b32;
  font-size: 16px;
}

.sunshine-fund-section-title small {
  color: #798a83;
  font-size: 10px;
  text-align: right;
}

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

.sunshine-plan-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 90px;
  padding: 9px 14px;
  color: #1a3c33;
  text-align: left;
  background: linear-gradient(145deg, #f7fffb 0%, #eaf8f1 100%);
  border: 1px solid rgba(18, 137, 99, 0.24);
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(12, 96, 72, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sunshine-plan-card.sunshine-plan-tier-1 {
  background: linear-gradient(145deg, #f8fffc 0%, #e9f8f1 100%);
}

.sunshine-plan-card.sunshine-plan-tier-2 {
  background: linear-gradient(145deg, #e9f8f1 0%, #c8ebd9 100%);
}

.sunshine-plan-card.sunshine-plan-tier-3 {
  color: #f4fff9;
  background: linear-gradient(145deg, #6bc29d 0%, #278966 100%);
  border-color: rgba(10, 105, 76, 0.5);
}

.sunshine-plan-card.sunshine-plan-tier-4 {
  color: #fff;
  background: linear-gradient(145deg, #2a8a6c 0%, #084c3b 100%);
  border-color: rgba(5, 70, 53, 0.7);
}

.sunshine-plan-card:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: #31ad82;
  box-shadow: 0 13px 26px rgba(12, 119, 86, 0.18);
}

.sunshine-plan-card.active {
  border-color: #f4b63f;
  box-shadow: inset 0 0 0 2px rgba(244, 182, 63, 0.88), 0 13px 28px rgba(12, 105, 78, 0.18);
}

.sunshine-plan-card:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.sunshine-plan-main {
  display: grid;
  align-items: center;
  grid-template-columns: 68px minmax(106px, 1fr) auto;
  gap: 10px;
}

.sunshine-plan-status {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 11px;
  padding: 4px 9px;
  color: #087557;
  background: #ddf4eb;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.sunshine-progress-ring {
  --sunshine-progress: 0;
  position: relative;
  display: grid;
  place-content: center;
  width: 68px;
  height: 68px;
  text-align: center;
  background: conic-gradient(#0ca374 calc(var(--sunshine-progress) * 1%), #e1ece7 0);
  border-radius: 50%;
}

.sunshine-progress-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #fff;
  border-radius: inherit;
}

.sunshine-progress-ring strong {
  position: relative;
  z-index: 1;
}

.sunshine-progress-ring small {
  display: none !important;
}

.sunshine-progress-ring strong {
  color: #075f48;
  font-size: 18px;
}

.sunshine-plan-term-range {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  color: #315f53;
  text-align: center;
}

.sunshine-plan-primary,
.sunshine-plan-amounts {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

.sunshine-plan-primary {
  gap: 7px;
  line-height: 1;
}

.sunshine-plan-primary > .sunshine-plan-name {
  color: #19453a;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.sunshine-plan-days {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 10px;
  line-height: 1;
}

.sunshine-plan-days b {
  color: #153f34;
  font-size: 14px;
}

.sunshine-plan-amounts {
  gap: 2px;
}

.sunshine-plan-amounts strong {
  color: #1d5547;
  font-size: 14px;
  line-height: 1.1;
}

.sunshine-plan-amounts i {
  color: #1d5547;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.sunshine-plan-return {
  display: grid;
  padding-top: 14px;
  text-align: right;
}

.sunshine-plan-return strong {
  color: #e49618;
  font-size: 27px;
  line-height: 1;
}

.sunshine-plan-return small {
  color: #7c8b85;
  font-size: 12px;
  margin-top: 5px;
}

.sunshine-plan-tier-3 .sunshine-plan-name,
.sunshine-plan-tier-3 .sunshine-plan-term-range,
.sunshine-plan-tier-3 .sunshine-plan-days b,
.sunshine-plan-tier-3 .sunshine-plan-amounts strong,
.sunshine-plan-tier-3 .sunshine-plan-amounts i,
.sunshine-plan-tier-4 .sunshine-plan-name,
.sunshine-plan-tier-4 .sunshine-plan-term-range,
.sunshine-plan-tier-4 .sunshine-plan-days b,
.sunshine-plan-tier-4 .sunshine-plan-amounts strong,
.sunshine-plan-tier-4 .sunshine-plan-amounts i {
  color: #fff;
}

.sunshine-plan-tier-3 .sunshine-plan-status,
.sunshine-plan-tier-4 .sunshine-plan-status {
  color: #07533f;
  background: rgba(240, 255, 248, 0.9);
}

.sunshine-plan-tier-3 .sunshine-plan-return strong,
.sunshine-plan-tier-4 .sunshine-plan-return strong {
  color: #ffe08a;
}

.sunshine-plan-tier-3 .sunshine-plan-return small,
.sunshine-plan-tier-4 .sunshine-plan-return small {
  color: rgba(255, 255, 255, 0.82);
}

.sunshine-plan-tier-3 .sunshine-progress-ring,
.sunshine-plan-tier-4 .sunshine-progress-ring {
  background: conic-gradient(#ffe08a calc(var(--sunshine-progress) * 1%), rgba(255, 255, 255, 0.24) 0);
}

.sunshine-plan-tier-3 .sunshine-progress-ring::before,
.sunshine-plan-tier-4 .sunshine-progress-ring::before {
  background: rgba(255, 255, 255, 0.94);
}

.sunshine-purchase-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sunshine-purchase-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 31, 24, 0.58);
  border: 0;
  backdrop-filter: blur(4px);
}

.sunshine-purchase-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 22px;
  color: #153c32;
  background: linear-gradient(155deg, #ffffff 0%, #f1faf6 100%);
  border: 1px solid rgba(24, 132, 98, 0.2);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(2, 43, 31, 0.28);
}

.sunshine-purchase-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}

.sunshine-purchase-dialog-head span {
  color: #168360;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sunshine-purchase-dialog-head h3 {
  margin: 4px 0 0;
  color: #123c31;
  font-size: 23px;
}

.sunshine-purchase-dialog-head button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #315e52;
  background: #e7f4ee;
  border: 0;
  border-radius: 50%;
}

.sunshine-purchase-dialog-head button svg {
  width: 18px;
  height: 18px;
}

.sunshine-modal-amount {
  display: block;
}

.sunshine-modal-amount > span {
  display: block;
  margin-bottom: 8px;
  color: #466c61;
  font-size: 14px;
  font-weight: 800;
}

.sunshine-modal-amount > div {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 16px;
  background: #fff;
  border: 2px solid #a8d7c4;
  border-radius: 14px;
}

.sunshine-modal-amount b {
  color: #0a7556;
  font-size: 22px;
}

.sunshine-modal-amount input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  color: #123c31;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 24px;
  font-weight: 900;
}

.sunshine-modal-amount small {
  display: block;
  margin-top: 8px;
  color: #698078;
  font-size: 12px;
}

.sunshine-modal-amount.is-invalid > div {
  border-color: #d94b54;
  box-shadow: 0 0 0 3px rgba(217, 75, 84, 0.09);
}

.sunshine-modal-amount.is-invalid small {
  color: #c4323d;
  font-weight: 800;
}

.sunshine-modal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sunshine-modal-summary > div {
  display: grid;
  gap: 6px;
  padding: 13px;
  background: rgba(227, 244, 236, 0.74);
  border-radius: 12px;
}

.sunshine-modal-summary span {
  color: #617970;
  font-size: 12px;
}

.sunshine-modal-summary strong {
  color: #123c31;
  font-size: 16px;
}

.sunshine-modal-summary .sunshine-modal-profit {
  color: #07835e;
}

.sunshine-modal-submit {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1aa477, #087456);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(8, 116, 86, 0.22);
  font-size: 15px;
  font-weight: 900;
}

.sunshine-modal-submit > svg {
  position: absolute;
  left: 14px;
  width: 21px;
  height: 21px;
}

.sunshine-modal-submit > span {
  grid-area: 1 / 1;
  text-align: center;
}

.sunshine-modal-submit:disabled {
  color: #81928b;
  background: #dfe9e5;
  box-shadow: none;
  cursor: not-allowed;
}

.sunshine-purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  gap: 14px;
}

.sunshine-purchase-entry > label {
  display: block;
  margin-bottom: 7px;
  color: #5c7169;
  font-size: 11px;
  font-weight: 800;
}

.sunshine-amount-input {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 13px;
  background: #f8fbfa;
  border: 1px solid #cfdfd9;
  border-radius: 12px;
}

.sunshine-amount-input:focus-within {
  border-color: #0c956c;
  box-shadow: 0 0 0 3px rgba(12, 149, 108, 0.09);
}

.sunshine-amount-input > span {
  color: #087657;
  font-size: 20px;
  font-weight: 900;
}

.sunshine-amount-input input {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  color: #143a30;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 19px;
  font-weight: 900;
}

.sunshine-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.sunshine-quick-amounts button {
  padding: 6px 9px;
  color: #547068;
  background: #f5f9f7;
  border: 1px solid #d8e5e0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.sunshine-quick-amounts button.active {
  color: #087456;
  background: #e4f6ef;
  border-color: #83c9b2;
}

.sunshine-purchase-entry > p {
  margin: 8px 0 0;
  color: #809089;
  font-size: 10px;
}

.sunshine-purchase-preview {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 13px 15px;
  background: linear-gradient(145deg, #f2faf7, #fffaf0);
  border: 1px solid #d8e7e1;
  border-radius: 12px;
}

.sunshine-purchase-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d9e4e0;
}

.sunshine-purchase-preview > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sunshine-purchase-preview span {
  color: #71827b;
  font-size: 10px;
}

.sunshine-purchase-preview strong {
  color: #193f35;
  font-size: 13px;
}

.sunshine-purchase-preview .is-profit,
.sunshine-record-grid .is-profit {
  color: #07835e;
}

.sunshine-purchase-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  gap: 7px;
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(90deg, #087657, #0da577);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(8, 118, 87, 0.17);
  font-size: 13px;
  font-weight: 900;
}

.sunshine-purchase-submit:disabled {
  color: #87968f;
  background: #e5ece9;
  box-shadow: none;
}

.sunshine-purchase-rule,
.sunshine-fund-notice {
  margin: 10px 0 0;
  color: #778a82;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.sunshine-fund-notice {
  padding: 8px 10px;
  color: #9a6720;
  background: #fff7df;
  border: 1px solid #f2dfaa;
  border-radius: 8px;
}

.sunshine-record-list {
  display: grid;
  gap: 10px;
}

.sunshine-record-item {
  padding: 14px;
  background: #f9fbfa;
  border: 1px solid #dde9e4;
  border-radius: 12px;
}

.sunshine-record-head,
.sunshine-record-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sunshine-record-head > div {
  display: grid;
  gap: 3px;
}

.sunshine-record-head span {
  color: #76877f;
  font-size: 10px;
  font-weight: 800;
}

.sunshine-record-head strong {
  color: #153d32;
  font-size: 17px;
}

.sunshine-record-head em {
  padding: 4px 8px;
  color: #9a6a1b;
  background: #fff3d8;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.sunshine-record-head em.is-completed {
  color: #087456;
  background: #ddf4eb;
}

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

.sunshine-record-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  background: #fff;
  border-radius: 8px;
}

.sunshine-record-grid span {
  color: #85938e;
  font-size: 9px;
}

.sunshine-record-grid strong {
  overflow-wrap: anywhere;
  color: #315249;
  font-size: 10px;
}

.sunshine-record-foot {
  margin-top: 10px;
  padding-top: 9px;
  color: #8a9792;
  border-top: 1px dashed #dce6e2;
  font-size: 9px;
}

.sunshine-record-empty {
  padding: 28px 12px;
  color: #84918c;
  text-align: center;
  background: #f8fbfa;
  border: 1px dashed #d5e3de;
  border-radius: 11px;
  font-size: 11px;
}

@media (max-width: 720px) {
  .sunshine-fund-hero {
    min-height: 154px;
    padding: 19px;
  }

  .sunshine-fund-hero-mark {
    flex-basis: 94px;
    min-height: 94px;
  }

  .sunshine-fund-stats {
    gap: 7px;
  }

  .sunshine-fund-stats > div {
    padding: 10px;
  }

  .sunshine-fund-stats strong {
    font-size: 12px;
  }

  .sunshine-plan-grid,
  .sunshine-purchase-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 420px) {
  .sunshine-fund-hero-mark {
    display: none;
  }

  .sunshine-fund-section,
  .sunshine-purchase-card,
  .sunshine-records {
    padding: 14px;
  }

  .sunshine-fund-section-title {
    align-items: flex-start;
  }

  .sunshine-plan-card {
    padding: 9px 13px;
  }

  .sunshine-plan-main {
    grid-template-columns: 68px minmax(102px, 1fr) auto;
    gap: 8px;
  }

  .sunshine-purchase-dialog {
    padding: 18px;
  }
}

@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;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-inbox-badge:not(.hidden) {
    animation: none;
  }
}

/* GTE solar frontend refresh */
:root {
  --bg: #eef7f0;
  --surface: #ffffff;
  --surface-2: #f7fbf8;
  --ink: #10231b;
  --muted: #62716b;
  --line: #d8e6dc;
  --primary: #0f7a43;
  --primary-dark: #075c34;
  --primary-soft: #e0f4e8;
  --accent: #f6c84c;
  --danger: #c74747;
  --success: #168457;
  --shadow: 0 18px 42px rgba(7, 63, 42, 0.13);
  --radius: 8px;
}

html,
body {
  background:
    linear-gradient(180deg, rgba(15, 122, 67, 0.14), rgba(14, 77, 146, 0.06) 260px, rgba(238, 247, 240, 0) 520px),
    #eef7f0;
  color: var(--ink);
  letter-spacing: 0;
}

.app-shell {
  width: min(100%, 1120px);
  background: var(--surface-2);
  box-shadow: 0 16px 48px rgba(10, 56, 38, 0.12);
}

.screen {
  padding: 18px 16px calc(92px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 18;
  margin: -18px -16px 16px;
  padding: 12px 16px;
  background: rgba(247, 251, 248, 0.92);
  border-bottom: 1px solid rgba(216, 230, 220, 0.8);
  backdrop-filter: blur(16px);
}

.topbar-title h1 {
  color: #0c2a1b;
  font-size: 19px;
}

.topbar-title p {
  color: #5d6d65;
}

.brand-logo,
.topbar-logo,
.get-home-logo,
.company-brand-logo,
.user-brand-logo {
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(216, 230, 220, 0.9);
  box-shadow: 0 10px 24px rgba(11, 61, 42, 0.12);
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 8px;
}

.topbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.icon-btn,
.primary-btn,
.secondary-btn,
.ghost-btn,
.amount-chip,
.tabbar button,
.task button,
.quick-link,
.invite-code-button,
.bank-select-button {
  border-radius: 8px;
}

.primary-btn {
  min-height: 48px;
  background: linear-gradient(135deg, #0f7a43, #0e4d92);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(15, 122, 67, 0.22);
}

.secondary-btn,
.ghost-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
  font-weight: 750;
}

.auth-screen {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, 0.02) 0%, rgba(4, 30, 37, 0.08) 36%, rgba(4, 30, 37, 0.42) 66%, rgba(4, 25, 34, 0.86) 100%),
    url("/assets/gtc/agri-trade-hero-v1.jpg") center / cover no-repeat;
}

.auth-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.72);
}

.auth-screen .brand {
  align-items: center;
}

.auth-screen .brand-copy h1 {
  font-size: 32px;
  color: #fff;
}

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

@media (min-width: 560px) and (max-height: 720px) {
  .screen.auth-screen {
    background-position: 0 0, center -140px;
  }
}

.get-home-hero,
.get-media-banner,
.get-company-hero,
.charity-hero {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(216, 230, 220, 0.92);
  background: #0d3323;
  box-shadow: var(--shadow);
}

.get-home-hero {
  min-height: 330px;
  display: grid;
  align-items: end;
  margin-bottom: 14px;
}

.get-home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.get-home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 24, 18, 0.1), rgba(4, 24, 18, 0.76)),
    linear-gradient(90deg, rgba(4, 24, 18, 0.78), rgba(4, 24, 18, 0.12));
}

.get-home-hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: #fff;
}

.get-home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.get-home-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.get-home-brand strong,
.get-home-hero-content h2 {
  display: block;
  margin: 0;
}

.get-home-brand span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}

.get-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #f7d66a;
  font-size: 12px;
  font-weight: 800;
}

.get-home-hero-content h2 {
  max-width: 560px;
  font-size: 30px;
  line-height: 1.08;
}

.get-home-hero-content p {
  max-width: 580px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.get-account-panel,
.section,
.form-card,
.vip-stage,
.vip-info-card,
.vip-intro-card,
.user-balance-block,
.user-asset-strip,
.copy-box {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 56, 38, 0.07);
}

.get-account-panel {
  padding: 16px;
  margin-bottom: 14px;
}

.get-account-top,
.get-balance-row,
.hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.get-account-top span,
.get-balance-row span,
.stat span {
  color: var(--muted);
  font-size: 12px;
}

.get-account-top strong,
.get-balance-row strong {
  display: block;
  margin-top: 3px;
  color: #0c2a1b;
  font-size: 20px;
}

.get-account-top em {
  padding: 6px 10px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.get-invite-strip {
  margin: 12px 0;
  color: #12362a;
  background: #edf8f1;
  border-color: #ccebd6;
}

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

.get-action-row a,
.hero-actions a,
.hero-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: #0f7a43;
  font-size: 13px;
  font-weight: 800;
}

.get-action-row a:nth-child(2),
.hero-actions a:nth-child(2) {
  background: #0e4d92;
}

.get-action-row a:nth-child(3) {
  color: #16340f;
  background: #f6c84c;
}

.get-action-row a:nth-child(4) {
  color: #0f7a43;
  background: #e6f6ed;
}

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

.stat {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 18px rgba(10, 56, 38, 0.06);
}

.stat strong {
  color: #0c2a1b;
  overflow-wrap: anywhere;
}

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

.quick-link {
  min-height: 74px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: #18332a;
  box-shadow: 0 8px 16px rgba(10, 56, 38, 0.06);
}

.quick-link svg {
  color: var(--primary);
}

.get-media-banner {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 0;
  margin: 14px 0;
  min-height: 178px;
  background: #fff;
}

.get-media-banner > img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
}

.get-media-banner > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.get-media-banner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.get-media-banner strong {
  margin-top: 8px;
  color: #0c2a1b;
  font-size: 20px;
  line-height: 1.18;
}

.get-media-banner p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-title h2 {
  color: #0c2a1b;
  font-size: 17px;
}

.section-title a,
.section-title button {
  color: var(--primary);
  font-weight: 800;
}

.task.get-task-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 118px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10, 56, 38, 0.07);
}

.task-card-body {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 7px;
  min-width: 0;
}

.task.get-task-card h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #0c2a1b;
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card-actions {
  display: flex;
  gap: 6px;
  min-width: 0;
}

.task.get-task-card .task-card-actions button {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.task-card-summary span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card-summary strong {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.task.get-task-card button {
  min-width: 72px;
  min-height: 38px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.task.get-task-card button:disabled {
  color: #718178;
  background: #e7eee9;
}

.badge {
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.tabbar {
  border: 1px solid var(--line);
  background: #edf7f1;
  border-radius: 8px;
}

.tabbar button.active,
.amount-chip.active {
  color: #fff;
  background: var(--primary);
}

.amount-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #153d2d;
  font-weight: 800;
}

.input-wrap,
.select-wrap,
.bank-select-button {
  border-color: var(--line);
  background: #fbfdfb;
}

.notice {
  border-radius: 8px;
  border: 1px solid #dcebd6;
  background: #f3faf4;
  color: #284236;
}

.get-company-hero {
  display: grid;
  grid-template-columns: 52% 1fr;
  min-height: 300px;
  background: #092a1d;
  color: #fff;
}

.get-company-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.get-company-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: linear-gradient(135deg, rgba(7, 42, 29, 0.94), rgba(12, 67, 117, 0.84));
}

.company-brand-logo,
.user-brand-logo {
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  border-radius: 8px;
}

.get-company-hero span {
  color: #f7d66a;
  font-weight: 800;
}

.get-company-hero h2 {
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.08;
}

.get-company-hero p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.company-certificate-card,
.help-detail-section,
.helpbook-row,
.record,
.member,
.row,
.income-detail-row {
  border-radius: 8px;
}

.company-certificate-image-frame {
  border-radius: 8px;
  background: #eef7f0;
}

.get-user-head {
  color: #fff;
  border-radius: 8px;
}

.get-user-head span {
  color: rgba(255, 255, 255, 0.86);
}

.bottom-nav {
  width: min(100%, 1120px);
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid rgba(216, 230, 220, 0.94);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  color: #687870;
}

.bottom-nav a.active {
  color: var(--primary);
}

.bottom-nav a.active svg {
  color: var(--primary);
}

.get-charity-hero {
  display: grid;
  grid-template-columns: 48% 1fr;
  background: #fff;
}

.get-charity-hero img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.get-charity-hero > div {
  padding: 20px;
}

.get-info-image-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 56, 38, 0.07);
}

.get-info-image-card figcaption {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.get-info-image-card figcaption strong {
  color: #0c2a1b;
}

.get-info-image-card figcaption span {
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .screen {
    padding: 24px 32px calc(104px + env(safe-area-inset-bottom));
  }

  .topbar {
    margin: -24px -32px 22px;
    padding: 14px 32px;
  }

  .get-home-hero {
    min-height: 390px;
  }

  .get-account-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
    align-items: center;
  }

  .get-account-panel .get-invite-strip {
    grid-column: 1 / -1;
  }

  .get-action-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column: 1 / -1;
  }

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

  .quick-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .get-task-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: 100%;
  }

  .get-home-hero {
    min-height: 320px;
  }

  .get-home-hero-content {
    padding: 17px;
  }

  .get-home-hero-content h2 {
    font-size: 25px;
  }

  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .get-media-banner,
  .get-company-hero,
  .get-charity-hero {
    grid-template-columns: 1fr;
  }

  .get-media-banner > img {
    min-height: 160px;
    max-height: 210px;
  }

  .task.get-task-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
  }

  .task.get-task-card .task-card-actions {
    gap: 5px;
  }

}

/* GTE complete frontend theme */
.lucide {
  display: block;
  flex: 0 0 auto;
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
}

.icon-btn {
  color: #0b6b3d;
  background: #ffffff;
  border-color: #cfe1d5;
  box-shadow: 0 7px 18px rgba(8, 75, 48, 0.08);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: #ffffff;
  background: #0f7a43;
  border-color: #0f7a43;
  outline: none;
}

.primary-btn,
.task button:not(:disabled),
.tier button:not(:disabled),
.points-exchange-row button:not(:disabled),
.wealth-order-action,
.inbox-send-button,
.activity-popup-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0f7a43 0%, #0b6745 58%, #0e4d92 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(15, 122, 67, 0.18);
}

.primary-btn:hover:not(:disabled),
.task button:hover:not(:disabled),
.tier button:hover:not(:disabled),
.points-exchange-row button:hover:not(:disabled) {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.secondary-btn,
.ghost-btn {
  color: #075c34;
  background: #ffffff;
  border: 1px solid #cfe1d5;
  box-shadow: 0 7px 18px rgba(8, 75, 48, 0.05);
}

.hero-band,
.points-hero,
.activity-config-card,
.income-level-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #075c34 0%, #0f7a43 52%, #0e4d92 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(7, 71, 47, 0.18);
}

.hero-band::before,
.points-hero::before,
.activity-config-card::before,
.income-level-hero::before {
  display: none;
}

.hero-band span,
.hero-band p,
.activity-config-card span,
.activity-config-card p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-band strong,
.hero-band h2,
.activity-config-card h2 {
  color: #ffffff;
}

.section,
.form-card,
.points-rule-card,
.invite-guide-card,
.help-detail,
.job-application-page,
.wealth-detail {
  border-color: #d6e5da;
}

.section,
.form-card,
.row,
.record,
.task,
.tier,
.member,
.message,
.help-item,
.income-detail-row,
.helpbook-row,
.points-exchange-row,
.wealth-plan-card {
  background: #ffffff;
  border-color: #d6e5da;
  box-shadow: 0 8px 22px rgba(8, 75, 48, 0.055);
}

.section-title h2,
.row-main strong,
.record strong,
.task h3,
.tier h3,
.member h3,
.message h3 {
  color: #102d20;
}

.section-title a,
.section-title button,
.row-action,
.record .income,
.income-detail-row b {
  color: #0f7a43;
}

.input-wrap,
.select-wrap,
.bank-select-button,
.bank-picker-search,
.inbox-input-box {
  color: #10231b;
  background: #fbfdfb;
  border-color: #cfe1d5;
}

.input-wrap:focus-within,
.select-wrap:focus-within,
.bank-select-button:focus-visible,
.bank-picker-search:focus-within,
.inbox-input-box:focus-within {
  border-color: #0f7a43;
  box-shadow: 0 0 0 3px rgba(15, 122, 67, 0.12);
}

.input-wrap svg,
.select-wrap svg,
.bank-select-button svg,
.bank-picker-search svg {
  color: #0f7a43;
}

.notice {
  color: #5d4b16;
  background: #fff8df;
  border-color: #efdc9c;
}

.notice svg {
  color: #a87906;
}

.tabbar,
.team-level-tabs {
  background: #e9f2ec;
  border: 1px solid #d4e4d9;
}

.tabbar button,
.team-level-tabs button {
  color: #617169;
  background: transparent;
  border-color: transparent;
}

.tabbar button.active,
.team-level-tabs button.active {
  color: #075c34;
  background: #ffffff;
  border-color: #c9dfd1;
  box-shadow: 0 6px 16px rgba(8, 75, 48, 0.09);
}

.amount-chip {
  color: #153526;
  background: #ffffff;
  border-color: #cfe1d5;
}

.amount-chip.active,
.wealth-plan-card.active,
.row-button.is-selected {
  color: #075c34;
  background: linear-gradient(180deg, #e8f6ed, #ffffff);
  border-color: #0f7a43;
  box-shadow: inset 0 0 0 1px rgba(15, 122, 67, 0.08), 0 8px 20px rgba(15, 122, 67, 0.08);
}

.row-icon,
.user-menu-icon,
.support-contact-icon,
.first-withdraw-mark,
.recharge-channel-mark {
  color: #0f7a43;
  background: #e5f5eb;
  border: 1px solid #cce7d5;
  border-radius: 8px;
}

.row-button.is-selected .row-icon {
  color: #ffffff;
  background: #0f7a43;
  border-color: #0f7a43;
}

.support-activity-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #0f7a43, #0e4d92);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.support-activity-icon svg {
  stroke-width: 1.9;
}

.quick-link {
  min-height: 90px;
  gap: 7px;
  color: #173a29;
  background: #ffffff;
  border-color: #d2e3d8;
  box-shadow: 0 8px 18px rgba(8, 75, 48, 0.06);
}

.quick-link > svg {
  width: 42px;
  height: 42px;
  padding: 1px;
  stroke-width: 1.45;
  color: #0f7a43;
  background: #e5f5eb;
  border: 1px solid #cce7d5;
  border-radius: 8px;
}

.quick-link:nth-child(3n + 2) > svg {
  color: #0e4d92;
  background: #e8f2fb;
  border-color: #c9dff2;
}

.quick-link:nth-child(3n) > svg {
  color: #7a5a00;
  background: #fff6d9;
  border-color: #f1dfa0;
}

.quick-link span {
  min-width: 0;
  min-height: 30px;
  display: grid;
  place-items: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.bottom-nav {
  border-top-color: #d4e4d9;
  box-shadow: 0 -10px 26px rgba(8, 75, 48, 0.08);
}

.bottom-nav a {
  gap: 4px;
  color: #6a7971;
}

.bottom-nav a svg {
  width: 32px;
  height: 32px;
  padding: 6px;
  color: #65756d;
  background: #f1f5f2;
  border: 1px solid transparent;
  border-radius: 8px;
}

.bottom-nav a.active {
  color: #0f7a43;
  background: transparent;
}

.bottom-nav a.active svg {
  color: #ffffff;
  background: #0f7a43;
  border-color: #0f7a43;
  box-shadow: 0 7px 16px rgba(15, 122, 67, 0.22);
}

.vip-rank-1,
.vip-rank-4,
.vip-rank-7 {
  --rank-a: #075c34;
  --rank-b: #2bad6d;
  --rank-fg: #ffffff;
}

.vip-rank-2,
.vip-rank-5,
.vip-rank-8 {
  --rank-a: #0e4d92;
  --rank-b: #4c91ca;
  --rank-fg: #ffffff;
}

.vip-rank-3,
.vip-rank-6,
.vip-rank-9,
.vip-rank-trial {
  --rank-a: #d3a114;
  --rank-b: #f6c84c;
  --rank-fg: #263b18;
}

.vip-stage,
.vip-info-card,
.vip-intro-card,
.vip-level-card,
.vip-income-grid div {
  color: #153526;
  background: #ffffff;
  border-color: #d4e4d9;
}

.vip-level-card.active,
.vip-feature-card {
  border-color: #0f7a43;
  background: linear-gradient(145deg, #eff9f2, #ffffff 58%, #edf5fb);
}

.vip-info-card h3,
.vip-table-head,
.task-income-head,
.wealth-rate-row.head {
  color: #ffffff;
  background: linear-gradient(135deg, #075c34, #0f7a43 58%, #0e4d92);
  border-color: #0f7a43;
}

.vip-table-row,
.task-income-row,
.wealth-rate-row {
  color: #18382a;
  background: #ffffff;
  border-color: #d8e6dc;
}

.vip-table-row:nth-child(odd),
.task-income-row:nth-child(odd) {
  background: #f4faf6;
}

.vip-card-note,
.vip-intro-card,
.points-rule-card {
  color: #344b40;
  background: #eef7f1;
  border-color: #cfe4d6;
}

.wealth-plan-card em,
.wealth-detail-title,
.wealth-order-row .row-icon {
  color: #0f7a43;
}

.wealth-plan-card:disabled,
.points-exchange-row button:disabled,
.task button:disabled,
.tier button:disabled {
  color: #89968f;
  background: #eef2ef;
  border-color: #dde5df;
  box-shadow: none;
}

.wealth-rate-table {
  border-color: #cfe1d5;
}

.points-hero {
  grid-template-columns: 60px minmax(0, 1fr);
}

.points-hero > span {
  color: #0f7a43;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 9px 20px rgba(4, 48, 30, 0.16);
}

.points-exchange-row button {
  border-radius: 8px;
}

.points-rule-card h3 {
  color: #075c34;
}

.points-rule-card p {
  color: #4e6257;
}

.points-rule-list span {
  color: #0e4d92;
  background: #e8f2fb;
  border: 1px solid #cfdfef;
}

.activity-config-card {
  padding: 18px;
}

.activity-config-card img {
  max-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.activity-page-actions button {
  color: #075c34;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.activity-page-actions button:last-child {
  color: #17340c;
  background: #f6c84c;
  border-color: #f6c84c;
}

.lucky-section {
  padding: 16px;
  background: linear-gradient(180deg, #f4faf6, #edf5fb);
  border-color: #d0e2d6;
}

.lucky-wheel-wrap {
  --wheel-center-y: 50%;
  position: relative;
  width: min(86vw, 410px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  background: #e8f2fb;
  border: 1px solid #c9dff2;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(9, 73, 49, 0.14);
}

.lucky-wheel-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 246, 237, 0.72)),
    url("/assets/gtc/agri-trade-hero-v1.jpg") center / cover no-repeat;
  opacity: 0.42;
}

.lucky-wheel-bg,
.lucky-wheel-pointer-img,
.lucky-wheel-base-img,
.lucky-wheel-center-img,
.lucky-wheel-slot img,
.lucky-wheel-amount {
  display: none;
}

.lucky-wheel-pointer {
  top: 4px;
  left: 50%;
  z-index: 6;
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #17340c;
  background: #f6c84c;
  border: 4px solid #ffffff;
  border-radius: 8px;
  transform: translateX(-50%);
  filter: drop-shadow(0 7px 10px rgba(8, 75, 48, 0.2));
}

.lucky-wheel-pointer svg {
  width: 21px;
  height: 21px;
}

.lucky-wheel-disc {
  left: 50%;
  top: 50%;
  width: 88%;
  border: 9px solid #ffffff;
  outline: 3px solid #0f7a43;
  box-shadow: 0 15px 32px rgba(8, 75, 48, 0.18);
}

.lucky-wheel-slot {
  width: 72px;
  height: 64px;
  transform: translate(-50%, -50%) rotate(var(--slot-angle)) translateY(calc(clamp(88px, 25vw, 124px) * -1));
  color: #102d20;
  text-shadow: none;
}

.lucky-wheel-prize {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform: rotate(calc(var(--slot-angle) * -1));
}

.lucky-wheel-prize-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #0f7a43;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(7, 58, 38, 0.13);
}

.lucky-wheel-prize-icon svg {
  width: 18px;
  height: 18px;
}

.lucky-wheel-prize-amount {
  max-width: 72px;
  padding: 2px 5px;
  color: #102d20;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.lucky-wheel-center {
  top: 50%;
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #ffffff;
  background: linear-gradient(145deg, #0f7a43, #0e4d92);
  border: 6px solid #ffffff;
  box-shadow: 0 10px 24px rgba(7, 58, 38, 0.28), inset 0 0 0 2px rgba(246, 200, 76, 0.82);
}

.lucky-wheel-center svg {
  width: 24px;
  height: 24px;
}

.lucky-wheel-center:disabled {
  opacity: 0.62;
}

.lucky-result,
.lucky-winner-feed {
  color: #173a29;
  background: #ffffff;
  border-color: #cfe1d5;
  box-shadow: 0 8px 20px rgba(8, 75, 48, 0.06);
  text-shadow: none;
}

.lucky-winner-line {
  color: #173a29;
  text-shadow: none;
}

.lucky-winner-spark {
  color: #0f7a43;
}

.lucky-prize-layer {
  background: rgba(6, 35, 24, 0.62);
  backdrop-filter: blur(7px);
}

.lucky-prize-dialog {
  background: #ffffff;
  border-color: #cfe1d5;
  box-shadow: 0 22px 48px rgba(5, 42, 28, 0.28);
}

.lucky-prize-amount {
  color: #075c34;
  background: #e8f6ed;
  border-color: #cce7d5;
  text-shadow: none;
}

.lucky-prize-image {
  width: 108px;
  height: 108px;
  padding: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #d6e5da;
  border-radius: 8px;
  filter: none;
}

.lucky-prize-message {
  color: #18382a;
  text-shadow: none;
}

.lucky-prize-confirm {
  color: #ffffff;
  background: #0f7a43;
  border-color: #0f7a43;
  box-shadow: 0 8px 18px rgba(15, 122, 67, 0.2);
}

.inbox-panel,
.activity-popup-card,
.first-withdraw-card,
.recharge-channel-card,
.bank-picker-card,
.invite-qr-card,
.certificate-preview-card {
  background: #ffffff;
  border-color: #cfe1d5;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(5, 42, 28, 0.24);
}

.inbox-panel-head,
.inbox-tabs {
  background: linear-gradient(180deg, #f4faf6, #ffffff);
  border-color: #d6e5da;
}

.inbox-brand > span,
.inbox-compose-button,
.floating-inbox-button {
  color: #ffffff;
  background: linear-gradient(135deg, #0f7a43, #0e4d92) !important;
  border-color: transparent !important;
}

.inbox-tabs button.active,
.inbox-item.is-active,
.inbox-notice-card.is-unread {
  color: #075c34;
  background: #e8f6ed;
  border-color: #bcdcc7;
}

.recharge-channel-option,
.bank-picker-option,
.first-withdraw-support-btn {
  background: #f8fbf9;
  border-color: #d6e5da;
  border-radius: 8px;
}

.recharge-channel-option:hover:not(:disabled),
.bank-picker-option:hover,
.first-withdraw-support-btn:hover:not(:disabled) {
  color: #075c34;
  background: #e8f6ed;
  border-color: #0f7a43;
}

.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: #0f7a43;
  background: #e5f5eb;
  border-color: #cce7d5;
}

.user-menu-tile:nth-child(3n + 2) .user-menu-icon {
  color: #0e4d92;
  background: #e8f2fb;
  border-color: #c9dff2;
}

.auth-screen .register-auth-panel .primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #0f7a43, #0e4d92);
  border-radius: 8px;
}

.auth-screen .register-auth-panel .input-wrap {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.74);
  border-radius: 8px;
}

@media (max-width: 640px) {
  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-link {
    min-height: 90px;
    gap: 4px;
    padding: 4px 3px;
    font-size: 11px;
  }

  .quick-link > svg {
    width: 40px;
    height: 40px;
    padding: 1px;
  }

  .wealth-plan-grid {
    grid-template-columns: 1fr;
  }

  .wealth-rate-row.head {
    display: none;
  }

  .wealth-rate-row:not(.head) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .wealth-rate-row:not(.head) strong,
  .wealth-rate-row:not(.head) span {
    min-width: 0;
    padding: 8px;
    color: #18382a;
    text-align: left;
    background: #f4faf6;
    border-radius: 6px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .wealth-rate-row:not(.head) strong::before,
  .wealth-rate-row:not(.head) span::before {
    display: block;
    margin-bottom: 3px;
    color: #6a7971;
    font-size: 10px;
    font-weight: 700;
  }

  .wealth-rate-row:not(.head) strong::before {
    content: "Term";
  }

  .wealth-rate-row:not(.head) span:nth-child(2)::before {
    content: "Minimum";
  }

  .wealth-rate-row:not(.head) span:nth-child(3)::before {
    content: "Income";
  }

  .wealth-rate-row:not(.head) span:nth-child(4)::before {
    content: "Tier";
  }

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

  .points-exchange-row button {
    width: 100%;
  }

  .lucky-wheel-slot {
    transform: translate(-50%, -50%) rotate(var(--slot-angle)) translateY(calc(clamp(86px, 25vw, 106px) * -1));
  }
}

@media (max-width: 360px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lucky-wheel-center {
    width: 78px;
    height: 78px;
  }

  .lucky-wheel-slot {
    transform: translate(-50%, -50%) rotate(var(--slot-angle)) translateY(-82px);
  }
}

/* GTE solar tier badges */
.vip-feature-card::after {
  display: none;
}

.vip-feature-badge {
  width: 86px;
  height: 86px;
  padding: 6px;
  color: #0f7a43;
  background: #ffffff;
  border: 1px solid #c8dfd0;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(8, 75, 48, 0.14);
}

.vip-rank-icon {
  --rank-a: #0f7a43;
  --rank-b: #2cab69;
  --rank-fg: #ffffff;
  --rank-label-bg: #ffffff;
  --rank-label-fg: #075c34;
  position: relative;
  width: 38px;
  height: 38px;
  overflow: visible;
  color: var(--rank-fg);
  background: linear-gradient(145deg, var(--rank-a), var(--rank-b));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 63, 42, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.vip-rank-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.9;
}

.vip-rank-icon small {
  position: absolute;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  min-width: 20px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: var(--rank-label-fg);
  background: var(--rank-label-bg);
  border: 1px solid currentColor;
  border-radius: 5px;
  box-shadow: 0 4px 9px rgba(7, 63, 42, 0.16);
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.vip-feature-badge .vip-rank-icon {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.vip-feature-badge .vip-product-icon {
  width: 100%;
  height: 100%;
}

.vip-feature-badge .product-task-thumb {
  width: 74px;
  height: 74px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

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

.vip-feature-badge .vip-rank-icon small {
  right: -4px;
  bottom: -4px;
  min-width: 28px;
  height: 22px;
  font-size: 10px;
}

.vip-level-title {
  gap: 9px;
}

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

.vip-level-title .vip-product-icon,
.vip-level-title .product-task-thumb {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.vip-level-title .product-task-thumb {
  background: #fffdf7;
  border-color: rgba(206, 161, 54, 0.45);
  border-radius: 8px;
  box-shadow: none;
}

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

.vip-level-title .vip-rank-icon small {
  right: -5px;
  bottom: -4px;
  min-width: 18px;
  height: 15px;
  padding: 0 3px;
  font-size: 7px;
}

.vip-rank-trial {
  --rank-a: #f6c84c;
  --rank-b: #eaae20;
  --rank-fg: #16451d;
  --rank-label-bg: #fff9df;
  --rank-label-fg: #6f5200;
}

.vip-rank-1 {
  --rank-a: #0f7a43;
  --rank-b: #38b875;
}

.vip-rank-2 {
  --rank-a: #0e4d92;
  --rank-b: #3388c4;
  --rank-label-fg: #0e4d92;
}

.vip-rank-3 {
  --rank-a: #d09a08;
  --rank-b: #f6c84c;
  --rank-fg: #17340c;
  --rank-label-bg: #fff9df;
  --rank-label-fg: #6f5200;
}

.vip-rank-4 {
  --rank-a: #075c34;
  --rank-b: #16915a;
}

.vip-rank-5 {
  --rank-a: #123e70;
  --rank-b: #0e6daf;
  --rank-label-fg: #0e4d92;
}

.vip-rank-6 {
  --rank-a: #4c861a;
  --rank-b: #8fbd32;
  --rank-label-fg: #3d6815;
}

.vip-rank-7 {
  --rank-a: #0a315e;
  --rank-b: #0e4d92;
  --rank-label-fg: #0e4d92;
}

.vip-rank-8 {
  --rank-a: #087147;
  --rank-b: #d1ad23;
}

.vip-rank-9 {
  --rank-a: #ad7c00;
  --rank-b: #f6c84c;
  --rank-fg: #17340c;
  --rank-label-bg: #fff9df;
  --rank-label-fg: #6f5200;
}

.vip-rank-10 {
  --rank-a: #082f52;
  --rank-b: #0f7a43;
}

.vip-rank-11 {
  --rank-a: #06583d;
  --rank-b: #0e6f83;
}

.vip-rank-12 {
  --rank-a: #0e4d92;
  --rank-b: #d5a51c;
}

@media (max-width: 640px) {
  .vip-feature-badge {
    width: 78px;
    height: 78px;
    padding: 5px;
  }

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

  .vip-feature-badge .product-task-thumb {
    width: 66px;
    height: 66px;
  }
}

/* GTE trial action and account background */
.vip-feature-card.is-trial .vip-feature-price {
  color: #075c34;
  background: #dff4e8;
  border-color: #a9d5b8;
  box-shadow: 0 9px 18px rgba(15, 122, 67, 0.14);
}

.get-user-screen {
  color: #102d20;
  background: #eaf7ee;
}

.get-user-screen::before {
  background: none;
}

.get-user-screen .user-wallet-link,
.get-user-screen .user-balance-block strong {
  color: #0f7a43;
}

.get-user-screen .user-asset-strip {
  color: #173a29;
  background: #ffffff;
  border-color: #cfe3d5;
  box-shadow: 0 9px 22px rgba(8, 75, 48, 0.07);
  backdrop-filter: none;
}

.get-user-screen .user-asset-strip span {
  color: #62716b;
}

.get-user-screen .user-dashboard-stats .user-stat-tile {
  color: #ffffff;
  background: #78ad90;
  border-color: #6ba183;
  box-shadow: 0 9px 20px rgba(8, 75, 48, 0.12);
  backdrop-filter: none;
}

.get-user-screen .user-dashboard-stats .user-stat-tile:hover {
  background: #6fa587;
  box-shadow: 0 12px 24px rgba(8, 75, 48, 0.16);
}

.get-user-screen .user-dashboard-stats .user-stat-tile span,
.get-user-screen .user-dashboard-stats .user-stat-tile strong {
  color: #ffffff;
}

.get-user-screen .user-menu-tile {
  color: #173a29;
}

.get-user-screen .user-menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.get-user-screen .user-menu-tile:nth-child(n) .user-menu-icon {
  color: #0f7a43;
  background: #f1faf4;
  border-color: #c9e2d1;
  box-shadow: 0 8px 18px rgba(8, 75, 48, 0.08);
}

.get-user-screen .user-menu-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.7;
}

/* Home Energy Treasure Pot */
.treasure-pot-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 320px;
  margin: 0 auto 14px;
  overflow: hidden;
  color: #ffffff;
  background-color: #042c50;
  background-image: var(--treasure-pot-bg);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(133, 216, 181, 0.34);
  border-radius: 8px;
  box-shadow:
    0 18px 36px rgba(0, 39, 53, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.treasure-pot-card-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 34, 34, 0.08) 0%, rgba(1, 30, 55, 0.12) 40%, rgba(2, 26, 55, 0.62) 72%, rgba(1, 21, 48, 0.74) 100%),
    linear-gradient(180deg, rgba(0, 18, 31, 0.28) 0%, transparent 28%, transparent 48%, rgba(0, 18, 30, 0.82) 75%, rgba(0, 14, 26, 0.94) 100%);
  pointer-events: none;
}

.treasure-pot-head {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
}

.treasure-pot-kicker {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 19, 28, 0.65);
}

.treasure-pot-round-live,
.treasure-pot-ng-time {
  overflow: hidden;
  color: #ffe067;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 19, 28, 0.65);
}

.treasure-pot-ng-time {
  color: rgba(240, 253, 246, 0.88);
}

.treasure-pot-summary {
  position: absolute;
  z-index: 1;
  top: 32px;
  right: 10px;
  width: 48%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.treasure-pot-pool,
.treasure-pot-countdown-wrap {
  min-width: 0;
  padding: 7px;
  background: rgba(2, 31, 55, 0.7);
  border: 1px solid rgba(151, 220, 193, 0.2);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.treasure-pot-pool span,
.treasure-pot-countdown-wrap span {
  display: block;
  overflow: hidden;
  color: rgba(229, 249, 239, 0.72);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.treasure-pot-pool strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.treasure-pot-countdown-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.treasure-pot-countdown-wrap strong {
  color: #ffe067;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 0 12px rgba(255, 212, 70, 0.24);
}

.treasure-pot-details {
  position: absolute;
  z-index: 1;
  top: 110px;
  right: 10px;
  width: 48%;
  display: grid;
  gap: 3px;
  padding: 7px 8px;
  background: rgba(2, 31, 55, 0.74);
  border: 1px solid rgba(151, 220, 193, 0.2);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.treasure-pot-detail {
  min-width: 0;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.treasure-pot-detail span,
.treasure-pot-detail strong {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.treasure-pot-detail span {
  flex: 1 1 auto;
  color: rgba(229, 249, 239, 0.72);
  font-size: 8.5px;
  font-weight: 700;
}

.treasure-pot-detail strong {
  flex: 0 1 auto;
  color: #ffe067;
  font-size: 10.5px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.treasure-pot-bottom {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 8px;
  left: 9px;
}

.treasure-pot-message {
  min-height: 14px;
  margin: 0 2px 5px;
  overflow: hidden;
  color: #f4fff8;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0, 15, 25, 0.9);
  white-space: nowrap;
}

.treasure-pot-card.is-round_empty .treasure-pot-message,
.treasure-pot-card.is-before_start .treasure-pot-message {
  color: #ffe17a;
}

.treasure-pot-rounds {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
}

.treasure-pot-round {
  min-width: 0;
  height: 34px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  color: rgba(239, 252, 245, 0.7);
  background: rgba(2, 31, 53, 0.68);
  border: 1px solid rgba(169, 225, 201, 0.18);
  border-radius: 7px;
  backdrop-filter: blur(7px);
}

.treasure-pot-round b {
  font-size: 9px;
  line-height: 1;
}

.treasure-pot-round span {
  max-width: 100%;
  overflow: hidden;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.treasure-pot-round.is-current {
  color: #fff8d7;
  background: rgba(27, 112, 86, 0.82);
  border-color: rgba(255, 224, 102, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 217, 66, 0.16),
    0 0 14px rgba(255, 208, 47, 0.17);
}

.treasure-pot-round.is-claimed {
  color: #ffffff;
  background: rgba(16, 130, 77, 0.82);
  border-color: rgba(144, 238, 184, 0.54);
}

.treasure-pot-round.is-missed,
.treasure-pot-round.is-locked {
  opacity: 0.52;
}

.treasure-pot-round.is-round_empty {
  color: #ffe2ae;
  background: rgba(97, 57, 21, 0.74);
  border-color: rgba(255, 200, 103, 0.34);
}

.treasure-pot-actions {
  min-width: 0;
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.treasure-pot-claim,
.treasure-pot-share-resume {
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  overflow: hidden;
  color: #083320;
  font-size: 11px;
  font-weight: 900;
  line-height: 40px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffe679, #f4bc35);
  border: 1px solid rgba(255, 246, 185, 0.88);
  border-radius: 9px;
  box-shadow:
    0 7px 14px rgba(0, 15, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.treasure-pot-claim {
  flex: 1 1 auto;
}

.treasure-pot-share-resume {
  flex: 0 0 98px;
  color: #eafff3;
  font-size: 9px;
  background: rgba(7, 91, 73, 0.88);
  border-color: rgba(166, 235, 200, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.treasure-pot-claim:disabled,
.treasure-pot-share-resume:disabled {
  color: rgba(229, 245, 235, 0.58);
  background: rgba(24, 66, 74, 0.82);
  border-color: rgba(170, 217, 199, 0.18);
  box-shadow: none;
  cursor: not-allowed;
}

.treasure-pot-card.is-error .treasure-pot-claim:not(:disabled) {
  color: #ffffff;
  background: linear-gradient(180deg, #ec7d62, #c84e45);
  border-color: rgba(255, 196, 183, 0.7);
}

.treasure-pot-feed {
  height: 21px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 0 8px;
  overflow: hidden;
  color: rgba(235, 250, 242, 0.82);
  font-size: 8px;
  line-height: 21px;
  background: rgba(0, 20, 35, 0.62);
  border: 1px solid rgba(166, 225, 199, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.treasure-pot-feed svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  color: #ffe16b;
}

.treasure-pot-feed span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.treasure-pot-reward-layer {
  position: fixed;
  z-index: 86;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 20, 30, 0.72);
  backdrop-filter: blur(10px);
}

.treasure-pot-reward-dialog {
  position: relative;
  width: min(100%, 330px);
  padding: 24px 20px 18px;
  color: #eafff2;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 213, 70, 0.22), transparent 38%),
    linear-gradient(150deg, #063d2c, #07365b);
  border: 1px solid rgba(195, 238, 210, 0.36);
  border-radius: 18px;
  box-shadow:
    0 28px 70px rgba(0, 13, 23, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.treasure-pot-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: rgba(235, 255, 244, 0.74);
  background: rgba(0, 22, 36, 0.34);
  border: 1px solid rgba(199, 238, 213, 0.2);
  border-radius: 50%;
}

.treasure-pot-modal-close svg {
  width: 15px;
  height: 15px;
}

.treasure-pot-reward-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: #163e1e;
  background: radial-gradient(circle at 35% 28%, #fff5a6, #efb82e 70%);
  border: 2px solid rgba(255, 248, 184, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(255, 205, 50, 0.3);
}

.treasure-pot-reward-icon svg {
  width: 25px;
  height: 25px;
}

.treasure-pot-reward-eyebrow {
  color: #ffe37c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.treasure-pot-reward-dialog h2 {
  margin: 6px 0 4px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(255, 210, 55, 0.22);
}

.treasure-pot-reward-dialog p {
  margin: 0 0 16px;
  color: rgba(229, 249, 238, 0.76);
  font-size: 11px;
}

.treasure-pot-modal-share {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  color: #12371f;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe986, #f2bd39);
  border: 1px solid rgba(255, 248, 190, 0.82);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 17, 25, 0.3);
}

.treasure-pot-modal-share:disabled {
  opacity: 0.64;
  cursor: wait;
}

.treasure-pot-modal-later {
  margin-top: 10px;
  padding: 5px 10px;
  color: rgba(231, 250, 240, 0.72);
  font-size: 11px;
  background: transparent;
}

.treasure-pot-reward-dialog small {
  display: block;
  margin-top: 8px;
  color: rgba(219, 240, 229, 0.55);
  font-size: 9px;
  line-height: 1.4;
}

@media (min-width: 641px) {
  .treasure-pot-card {
    width: min(100%, 780px);
    height: 340px;
    background-position: left center;
    background-size: auto 100%;
  }

  .treasure-pot-summary {
    top: 38px;
    right: 18px;
    width: 42%;
  }

  .treasure-pot-details {
    top: 116px;
    right: 18px;
    width: 42%;
  }

  .treasure-pot-head {
    top: 16px;
    right: 18px;
    left: 18px;
  }

  .treasure-pot-bottom {
    right: 16px;
    bottom: 12px;
    left: 16px;
  }

  .treasure-pot-round {
    height: 39px;
  }

  .treasure-pot-round b {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .treasure-pot-card {
    height: 320px;
    border-radius: 8px;
  }

  .treasure-pot-summary {
    width: 50%;
  }

  .treasure-pot-details {
    right: 10px;
    width: 50%;
    padding-right: 7px;
    padding-left: 7px;
  }

  .treasure-pot-detail {
    gap: 4px;
  }

  .treasure-pot-detail span {
    font-size: 8px;
  }

  .treasure-pot-detail strong {
    font-size: 10px;
  }

  .treasure-pot-head {
    gap: 5px;
  }

  .treasure-pot-round-live,
  .treasure-pot-ng-time {
    font-size: 8px;
  }

  .treasure-pot-pool {
    padding-right: 5px;
    padding-left: 5px;
  }

  .treasure-pot-share-resume {
    flex-basis: 88px;
    padding-right: 6px;
    padding-left: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treasure-pot-card *,
  .treasure-pot-reward-layer * {
    scroll-behavior: auto;
    animation: none !important;
    transition: none !important;
  }
}

/* Team milestone rewards -------------------------------------------------- */
.team-milestone-section {
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.team-milestone-title {
  align-items: flex-start;
  gap: 10px;
}

.team-milestone-title > div {
  min-width: 0;
}

.team-milestone-title h2 {
  margin: 0;
}

.team-milestone-title > div > span {
  display: block;
  margin-top: 3px;
  color: #6b7d70;
  font-size: 11px;
  line-height: 1.35;
}

.team-milestone-refresh {
  flex: 0 0 auto;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  color: #0b673f;
  background: #f3faf5;
  border: 1px solid #cfe3d5;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.team-milestone-refresh svg {
  width: 14px;
  height: 14px;
}

.team-milestone-refresh:disabled {
  cursor: wait;
  opacity: 0.66;
}

.team-milestone-vip-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  color: #3d4b30;
  background: linear-gradient(135deg, #fff7d8, #fffcf0);
  border: 1px solid #eddaa0;
  border-radius: 10px;
}

.team-milestone-vip-notice > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 7px;
}

.team-milestone-vip-notice svg {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #a7780b;
}

.team-milestone-vip-notice strong,
.team-milestone-vip-notice small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-milestone-vip-notice strong {
  color: #5d480f;
  font-size: 12px;
  line-height: 1.35;
}

.team-milestone-vip-notice small {
  margin-top: 2px;
  color: #85744a;
  font-size: 10px;
  line-height: 1.42;
}

.team-milestone-vip-notice > a,
.team-milestone-upgrade {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f7a43, #0e4d92);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(14, 77, 146, 0.16);
}

.team-milestone-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 11px 12px;
  color: #164830;
  background:
    linear-gradient(100deg, rgba(14, 122, 67, 0.1), rgba(245, 193, 61, 0.14)),
    #fbfefc;
  border: 1px solid #cfe3d5;
  border-radius: 10px;
}

.team-milestone-summary span,
.team-milestone-summary small {
  color: #698074;
  font-size: 11px;
}

.team-milestone-summary strong {
  grid-row: span 2;
  align-self: center;
  color: #0f6f40;
  font-size: 19px;
  line-height: 1;
  text-align: right;
}

.team-milestone-summary small {
  line-height: 1.35;
}

.team-milestone-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  color: #9a3d35;
  background: #fff6f4;
  border: 1px solid #f0c4bd;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.4;
}

.team-milestone-error button {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 9px;
  color: #9a3d35;
  background: #ffffff;
  border: 1px solid #e8b6ad;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
}

.team-milestone-list {
  display: grid;
  gap: 10px;
}

.team-milestone-card {
  position: relative;
  display: grid;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 13px 13px 12px;
  overflow: hidden;
  color: inherit;
  background: linear-gradient(135deg, #ffffff 0%, #fbfefc 72%, #fffbea 100%);
  border: 1px solid #d5e5d9;
  border-left: 4px solid #0f7a43;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(8, 75, 48, 0.06);
  font: inherit;
  text-align: left;
  appearance: none;
}

.team-milestone-card::after {
  content: "";
  position: absolute;
  top: -38px;
  right: -26px;
  width: 110px;
  height: 110px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(247, 197, 66, 0.2), rgba(247, 197, 66, 0));
}

.team-milestone-card.is-claimable {
  border-color: #8bcd9e;
  border-left-color: #e0a817;
  box-shadow: 0 10px 25px rgba(15, 122, 67, 0.1);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.team-milestone-card.is-claimable:hover {
  transform: translateY(-1px);
  border-color: #e0a817;
  box-shadow: 0 13px 28px rgba(15, 122, 67, 0.15);
}

.team-milestone-card.is-claimable:focus-visible {
  outline: 3px solid rgba(224, 168, 23, 0.32);
  outline-offset: 2px;
}

.team-milestone-card.is-claimable:disabled {
  cursor: wait;
  opacity: 0.76;
  transform: none;
}

.team-milestone-card.is-claimed {
  background: linear-gradient(135deg, #f4fcf7, #ffffff);
  border-left-color: #32a56b;
}

.team-milestone-card.is-locked {
  background: linear-gradient(135deg, #ffffff, #fbfcfb);
}

.team-milestone-card-head,
.team-milestone-card-foot,
.team-milestone-progress-meta {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-milestone-card-head > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.team-milestone-card-head > div:first-child > span,
.team-milestone-reward > span,
.team-milestone-progress-meta span,
.team-milestone-claimed-time {
  color: #738278;
  font-size: 10px;
  line-height: 1.25;
}

.team-milestone-kicker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.team-milestone-kicker svg {
  width: 13px;
  height: 13px;
  color: #d89413;
}

.team-milestone-card-head > div:first-child > strong {
  color: #173527;
  font-size: 14px;
  line-height: 1.25;
}

.team-milestone-reward {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  text-align: right;
  background: linear-gradient(135deg, #fff7ce, #fffdf3);
  border: 1px solid rgba(226, 181, 61, 0.36);
  border-radius: 8px;
}

.team-milestone-reward > strong {
  color: #9a6805;
  font-size: 14px;
  line-height: 1.1;
}

.team-milestone-progress-meta strong {
  flex: 0 0 auto;
  color: #0e6b40;
  font-size: 12px;
}

.team-milestone-progress {
  position: relative;
  z-index: 1;
  height: 9px;
  overflow: hidden;
  background: #dcecdf;
  border-radius: 999px;
}

.team-milestone-progress i {
  display: block;
  height: 100%;
  min-width: 0;
  background: linear-gradient(90deg, #0e7744 0%, #2ead69 56%, #e8b32b 100%);
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(232, 179, 43, 0.34);
  transition: width 0.28s ease;
}

.team-milestone-card-foot {
  align-items: flex-start;
}

.team-milestone-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: #6a786e;
  background: #edf2ee;
  border: 1px solid #d9e3dc;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.team-milestone-status.is-claimable {
  color: #7c5806;
  background: #fff4c7;
  border-color: #ecd486;
}

.team-milestone-status.is-claimed {
  color: #0d7040;
  background: #e6f7eb;
  border-color: #bee6c9;
}

.team-milestone-action-wrap {
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.team-milestone-claim {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  color: #4b3502;
  background: linear-gradient(180deg, #ffe886, #eabc39);
  border: 1px solid rgba(255, 245, 181, 0.9);
  border-radius: 8px;
  box-shadow: 0 7px 14px rgba(157, 111, 9, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.team-milestone-claim svg {
  width: 14px;
  height: 14px;
}

.team-milestone-locked-note,
.team-milestone-claimed-note {
  max-width: 190px;
  color: #738278;
  font-size: 10px;
  line-height: 1.32;
}

.team-milestone-claimed-note {
  color: #238656;
  font-weight: 700;
}

.team-milestone-card .team-milestone-upgrade {
  min-height: 29px;
  padding: 0 9px;
  font-size: 10px;
}

.team-milestone-empty {
  padding: 18px 12px;
  color: #728077;
  text-align: center;
  background: #f8fbf9;
  border: 1px dashed #cdded2;
  border-radius: 10px;
  font-size: 12px;
}

.team-milestone-card.is-loading {
  min-height: 128px;
  grid-template-columns: minmax(0, 1fr) 90px;
  grid-template-rows: 28px 15px 9px;
  align-items: center;
  border-left-color: #d8e4db;
}

.team-milestone-skeleton {
  display: block;
  overflow: hidden;
  background: linear-gradient(90deg, #edf3ee 18%, #f8fbf9 50%, #edf3ee 82%);
  background-size: 220% 100%;
  border-radius: 999px;
  animation: team-milestone-shimmer 1.15s linear infinite;
}

.team-milestone-skeleton.title {
  width: 62%;
  height: 13px;
}

.team-milestone-skeleton.amount {
  justify-self: end;
  width: 86px;
  height: 26px;
}

.team-milestone-skeleton.line {
  width: 42%;
  height: 10px;
}

.team-milestone-skeleton.progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 9px;
}

@keyframes team-milestone-shimmer {
  to { background-position: -220% 0; }
}

@media (max-width: 360px) {
  .team-milestone-card-head {
    align-items: flex-start;
  }

  .team-milestone-card-head > div:first-child > strong {
    font-size: 13px;
  }

  .team-milestone-reward {
    padding: 5px 6px;
  }

  .team-milestone-vip-notice {
    align-items: flex-start;
  }

  .team-milestone-vip-notice > a {
    min-height: 29px;
    padding: 0 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-milestone-card.is-claimable,
  .team-milestone-progress i,
  .team-milestone-skeleton {
    animation: none;
    transition: none;
  }
}

/* Home slot-game entry */
.home-slot-entry {
  position: relative;
  isolation: isolate;
  height: 94px;
  display: flex;
  align-items: stretch;
  margin: 0 0 14px;
  overflow: hidden;
  color: #ffffff;
  background: #071c25;
  border: 1px solid rgba(255, 214, 104, 0.48);
  border-radius: 12px;
  box-shadow:
    0 13px 26px rgba(0, 37, 47, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-slot-entry::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 18, 24, 0.96) 0%, rgba(2, 25, 31, 0.86) 45%, rgba(2, 23, 28, 0.22) 79%, rgba(2, 18, 24, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 216, 102, 0.08), transparent 42%, rgba(0, 11, 16, 0.34));
}

.home-slot-entry__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("/assets/slot-entry-banner-v2.jpg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  transform: scale(1.005);
}

.home-slot-entry__content {
  position: relative;
  z-index: 2;
  width: min(70%, 410px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 7px 12px;
}

.home-slot-entry__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 15px;
  padding: 1px 6px;
  color: #fff1a8;
  background: rgba(255, 214, 88, 0.13);
  border: 1px solid rgba(255, 225, 129, 0.4);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.home-slot-entry__title {
  margin: 3px 0 1px;
  color: #ffffff;
  font-size: clamp(15px, 4.2vw, 19px);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.home-slot-entry__copy {
  max-width: 330px;
  margin: 0;
  overflow: hidden;
  color: rgba(242, 255, 250, 0.82);
  font-size: 8px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.home-slot-entry__footer {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}

.home-slot-entry__cta {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 9px;
  color: #17300f;
  background: linear-gradient(180deg, #ffe882 0%, #f2b92f 100%);
  border: 1px solid rgba(255, 241, 171, 0.94);
  border-radius: 8px;
  box-shadow:
    0 7px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.home-slot-entry__cta svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.home-slot-entry__cta:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 9px 17px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.home-slot-entry__cta:active:not(:disabled) {
  transform: translateY(0);
}

.home-slot-entry__cta:focus-visible {
  outline: 3px solid rgba(255, 244, 184, 0.58);
  outline-offset: 2px;
}

.home-slot-entry__cta:disabled {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  cursor: wait;
}

.home-slot-entry__status {
  min-width: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgba(232, 255, 241, 0.78);
  font-size: 8px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.home-slot-entry__status svg {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
}

@media (min-width: 641px) {
  .home-slot-entry {
    height: 104px;
  }

  .home-slot-entry__content {
    padding: 9px 18px;
  }

  .home-slot-entry__copy {
    font-size: 9px;
  }

  .home-slot-entry__cta {
    min-height: 28px;
    padding-inline: 12px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .home-slot-entry {
    height: 92px;
  }

  .home-slot-entry::after {
    background:
      linear-gradient(90deg, rgba(2, 18, 24, 0.97) 0%, rgba(2, 25, 31, 0.88) 53%, rgba(2, 23, 28, 0.28) 84%, rgba(2, 18, 24, 0.08) 100%),
      linear-gradient(180deg, rgba(255, 216, 102, 0.08), transparent 42%, rgba(0, 11, 16, 0.36));
  }

  .home-slot-entry__content {
    width: 76%;
    padding: 6px 9px;
  }

  .home-slot-entry__title {
    font-size: 15px;
  }

  .home-slot-entry__footer {
    gap: 5px;
    margin-top: 4px;
  }

  .home-slot-entry__cta {
    min-height: 24px;
    padding-inline: 8px;
    font-size: 8px;
  }

  .home-slot-entry__status {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slot-entry__cta {
    transition: none;
  }
}

/* GTC agricultural trading shell v1 — keep this layer last. */
:root {
  --bg: #f4f0e6;
  --surface: #ffffff;
  --surface-2: #f8f6f0;
  --ink: #17241c;
  --muted: #68736b;
  --line: #d9ded6;
  --primary: #176b46;
  --primary-dark: #0b3d2e;
  --primary-soft: #e6f1ea;
  --accent: #c49a3a;
  --accent-dark: #7b5b16;
  --cocoa: #6b422d;
  --success: #21744d;
  --shadow: 0 14px 34px rgba(25, 58, 40, 0.1);
  --radius: 14px;
}

html,
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -40px, rgba(196, 154, 58, 0.16), transparent 270px),
    linear-gradient(180deg, #e8f0e9 0, #f4f0e6 430px);
}

body {
  min-width: 320px;
}

.app-shell {
  width: 100%;
  max-width: 480px !important;
  min-height: 100dvh;
  margin-inline: auto;
  background: var(--surface-2);
  box-shadow: 0 16px 44px rgba(25, 58, 40, 0.14);
}

.screen {
  background: transparent;
}

.screen.screen-home {
  padding-top: max(18px, calc(env(safe-area-inset-top) + 12px));
}

.topbar {
  min-height: 64px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(248, 246, 240, 0.96);
  border-bottom-color: rgba(217, 222, 214, 0.94);
  box-shadow: 0 5px 18px rgba(25, 58, 40, 0.06);
  backdrop-filter: blur(14px);
}

.topbar-title h1 {
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.topbar-title p {
  color: var(--muted);
}

.icon-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  color: var(--primary);
  background: #ffffff;
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(25, 58, 40, 0.07);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: #ffffff;
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.screen.auth-screen,
.screen.auth-screen.register-auth-screen {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(8, 38, 27, 0.72) 0, rgba(8, 38, 27, 0.2) 34%, #f4f0e6 69%),
    url("/assets/gtc/agri-trade-hero-v1.jpg") center top / auto 52% no-repeat,
    #f4f0e6;
}

.auth-screen .brand {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
}

.brand-logo,
.company-brand-logo,
.user-brand-logo {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(8, 38, 27, 0.2);
}

.auth-panel,
.registration-bonus-promo {
  border-color: rgba(217, 222, 214, 0.96);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(10, 48, 34, 0.16);
}

.primary-btn,
.task button:not(:disabled),
.tier button:not(:disabled),
.points-exchange-row button:not(:disabled),
.wealth-order-action,
.inbox-send-button,
.activity-popup-primary,
.auth-screen .register-auth-panel .primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(23, 107, 70, 0.2);
}

.secondary-btn,
.ghost-btn {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 6px 16px rgba(25, 58, 40, 0.05);
}

.get-account-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(224, 190, 100, 0.24), transparent 42%),
    linear-gradient(145deg, #0b3d2e, #176b46);
  border-color: rgba(196, 154, 58, 0.32);
  box-shadow: 0 14px 30px rgba(11, 61, 46, 0.2);
}

.get-action-row a {
  min-height: 48px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.17);
}

.get-action-row a:nth-child(2) {
  color: #17241c;
  background: var(--accent);
}

.get-account-panel-minimal {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.get-account-panel-minimal .get-home-account-identity span,
.get-account-panel-minimal .get-account-balance-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.get-account-panel-minimal .get-home-account-identity strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.get-account-panel-minimal .get-home-account-identity > div:first-child {
  min-width: 0;
}

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

.get-account-panel-minimal .get-home-account-level {
  grid-column: 2;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 6px 9px;
  color: #f9e7ae;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(228, 199, 119, 0.32);
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.get-home-account-logo {
  grid-column: 3;
  justify-self: end;
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: block;
  padding: 3px;
  object-fit: contain;
  background: #f4f0e6;
  border: 1px solid rgba(228, 199, 119, 0.62);
  border-radius: 10px;
}

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

.get-account-balance-grid > div {
  min-width: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.get-account-balance-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 17px;
}

.get-account-panel-minimal .get-home-invite-link {
  min-height: 44px;
  margin: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.get-account-panel-minimal .get-home-invite-link > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.get-account-panel-minimal .get-home-invite-link span {
  color: rgba(255, 255, 255, 0.8);
}

.get-account-panel-minimal .get-home-invite-link code {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.get-account-panel-minimal .get-home-invite-link button {
  min-height: 36px;
  color: #17241c;
  background: var(--accent);
}

.get-account-panel-minimal .get-action-row .get-account-action-deposit {
  color: #17241c;
  background: var(--accent);
}

.get-account-panel-minimal .get-action-row .get-account-action-withdraw {
  color: var(--primary-dark);
  background: #ffffff;
}

.get-home-broadcast {
  margin-bottom: 14px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.07);
}

.get-home-broadcast-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.get-home-broadcast-head strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.get-home-broadcast-head span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.get-home-broadcast .support-activity-feed {
  margin-bottom: 0;
}

.get-home-support {
  margin-bottom: 14px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.07);
}

.get-home-support-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.get-home-support-head strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.get-home-support-head span {
  color: var(--muted);
  font-size: 10px;
}

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

.get-home-support-link {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 9px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 7px;
  color: #173b2d;
  text-align: left;
  background: #f7faf8;
  border: 1px solid #dbe9e1;
  border-radius: 12px;
  box-sizing: border-box;
}

.get-home-support-link__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #128c7e;
  border-radius: 10px;
}

.get-home-support-link.is-telegram .get-home-support-link__icon {
  background: #229ed9;
}

.get-home-support-link__icon svg {
  width: 18px;
  height: 18px;
}

.get-home-support-link__copy {
  min-width: 0;
}

.get-home-support-link__copy strong,
.get-home-support-link__copy small {
  display: block;
}

.get-home-support-link__copy strong {
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}

.get-home-support-link__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.get-home-support-link__action {
  color: var(--muted);
}

.get-home-support-link__action svg {
  width: 14px;
  height: 14px;
}

.get-home-support-link:focus-visible {
  outline: 3px solid rgba(20, 124, 88, 0.24);
  outline-offset: 2px;
}

.get-home-support-link.is-disabled,
.get-home-support-link.is-disabled:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.get-home-vip-section {
  margin-bottom: 14px;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(11, 61, 46, 0.08);
}

.get-home-vip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.get-home-vip-head > div {
  min-width: 0;
}

.get-home-vip-head span {
  display: block;
  color: #a77417;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.get-home-vip-head h2 {
  margin: 2px 0 0;
  color: var(--primary-dark);
  font-size: 17px;
}

.get-home-vip-head a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.get-home-vip-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.get-home-reward-guides {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.get-home-reward-guides .profit-reference-image {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(11, 61, 46, 0.08);
}

.get-home-reward-guides .profit-reference-image img {
  width: 100%;
  height: auto;
  background: #ffffff;
}

.get-home-reward-guides .profit-reference-image > span {
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
}

.get-home-vip-card {
  width: 100%;
  min-width: 0;
  min-height: 108px;
  padding: 12px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(88px, auto);
  align-items: center;
  gap: 10px;
  color: #173b2d;
  text-align: left;
  background: #ffffff;
  border: 1px solid #dbe9e1;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(18, 70, 49, 0.065);
}

button.get-home-vip-card {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

button.get-home-vip-card:active {
  transform: translateY(1px);
}

button.get-home-vip-card:focus-visible {
  outline: 3px solid rgba(206, 161, 54, 0.52);
  outline-offset: 2px;
}

.get-home-vip-card.is-current {
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 197, 111, 0.24), transparent 48%),
    linear-gradient(145deg, #0b3d2e, #176b46);
  border-color: rgba(206, 161, 54, 0.58);
}

.get-home-vip-card.is-owned {
  background: #f3f8f5;
}

.get-home-vip-card.is-next,
.get-home-vip-card.is-available {
  background: linear-gradient(135deg, #fffdf5, #f7f1dc);
  border-color: #d7b75c;
  box-shadow: 0 10px 24px rgba(145, 105, 18, 0.14);
}

button.get-home-vip-card:disabled {
  cursor: wait;
  opacity: 0.72;
}

.get-home-vip-card.is-locked {
  color: #718078;
  background: #f5f7f6;
  box-shadow: none;
}

.get-home-vip-card__rank {
  display: grid;
  place-items: center;
}

.vip-product-icon {
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.get-home-vip-card__rank .vip-product-icon,
.get-home-vip-card__rank .product-task-thumb {
  width: 42px;
  height: 42px;
}

.get-home-vip-card__rank .product-task-thumb {
  background: #fffdf7;
  border-color: rgba(206, 161, 54, 0.52);
  border-radius: 13px;
  box-shadow: 0 4px 10px rgba(10, 54, 40, 0.12);
}

.get-home-vip-card__rank .vip-rank-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.get-home-vip-card__rank .vip-rank-icon svg {
  width: 22px;
  height: 22px;
}

.get-home-vip-card__body,
.get-home-vip-card__title,
.get-home-vip-card__price {
  min-width: 0;
}

.get-home-vip-card__body {
  display: grid;
  gap: 7px;
}

.get-home-vip-card__title {
  display: grid;
  gap: 2px;
}

.get-home-vip-card__title strong {
  font-size: 17px;
  line-height: 1.1;
}

.get-home-vip-card__title em,
.get-home-vip-card__benefits,
.get-home-vip-card__price small {
  color: currentColor;
  opacity: 0.72;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.get-home-vip-card__benefits {
  line-height: 1.35;
}

.get-home-vip-card__price {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.get-home-vip-card__price strong {
  max-width: 100%;
  white-space: nowrap;
  color: #a16f12;
  font-size: clamp(11px, 3.4vw, 15px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.get-home-vip-card.is-current .get-home-vip-card__price strong {
  color: #f8dfa0;
}

.get-home-vip-card__price svg {
  width: 18px;
  height: 18px;
}

.get-home-vip-card[aria-busy="true"] .get-home-vip-card__price svg {
  animation: spin 0.9s linear infinite;
}

.recharge-channel-vip-note {
  display: block;
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 359px) {
  .get-home-vip-card {
    grid-template-columns: 38px minmax(0, 1fr) minmax(80px, auto);
    gap: 8px;
    padding: 10px;
  }

  .get-home-vip-card__rank .vip-rank-icon {
    width: 38px;
    height: 38px;
  }

  .get-home-vip-card__rank .vip-product-icon,
  .get-home-vip-card__rank .product-task-thumb {
    width: 38px;
    height: 38px;
  }

  .get-home-vip-card__price strong {
    font-size: 11px;
  }
}

.section,
.form-card,
.row,
.record,
.task,
.tier,
.member,
.message,
.help-item,
.income-detail-row,
.helpbook-row,
.points-exchange-row,
.wealth-plan-card,
.stat,
.quick-link {
  background: #ffffff;
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(25, 58, 40, 0.055);
}

.section-title h2,
.row-main strong,
.record strong,
.task h3,
.tier h3,
.member h3,
.message h3 {
  color: var(--primary-dark);
}

.section-title a,
.section-title button,
.row-action,
.record .income,
.income-detail-row b {
  color: var(--primary);
}

.get-media-banner,
.get-company-hero,
.get-home-hero,
.charity-hero {
  overflow: hidden;
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.get-media-banner > div,
.get-company-hero > div {
  background: linear-gradient(90deg, rgba(8, 43, 29, 0.96), rgba(23, 107, 70, 0.76));
}

.get-media-banner span,
.get-hero-kicker,
.get-company-hero span {
  color: #e3c36f;
}

.get-media-banner strong,
.get-company-hero h2 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.get-media-banner p,
.get-company-hero p {
  color: rgba(255, 255, 255, 0.84);
}

.get-user-head {
  background:
    linear-gradient(135deg, rgba(11, 61, 46, 0.97), rgba(23, 107, 70, 0.82)),
    url("/assets/gtc/agri-trade-hero-v1.jpg") center / cover no-repeat;
}

.input-wrap,
.select-wrap,
.bank-select-button,
.bank-picker-search,
.inbox-input-box {
  color: var(--ink);
  background: #fffefa;
  border-color: #d3dbd4;
}

.input-wrap:focus-within,
.select-wrap:focus-within,
.bank-select-button:focus-visible,
.bank-picker-search:focus-within,
.inbox-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 107, 70, 0.13);
}

.input-wrap input,
.select-wrap select,
.inbox-reply-form textarea {
  font-size: 16px;
}

.notice {
  color: #654e17;
  background: #fbf5e5;
  border-color: #e8d39d;
}

.tabbar,
.team-level-tabs {
  background: #edf1ec;
  border-color: var(--line);
}

.tabbar button.active,
.team-level-tabs button.active {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: #c9d9ce;
  box-shadow: 0 5px 14px rgba(25, 58, 40, 0.08);
}

.row-icon,
.user-menu-icon,
.support-contact-icon,
.first-withdraw-mark,
.recharge-channel-mark,
.quick-link > svg {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: #cce0d2;
}

.product-task-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(145deg, #176b46, #0b3d2e);
  border: 1px solid rgba(196, 154, 58, 0.5);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(11, 61, 46, 0.17);
}

.product-task-thumb b {
  font-size: 29px;
  line-height: 1;
}

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

.product-task-thumb svg {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 16px;
  height: 16px;
  padding: 3px;
  color: var(--primary-dark);
  background: #f2d98e;
  border-radius: 7px;
}

.product-task-thumb.is-cocoa {
  background: linear-gradient(145deg, #865339, #4b2b1e);
}

.product-task-thumb.is-flower,
.product-task-thumb.is-spice {
  background: linear-gradient(145deg, #8b3e43, #5a282c);
}

.product-task-thumb.is-grain,
.product-task-thumb.is-oilseed {
  background: linear-gradient(145deg, #927228, #5f4718);
}

.get-task-card {
  border-left: 3px solid var(--accent);
}

.get-task-card.locked {
  border-left-color: #c5cbc6;
}

.vip-info-card h3,
.vip-table-head,
.task-income-head,
.wealth-rate-row.head {
  color: #ffffff;
  background: linear-gradient(135deg, #0b3d2e, #176b46 72%, #9a7324);
  border-color: var(--primary);
}

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

.gtc-company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 14px 16px;
}

.gtc-company-facts > div {
  display: grid;
  gap: 6px;
  min-height: 90px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(25, 58, 40, 0.06);
}

.gtc-company-facts span {
  color: var(--muted);
  font-size: 11px;
}

.gtc-company-facts strong {
  align-self: end;
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.35;
}

.bottom-nav {
  width: min(100%, 480px);
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top-color: var(--line);
  box-shadow: 0 -9px 25px rgba(25, 58, 40, 0.09);
}

.bottom-nav a {
  min-width: 0;
  min-height: 54px;
  color: #6b756e;
}

.bottom-nav a svg {
  color: #68736b;
  background: #f0f3ef;
  border-radius: 10px;
}

.bottom-nav a.active {
  color: var(--primary-dark);
  background: transparent;
}

.bottom-nav a.active svg {
  color: #ffffff;
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 7px 16px rgba(11, 61, 46, 0.22);
}

.inbox-panel,
.activity-popup-card,
.first-withdraw-card,
.recharge-channel-card,
.bank-picker-card,
.invite-qr-card,
.certificate-preview-card {
  background: #ffffff;
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(11, 61, 46, 0.22);
}

.floating-inbox-button {
  background: #ffffff !important;
  border: 2px solid var(--accent) !important;
  box-shadow: 0 12px 26px rgba(11, 61, 46, 0.2);
}

@media (max-width: 380px) {
  .bottom-nav a {
    font-size: 10px;
  }
}

/* Mobile ergonomics and narrow-shell desktop fallback. */
html {
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

input,
select,
textarea {
  font-size: 16px !important;
  scroll-margin-block: 90px;
}

.register-auth-panel .input-wrap,
.register-auth-panel .primary-btn,
.register-auth-screen .switch-line,
.tabbar button,
.task.get-task-card .task-card-actions button,
.vip-upgrade-btn,
.inbox-send-button {
  min-height: 44px;
}

.bank-picker-close,
.certificate-preview-close,
.invite-qr-close,
.flash-drop-close,
.app-download-close,
.first-withdraw-close,
.recharge-channel-close,
.activity-popup-close,
.new-member-reward-close,
.treasure-pot-modal-close,
.turnover-exchange-close,
.sunshine-purchase-dialog-head button,
.inbox-panel-head button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
}

.certificate-preview-close,
.invite-qr-close {
  flex: 0 0 44px;
}

.inbox-panel {
  max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - 16px);
}

@supports selector(.app-shell:has(input:focus)) {
  .app-shell:has(input:focus, textarea:focus, select:focus) .bottom-nav {
    transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    pointer-events: none;
  }

  .app-shell:has(input:focus, textarea:focus, select:focus) .floating-inbox-button {
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 900px) {
  .screen {
    padding: 12px 14px calc(92px + env(safe-area-inset-bottom));
  }

  .topbar {
    margin: -12px -14px 14px;
    padding-inline: 14px;
  }

  .get-account-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .get-task-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* GTC unified palette v2 -------------------------------------------------
   One final colour layer keeps the legacy layout intact while making every
   active surface feel like one agricultural-trading product. */
:root {
  color-scheme: light;
  --bg: #f4f0e6;
  --surface: #fffdf8;
  --surface-2: #f8f4e9;
  --ink: #10271d;
  --muted: #5e6e65;
  --line: #d8ddd5;
  --primary: #146b48;
  --primary-dark: #0a3d2b;
  --primary-deep: #06281d;
  --primary-soft: #e5f0ea;
  --accent: #d6aa3b;
  --accent-dark: #7b5b16;
  --accent-soft: #f7edcf;
  --cocoa: #6b422d;
  --success: #21744d;
  --success-soft: #e7f3eb;
  --warning: #8a641d;
  --warning-soft: #fff4d7;
  --danger: #b33f39;
  --danger-dark: #7f2925;
  --danger-soft: #fbecea;
  --disabled-bg: #edf0ec;
  --disabled-ink: #78827b;
  --control-border: #778a7f;
  --overlay: rgba(5, 30, 22, 0.62);
  --focus-ring: #8a5a00;
  --focus-dark: #f6d675;
  --shadow: 0 12px 30px rgba(6, 40, 29, 0.1);
  --shadow-strong: 0 22px 52px rgba(6, 40, 29, 0.18);
}

html,
body {
  color: var(--ink);
  background: var(--bg);
}

body {
  background-image:
    radial-gradient(circle at 8% 0%, rgba(214, 170, 59, 0.12), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(20, 107, 72, 0.11), transparent 32%),
    linear-gradient(180deg, #f8f5ec 0%, var(--bg) 54%, #ede8dc 100%);
}

::selection {
  color: #ffffff;
  background: var(--primary);
}

a {
  color: var(--primary);
}

.app-shell {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 244, 233, 0.98));
  box-shadow: 0 0 0 1px rgba(10, 61, 43, 0.06), 0 26px 80px rgba(6, 40, 29, 0.13);
}

.screen {
  color: var(--ink);
  background: transparent;
}

.topbar {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(10, 61, 43, 0.1);
  box-shadow: 0 8px 22px rgba(6, 40, 29, 0.06);
}

.topbar h1,
.topbar strong,
.section-title h2 {
  color: var(--primary-dark);
}

.topbar button,
.topbar a,
.icon-btn {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.18);
}

.bottom-nav {
  background: rgba(255, 253, 248, 0.97);
  border-color: rgba(10, 61, 43, 0.12);
  box-shadow: 0 -12px 28px rgba(6, 40, 29, 0.09);
}

.bottom-nav a {
  color: var(--muted);
}

.bottom-nav a svg {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.bottom-nav a.active {
  color: var(--primary-dark);
}

.bottom-nav a.active svg {
  color: #ffffff;
  background: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(10, 61, 43, 0.25);
}

/* Shared surfaces and typography. */
.section,
.form-card,
.row,
.record,
.stat,
.quick-link,
.vip-stage,
.vip-info-card,
.vip-intro-card,
.vip-level-card,
.vip-income-grid > div,
.task,
.get-task-card,
.income-detail-row,
.points-rule-card,
.points-exchange-row,
.wealth-plan-card,
.wealth-detail,
.wealth-order-row,
.job-application-page,
.job-intro-copy,
.job-action-panel,
.job-progress-panel,
.job-salary-history,
.job-empty-state,
.job-position-card,
.team-milestone-section,
.team-milestone-card,
.company-certificate-gallery,
.company-certificate-card,
.activity-config-card,
.lucky-section,
.support-contact-card {
  color: var(--ink);
  background-color: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.section-title a,
.section-title button,
.row-action,
.row-main strong,
.income-detail-row b,
.vip-info-card h3,
.points-rule-card h3,
.wealth-detail-title,
.company-certificate-card strong {
  color: var(--primary-dark);
}

.row-main span,
.section-subtitle,
.vip-intro-card p,
.vip-card-note,
.points-rule-card p,
.company-certificate-card span,
.empty,
.muted {
  color: var(--muted);
}

/* Buttons and form controls. Gold always carries dark text for contrast. */
.primary-btn,
.vip-upgrade-btn,
.points-exchange-row button:not(:disabled),
.wealth-order-action,
.inbox-send-button,
.activity-popup-primary,
.lucky-prize-confirm,
.team-milestone-claim,
.sunshine-purchase-submit,
.turnover-exchange-submit,
.job-promote-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary-dark);
  box-shadow: 0 9px 20px rgba(10, 61, 43, 0.22);
}

.primary-btn:hover:not(:disabled),
.vip-upgrade-btn:hover:not(:disabled),
.points-exchange-row button:hover:not(:disabled),
.wealth-order-action:hover:not(:disabled),
.inbox-send-button:hover:not(:disabled) {
  color: #ffffff;
  background: linear-gradient(135deg, #187a51, var(--primary-dark));
}

.secondary-btn,
.ghost-btn,
.activity-page-actions button,
.invite-strip button,
.vip-pager a,
.pagination a,
.pagination button,
.team-milestone-refresh {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.22);
  box-shadow: none;
}

.secondary-btn:hover:not(:disabled),
.ghost-btn:hover:not(:disabled),
.activity-page-actions button:hover:not(:disabled),
.invite-strip button:hover:not(:disabled) {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: rgba(123, 91, 22, 0.3);
}

.danger-btn,
.is-danger-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--danger), var(--danger-dark));
  border-color: var(--danger-dark);
}

button:disabled,
.primary-btn:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled,
.vip-upgrade-btn:disabled,
.points-exchange-row button:disabled {
  color: var(--disabled-ink);
  background: var(--disabled-bg);
  border-color: #d8ded9;
  box-shadow: none;
}

input,
select,
textarea,
.bank-select-button,
.bank-picker-search,
.inbox-input-box,
.amount-input,
.sunshine-amount-input,
.turnover-exchange-count input,
.turnover-exchange-count button {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--control-border);
}

input::placeholder,
textarea::placeholder {
  color: #819087;
}

input:focus,
select:focus,
textarea:focus,
.bank-select-button:focus-visible,
.bank-picker-search:focus-within,
.inbox-input-box:focus-within,
.sunshine-amount-input:focus-within {
  border-color: var(--accent);
  outline: 3px solid var(--focus-ring);
  box-shadow: 0 0 0 1px var(--primary-dark);
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.tabbar,
.team-level-tabs {
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.15);
}

.tabbar button,
.team-level-tabs button {
  color: var(--muted);
  background: transparent;
}

.tabbar button.active,
.team-level-tabs button.active {
  color: #ffffff;
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 7px 16px rgba(10, 61, 43, 0.2);
}

.badge,
.chip,
.pill {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.18);
}

/* Branded hero surfaces. */
.hero-band,
.points-hero,
.income-level-hero,
.slot-game-hero,
.get-user-head,
.job-entry-card,
.job-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 0%, rgba(214, 170, 59, 0.3), transparent 38%),
    linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: rgba(214, 170, 59, 0.34);
  box-shadow: 0 18px 38px rgba(6, 40, 29, 0.22);
}

.hero-band span,
.hero-band p,
.points-hero p,
.income-level-hero p,
.slot-game-copy p,
.job-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-band strong,
.hero-band h2,
.points-hero strong,
.income-level-hero h2,
.slot-game-copy h2,
.job-hero h2 {
  color: #ffffff;
}

.hero-actions a,
.hero-actions button {
  color: var(--primary-dark);
  background: #fffdf8;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-actions a:nth-child(2),
.hero-actions button:nth-child(2) {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* Home account, live feed, support and VIP catalogue. */
.get-account-panel,
.get-account-panel-minimal {
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 170, 59, 0.22), transparent 42%),
    linear-gradient(145deg, var(--primary-deep), var(--primary));
  border-color: rgba(214, 170, 59, 0.34);
  box-shadow: 0 17px 36px rgba(6, 40, 29, 0.24);
}

.get-account-panel-minimal .get-home-account-identity span,
.get-account-panel-minimal .get-account-balance-grid span,
.get-account-panel-minimal .get-home-invite-link span {
  color: rgba(255, 255, 255, 0.72);
}

.get-account-panel-minimal .get-home-account-identity strong,
.get-account-panel-minimal .get-account-balance-grid strong,
.get-account-panel-minimal .get-home-invite-link code {
  color: #ffffff;
}

.get-home-account-logo {
  background: #ffffff;
  border-color: rgba(214, 170, 59, 0.65);
  box-shadow: 0 7px 18px rgba(6, 40, 29, 0.25);
}

.get-account-panel-minimal .get-home-account-level,
.get-account-panel-minimal .get-home-invite-link button {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.get-account-balance-grid > div,
.get-account-panel-minimal .get-home-invite-link {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.get-account-panel-minimal .get-action-row a {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.get-account-panel-minimal .get-action-row .get-account-action-withdraw {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.get-home-broadcast,
.get-home-support,
.get-home-vip-section,
.get-home-reward-guides {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.get-home-broadcast-head strong,
.get-home-support-head strong,
.get-home-vip-head h2,
.get-home-vip-head a {
  color: var(--primary-dark);
}

.support-activity-feed {
  color: var(--ink);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.14);
}

.support-activity-icon {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.get-home-support-link {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--line);
}

.get-home-support-link:hover:not(.is-disabled) {
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(6, 40, 29, 0.12);
}

.get-home-support-link__icon,
.get-home-support-link.is-telegram .get-home-support-link__icon {
  color: #ffffff;
  background: var(--primary);
}

.get-home-support-link__copy strong,
.get-home-support-link__action {
  color: var(--primary-dark);
}

.get-home-support-link__copy small {
  color: var(--muted);
}

.get-home-support-link.is-disabled {
  color: var(--disabled-ink);
  background: var(--disabled-bg);
}

.get-home-vip-card {
  color: var(--ink);
  background: #fffdf8;
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(6, 40, 29, 0.09);
}

.get-home-vip-card.is-current {
  background: linear-gradient(135deg, var(--primary-soft), #fffdf8);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(20, 107, 72, 0.16), var(--shadow);
}

.get-home-vip-card.is-available,
.get-home-vip-card.is-next {
  background: linear-gradient(135deg, #fffdf8, var(--accent-soft));
  border-color: var(--accent);
}

.get-home-vip-card.is-owned,
.get-home-vip-card.is-locked {
  color: var(--disabled-ink);
  background: var(--disabled-bg);
  border-color: #d9ded9;
}

.get-home-vip-card__title strong,
.get-home-vip-card__price strong,
.get-home-vip-card.is-current .get-home-vip-card__price strong {
  color: var(--primary-dark);
}

.get-home-vip-card__title em,
.get-home-vip-card__benefits,
.get-home-vip-card__price small {
  color: var(--muted);
}

/* My and wallet. */
.get-user-screen {
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 170, 59, 0.14), transparent 30%),
    linear-gradient(180deg, #f8f5ec, var(--bg));
}

.get-user-screen .user-asset-strip {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.get-user-screen .user-asset-strip strong,
.get-user-screen .user-wallet-link {
  color: var(--primary-dark);
}

.get-user-screen .user-asset-strip span {
  color: var(--muted);
}

.get-user-screen .user-dashboard-stats .user-stat-tile {
  color: #ffffff;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-color: rgba(214, 170, 59, 0.26);
  box-shadow: 0 11px 24px rgba(6, 40, 29, 0.16);
}

.get-user-screen .user-dashboard-stats .user-stat-tile span {
  color: rgba(255, 255, 255, 0.78);
}

.get-user-screen .user-dashboard-stats .user-stat-tile strong {
  color: #ffffff;
}

.get-user-screen .user-menu-tile {
  color: var(--primary-dark);
  background: transparent;
}

.get-user-screen .user-menu-tile:nth-child(n) .user-menu-icon {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.2);
  box-shadow: 0 7px 16px rgba(6, 40, 29, 0.08);
}

.get-user-screen .user-menu-tile:hover .user-menu-icon,
.get-user-screen .user-menu-tile:focus-visible .user-menu-icon {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.user-balance-block {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: rgba(214, 170, 59, 0.32);
}

.user-balance-block span,
.user-balance-block strong {
  color: #ffffff;
}

.get-user-screen .user-balance-block strong {
  color: #ffffff;
}

.user-balance-block button {
  color: var(--primary-dark);
  background: #ffffff;
}

.user-asset-strip.frozen {
  background: var(--accent-soft);
  border-color: rgba(123, 91, 22, 0.2);
}

.income-detail-row,
.wealth-order-row {
  background: var(--surface);
  border-color: var(--line);
}

/* Outbound tasks, VIP and team. */
.get-task-card,
.task-card-body,
.task-card-summary {
  background: var(--surface);
  border-color: var(--line);
}

.get-task-card:not(.locked) {
  box-shadow: var(--shadow);
}

.get-task-card.locked {
  color: var(--disabled-ink);
  background: var(--disabled-bg);
}

.task-card-actions button:not(:disabled),
.task-receive-button:not(:disabled),
.task-submit-button:not(:disabled) {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary-dark);
}

.task-card-summary strong,
.task-income-row strong,
.income-level-row strong,
.team-money-row strong {
  color: var(--primary-dark);
}

.vip-stage,
.vip-feature-card {
  background:
    radial-gradient(circle at 95% 4%, rgba(214, 170, 59, 0.22), transparent 35%),
    linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: rgba(214, 170, 59, 0.35);
  box-shadow: var(--shadow-strong);
}

.vip-stage,
.vip-stage span,
.vip-stage strong,
.vip-feature-main,
.vip-feature-main span,
.vip-feature-main strong,
.vip-feature-main em,
.vip-feature-price,
.vip-feature-price strong,
.vip-feature-price span {
  color: #ffffff;
}

.vip-feature-badge,
.vip-owned-label {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.vip-level-card {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.vip-level-card.active,
.row-button.is-selected,
.wealth-plan-card.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(20, 107, 72, 0.16);
}

.vip-level-card.no-access,
.wealth-plan-card:disabled {
  color: var(--disabled-ink);
  background: var(--disabled-bg);
}

.vip-table,
.task-income-table,
.wealth-rate-table {
  border-color: var(--line);
}

.vip-table-head,
.task-income-head,
.wealth-rate-row.head {
  color: #ffffff;
  background: var(--primary-dark);
}

.vip-table-row,
.task-income-row,
.wealth-rate-row {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.vip-table-row:nth-child(odd),
.task-income-row:nth-child(odd),
.wealth-rate-row:nth-child(odd) {
  background: var(--surface-2);
}

.team-milestone-title h2,
.team-milestone-card-head strong,
.team-milestone-summary strong,
.team-milestone-reward strong {
  color: var(--primary-dark);
}

.team-milestone-vip-notice,
.team-milestone-card.is-claimable {
  background: var(--accent-soft);
  border-color: rgba(123, 91, 22, 0.28);
}

.team-milestone-card.is-claimed {
  background: var(--success-soft);
  border-color: rgba(33, 116, 77, 0.25);
}

.team-milestone-card.is-locked {
  background: var(--disabled-bg);
  border-color: #d9ded9;
}

.team-milestone-progress,
.job-progress-track {
  background: #dfe6e1;
}

.team-milestone-progress i,
.job-progress-track i {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Recharge, withdrawal and banking. */
.amount-chip,
.sunshine-quick-amounts button {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.2);
}

.amount-chip.active,
.amount-chip.is-selected,
.sunshine-quick-amounts button.active,
.bank-select-button.is-selected {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(214, 170, 59, 0.18);
}

.recharge-channel-vip-note,
.first-withdraw-notice,
.sunshine-purchase-rule,
.sunshine-fund-notice {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: rgba(138, 100, 29, 0.23);
}

.recharge-channel-option,
.bank-picker-option,
.first-withdraw-support-btn {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.recharge-channel-option:hover:not(:disabled),
.bank-picker-option:hover,
.first-withdraw-support-btn:hover:not(:disabled) {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.recharge-channel-mark,
.first-withdraw-mark,
.row-icon,
.quick-link > svg {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.recharge-channel-option:disabled,
.recharge-channel-option.is-disabled {
  color: var(--disabled-ink);
  background: var(--disabled-bg);
}

.recharge-channel-empty,
.bank-picker-empty {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--line);
}

/* Games and turnover exchange. */
.slot-game-status {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: rgba(214, 170, 59, 0.3);
}

.slot-game-status.is-ready {
  color: var(--primary-dark);
  background: var(--success-soft);
}

.slot-game-rate-card,
.slot-game-rate-card > div,
.slot-game-vip-lock,
.slot-game-safety {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.slot-game-rate-card span,
.slot-game-rate-card small {
  color: var(--muted);
}

.slot-game-rate-card strong {
  color: var(--primary-dark);
}

.slot-game-launch {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary-dark);
}

.turnover-exchange-card {
  color: var(--ink);
  background: var(--surface-2);
  border-color: rgba(214, 170, 59, 0.3);
  box-shadow: var(--shadow-strong);
}

.turnover-exchange-heading > span,
.turnover-exchange-vip-badge {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent-dark);
}

.turnover-exchange-heading small,
.turnover-exchange-selected > div > small,
.turnover-exchange-option-copy em {
  color: var(--accent-dark);
}

.turnover-exchange-progress span.active,
.turnover-exchange-option-state,
.turnover-exchange-summary strong,
.turnover-exchange-selected > div > span {
  color: var(--primary-dark);
}

.turnover-exchange-progress span.active b {
  color: #ffffff;
  background: var(--primary-dark);
}

.turnover-exchange-progress span.done b {
  color: var(--ink);
  background: var(--accent);
}

.turnover-exchange-summary > div,
.turnover-exchange-selected > div,
.turnover-exchange-preview span,
.turnover-exchange-option {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.turnover-exchange-option:hover:not(:disabled) {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.turnover-exchange-option.is-insufficient,
.turnover-exchange-rate {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: rgba(138, 100, 29, 0.24);
}

.turnover-exchange-option-icon,
.turnover-exchange-option-game-coin .turnover-exchange-option-icon,
.turnover-exchange-option-cash .turnover-exchange-option-icon {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

/* Points, rewards, jobs, savings and long-tail cards. */
.points-hero > span,
.job-entry-card > span,
.job-hero > span {
  color: var(--ink);
  background: var(--accent);
}

.points-exchange-row button:not(:disabled) {
  color: #ffffff;
}

.wealth-plan-card em,
.wealth-detail-title,
.sunshine-plan-return strong,
.sunshine-modal-summary .sunshine-modal-profit,
.sunshine-purchase-preview .is-profit,
.sunshine-record-grid .is-profit {
  color: var(--success);
}

.job-status-grid > div,
.job-requirements > div,
.job-salary-row,
.sunshine-purchase-preview > div,
.sunshine-record-item {
  background: var(--surface-2);
  border-color: var(--line);
}

.job-requirements > div.met {
  color: var(--success);
  background: var(--success-soft);
  border-color: rgba(33, 116, 77, 0.24);
}

.lucky-section,
.lucky-prize-dialog,
.lucky-result,
.lucky-winner-feed {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.lucky-wheel-center {
  color: var(--ink);
  background: radial-gradient(circle, #f8df91, var(--accent));
  border-color: var(--accent-dark);
  box-shadow: 0 8px 22px rgba(123, 91, 22, 0.3);
}

.lucky-wheel-pointer {
  color: var(--accent);
  filter: drop-shadow(0 4px 6px rgba(6, 40, 29, 0.28));
}

.lucky-prize-amount,
.lucky-winner-spark {
  color: var(--accent-dark);
}

/* Company imagery. */
.company-certificate-head > span,
.company-certificate-zoom {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.company-certificate-image-frame {
  background: var(--surface-2);
  border-color: var(--line);
}

.company-certificate-card:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(6, 40, 29, 0.14);
}

/* All overlays and dialogs share one visual language. */
.inbox-layer,
.activity-popup-layer,
.first-withdraw-layer,
.recharge-channel-layer,
.bank-picker-layer,
.invite-qr-layer,
.certificate-preview-layer,
.new-member-reward-layer,
.lucky-prize-layer,
.turnover-exchange-layer,
.sunshine-purchase-modal {
  background: var(--overlay);
}

.inbox-panel,
.activity-popup-card,
.first-withdraw-card,
.recharge-channel-card,
.bank-picker-card,
.invite-qr-card,
.certificate-preview-card,
.certificate-preview-panel,
.new-member-reward-card,
.lucky-prize-dialog,
.sunshine-purchase-dialog {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-strong);
}

.inbox-panel-head,
.bank-picker-head,
.certificate-preview-top,
.sunshine-purchase-dialog-head {
  color: var(--primary-dark);
  background: var(--surface-2);
  border-color: var(--line);
}

.bank-picker-close,
.certificate-preview-close,
.invite-qr-close,
.flash-drop-close,
.app-download-close,
.first-withdraw-close,
.recharge-channel-close,
.activity-popup-close,
.new-member-reward-close,
.treasure-pot-modal-close,
.turnover-exchange-close,
.sunshine-purchase-dialog-head button,
.inbox-panel-head button {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.18);
}

.bank-picker-close:hover,
.certificate-preview-close:hover,
.invite-qr-close:hover,
.first-withdraw-close:hover,
.recharge-channel-close:hover,
.activity-popup-close:hover,
.new-member-reward-close:hover,
.turnover-exchange-close:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

.inbox-tabs button.active,
.inbox-item.is-active,
.inbox-notice-card.is-unread {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: var(--primary);
}

.floating-inbox-button {
  color: var(--primary-dark) !important;
  background: #ffffff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 12px 26px rgba(6, 40, 29, 0.2) !important;
}

/* Status feedback remains semantic rather than painting every state green. */
.success,
.is-success,
.notice.success,
.toast.success {
  color: var(--success);
  background: var(--success-soft);
  border-color: rgba(33, 116, 77, 0.24);
}

.warning,
.is-warning,
.notice.warning {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: rgba(138, 100, 29, 0.24);
}

.error,
.is-error,
.notice.error,
.toast.error,
.slot-game-error,
.team-milestone-error {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: rgba(179, 63, 57, 0.24);
}

.toast {
  color: #ffffff;
  background: var(--primary-deep);
  border: 1px solid rgba(214, 170, 59, 0.35);
  box-shadow: var(--shadow-strong);
}

@media (prefers-reduced-motion: reduce) {
  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .get-home-vip-card,
  .company-certificate-card,
  .user-menu-icon {
    transition: none !important;
  }
}

/* Remaining route-specific colour hooks. */
.auth-screen,
.register-auth-screen {
  color: var(--ink);
  background-color: var(--bg);
}

.auth-panel,
.registration-bonus-promo {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.97);
  border-color: var(--line);
  box-shadow: var(--shadow-strong);
}

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

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

.register-auth-panel .input-wrap,
.input-wrap,
.select-wrap,
.get-form-card {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--control-border);
}

.input-wrap svg,
.select-wrap svg {
  color: var(--primary-dark);
}

.switch-line,
.switch-line button,
.register-auth-screen .switch-line,
.register-auth-screen .switch-line button {
  color: var(--primary-dark);
}

.notice {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.22);
}

.notice svg {
  color: currentColor;
}

.get-media-banner,
.get-company-hero,
.get-home-hero,
.get-task-banner,
.get-vip-banner,
.get-team-banner {
  color: #ffffff;
  background-color: var(--primary-dark);
  border-color: rgba(214, 170, 59, 0.32);
  box-shadow: var(--shadow-strong);
}

.get-media-banner > div,
.get-company-hero > div,
.get-home-hero > div,
.get-task-banner > div,
.get-vip-banner > div,
.get-team-banner > div {
  background: linear-gradient(90deg, rgba(6, 40, 29, 0.95), rgba(6, 40, 29, 0.34));
}

.get-media-banner span,
.get-hero-kicker,
.get-company-hero span,
.get-media-banner strong,
.get-company-hero h2,
.get-media-banner p,
.get-company-hero p {
  color: #ffffff;
}

.get-stats-grid > div,
.stats-grid > div,
.team-money-grid > div,
.team-money-row,
.team-member-card,
.get-copy-box,
.copy-box {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.get-stats-grid strong,
.stats-grid strong,
.team-money-grid b,
.team-money-row strong,
.team-member-card strong,
.copy-box code {
  color: var(--primary-dark);
}

.copy-box button,
.invite-code-button,
.stat-button {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(20, 107, 72, 0.2);
}

.stat-button.active,
.copy-box button:hover,
.invite-code-button:hover {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.quick-link {
  color: var(--primary-dark);
  background: var(--surface);
  border-color: var(--line);
}

.quick-link:hover,
.quick-link:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.home-game-turnover-strip {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: rgba(214, 170, 59, 0.32);
}

.home-game-turnover-stat span {
  color: rgba(255, 255, 255, 0.76);
}

.home-game-turnover-stat strong {
  color: #ffffff;
}

.home-game-turnover-redeem {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.vip-rank-trial,
.vip-rank-1,
.vip-rank-4,
.vip-rank-7,
.vip-rank-10 {
  --rank-a: #0a3d2b;
  --rank-b: #18764d;
  --rank-fg: #ffffff;
}

.vip-rank-2,
.vip-rank-5,
.vip-rank-8,
.vip-rank-11 {
  --rank-a: #7b5b16;
  --rank-b: #d6aa3b;
  --rank-fg: #10271d;
}

.vip-rank-3,
.vip-rank-6,
.vip-rank-9,
.vip-rank-12 {
  --rank-a: #6b422d;
  --rank-b: #b07742;
  --rank-fg: #ffffff;
}

.invite-qr-panel,
.flash-drop-card,
.app-download-card,
.new-member-reward-card,
.treasure-pot-reward-dialog {
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 170, 59, 0.16), transparent 36%),
    var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-strong);
}

.invite-qr-panel h2,
.flash-drop-card h2,
.app-download-card h2,
.new-member-reward-card h2 {
  color: var(--primary-dark);
}

.invite-qr-panel p,
.flash-drop-card p,
.app-download-card p,
.new-member-reward-card p {
  color: var(--muted);
}

.inbox-brand > span,
.inbox-compose-button {
  color: #ffffff !important;
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.inbox-compose-button:hover,
.inbox-compose-button:focus-visible {
  color: var(--ink) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.treasure-pot-card {
  background-color: var(--primary-deep);
  border-color: rgba(214, 170, 59, 0.36);
  box-shadow: var(--shadow-strong);
}

.treasure-pot-card-overlay {
  background:
    linear-gradient(90deg, rgba(6, 40, 29, 0.1) 0%, rgba(6, 40, 29, 0.18) 44%, rgba(6, 40, 29, 0.78) 74%, rgba(6, 40, 29, 0.94) 100%),
    linear-gradient(180deg, rgba(6, 40, 29, 0.22), transparent 42%, rgba(6, 40, 29, 0.94));
}

.treasure-pot-pool,
.treasure-pot-countdown-wrap,
.treasure-pot-details,
.treasure-pot-round,
.treasure-pot-feed {
  background: rgba(6, 40, 29, 0.76);
  border-color: rgba(214, 170, 59, 0.25);
}

.treasure-pot-round-live,
.treasure-pot-countdown-wrap strong,
.treasure-pot-detail strong,
.treasure-pot-feed svg,
.treasure-pot-reward-eyebrow {
  color: #f6d675;
}

.treasure-pot-round.is-current,
.treasure-pot-round.is-claimed {
  background: rgba(20, 107, 72, 0.9);
  border-color: var(--accent);
}

.treasure-pot-claim,
.treasure-pot-modal-share {
  color: var(--ink);
  background: linear-gradient(180deg, #f6d675, var(--accent));
  border-color: var(--accent-dark);
}

.treasure-pot-share-resume {
  color: #ffffff;
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.24);
}

.treasure-pot-reward-dialog {
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0, rgba(214, 170, 59, 0.25), transparent 38%),
    linear-gradient(150deg, var(--primary-deep), var(--primary));
  border-color: rgba(214, 170, 59, 0.35);
}

.treasure-pot-reward-dialog h2,
.treasure-pot-reward-dialog p,
.treasure-pot-reward-dialog small {
  color: #ffffff;
}

@media (forced-colors: active) {
  button,
  a,
  input,
  select,
  textarea,
  .section,
  .form-card,
  .row {
    forced-color-adjust: auto;
  }
}

/* GTC seller-level product cards. Internal VIP/task identifiers stay unchanged. */
.get-home-vip-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 136px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  border-color: rgba(214, 170, 59, 0.46);
  box-shadow: 0 12px 28px rgba(6, 40, 29, 0.17);
}

.get-home-vip-card.is-current,
.get-home-vip-card.is-available,
.get-home-vip-card.is-next,
.get-home-vip-card.is-owned,
.get-home-vip-card.is-locked {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  border-color: rgba(214, 170, 59, 0.46);
}

.get-home-vip-card.is-current {
  border: 3px solid #f6d675;
  box-shadow:
    0 0 0 2px rgba(246, 214, 117, 0.46),
    0 0 18px rgba(246, 214, 117, 0.48),
    0 12px 28px rgba(6, 40, 29, 0.2);
}

.get-home-vip-card.is-owned,
.get-home-vip-card.is-locked {
  opacity: 0.78;
}

.get-home-vip-card__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.get-home-vip-card__background img {
  position: absolute;
  top: 50%;
  right: -5%;
  display: block;
  width: 72%;
  height: 138%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.94;
  filter: saturate(1.08) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.26));
  transform: translateY(-50%) scale(1.08);
}

.get-home-vip-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 40, 29, 0.98) 0%, rgba(6, 40, 29, 0.88) 47%, rgba(6, 40, 29, 0.34) 100%),
    linear-gradient(0deg, rgba(6, 40, 29, 0.72), transparent 64%);
}

.get-home-vip-card > :not(.get-home-vip-card__background) {
  position: relative;
  z-index: 2;
}

.get-home-vip-card__rank .product-task-thumb {
  background: rgba(255, 253, 247, 0.94);
  border-color: rgba(246, 214, 117, 0.72);
}

.get-home-vip-card__title strong,
.get-home-vip-card__title em,
.get-home-vip-card__benefits,
.get-home-vip-card__price small {
  color: #ffffff;
}

.get-home-vip-card__daily-income {
  display: grid;
  justify-items: start;
  width: min(100%, 132px);
  gap: 1px;
  padding-top: 5px;
  border-top: 1px solid rgba(246, 214, 117, 0.44);
  text-align: left;
}

.get-home-vip-card__daily-income small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.get-home-vip-card__daily-income b {
  max-width: 100%;
  color: #f6d675;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.34);
}

.get-home-vip-card__title em,
.get-home-vip-card__benefits,
.get-home-vip-card__price small {
  opacity: 0.82;
}

.get-home-vip-card__price strong,
.get-home-vip-card.is-current .get-home-vip-card__price strong {
  color: #f6d675;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

button.get-home-vip-card:focus-visible {
  outline: 3px solid #f6d675;
  outline-offset: 3px;
}

/* Outbound product art fills every available, active and completed task card. */
.task.get-task-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 194px;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  border: 1px solid rgba(214, 170, 59, 0.36);
  border-left-width: 3px;
  box-shadow: 0 14px 30px rgba(6, 40, 29, 0.2);
}

.task-card-product-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.task-card-product-background img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.98;
  filter: saturate(1.1) drop-shadow(0 12px 17px rgba(0, 0, 0, 0.28));
  transform: translateX(8%) scale(1.28);
}

.task.get-task-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 40, 29, 0.97) 0%, rgba(6, 40, 29, 0.78) 50%, rgba(6, 40, 29, 0.2) 100%),
    linear-gradient(0deg, rgba(6, 40, 29, 0.96) 0%, rgba(6, 40, 29, 0.08) 72%);
}

.task.get-task-card .task-card-body {
  position: relative;
  z-index: 2;
  align-content: end;
  min-height: 194px;
  padding: 16px;
  background: transparent;
}

.task.get-task-card .task-card-summary {
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  border-color: transparent;
}

.task.get-task-card h3 {
  color: #ffffff;
  font-size: 18px;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.36);
}

.task.get-task-card .task-card-summary span {
  color: rgba(255, 255, 255, 0.86);
}

.task.get-task-card .task-card-summary strong {
  color: #f6d675;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.34);
}

.task.get-task-card .task-card-actions button:not(:disabled) {
  color: var(--ink);
  background: linear-gradient(180deg, #f6d675, var(--accent));
  border-color: var(--accent-dark);
}

.task.get-task-card .task-card-actions button:disabled {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(6, 40, 29, 0.76);
  border-color: rgba(255, 255, 255, 0.28);
}

.task-fulfillment {
  --task-progress: 0%;
  --task-truck-width: clamp(44px, 12vw, 54px);
  --task-step-size: 24px;
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  padding: 9px 10px 8px;
  background: rgba(4, 31, 23, 0.76);
  border: 1px solid rgba(246, 214, 117, 0.34);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.task-fulfillment__headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #fff3c4;
}

.task-fulfillment__headline strong {
  font-size: 12px;
  font-weight: 900;
}

.task-fulfillment__headline span {
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.task-fulfillment__journey {
  position: relative;
  display: block;
  height: 74px;
  margin-inline: calc(var(--task-truck-width) / 2 + 3px);
}

.task-fulfillment__road {
  position: absolute;
  top: 24px;
  right: 0;
  left: 0;
  height: 5px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 5px, transparent 5px 10px),
    rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.task-fulfillment__road-fill {
  position: absolute;
  inset: 0 auto 0 0;
  left: 0;
  width: var(--task-progress);
  background: linear-gradient(90deg, #d7a62f, #fff1aa);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(246, 214, 117, 0.42);
  transition: width 220ms linear;
}

.task-fulfillment__truck {
  position: absolute;
  top: 0;
  left: var(--task-progress);
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--task-truck-width);
  height: auto;
  aspect-ratio: 116 / 68;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.52));
  transform: translateX(-50%);
  transition: left 220ms linear;
}

.task-fulfillment__truck-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.task-fulfillment__truck-shadow {
  fill: rgba(0, 0, 0, 0.34);
}

.task-fulfillment__truck-speed-lines {
  fill: none;
  stroke: #fff1aa;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.task-fulfillment__truck-vehicle,
.task-fulfillment__truck-wheel {
  transform-box: fill-box;
  transform-origin: center;
}

.task-fulfillment__truck-cargo {
  fill: #d79822;
  stroke: #fff0aa;
  stroke-width: 3;
}

.task-fulfillment__truck-cargo-top {
  fill: #f4c95d;
}

.task-fulfillment__truck-package {
  fill: #8a5a0b;
  stroke: #fff1aa;
  stroke-width: 2;
}

.task-fulfillment__truck-package-line,
.task-fulfillment__truck-door {
  fill: none;
  stroke: #ffeeb1;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.task-fulfillment__truck-cab {
  fill: #f1b83f;
  stroke: #fff0aa;
  stroke-width: 3;
  stroke-linejoin: round;
}

.task-fulfillment__truck-window {
  fill: #bfeee5;
  stroke: #0b5944;
  stroke-width: 2;
  stroke-linejoin: round;
}

.task-fulfillment__truck-bumper {
  fill: #e5ecdf;
}

.task-fulfillment__truck-light {
  fill: #fff8b8;
  stroke: #885b0a;
  stroke-width: 1.5;
}

.task-fulfillment__truck-wheel > circle:first-child {
  fill: #10241c;
  stroke: #f9e28e;
  stroke-width: 2.5;
}

.task-fulfillment__truck-wheel > path {
  fill: none;
  stroke: #f9e28e;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.task-fulfillment__truck-hub {
  fill: #e3aa31;
  stroke: #fff4bf;
  stroke-width: 1.5;
}

.task-fulfillment__step {
  position: absolute;
  top: 40px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--task-step-size);
  height: var(--task-step-size);
  color: rgba(255, 255, 255, 0.62);
  background: #123a2c;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: translateX(-50%);
}

.task-fulfillment__step::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 12px;
  content: "";
  background: rgba(255, 255, 255, 0.28);
}

.task-fulfillment__step[data-task-step="packing"] { left: 0; }
.task-fulfillment__step[data-task-step="transit"] { left: 50%; }
.task-fulfillment__step[data-task-step="selling"] { left: 100%; }

.task-fulfillment__step svg {
  width: 13px;
  height: 13px;
}

.task-fulfillment__step small {
  position: absolute;
  top: 25px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.task-fulfillment__step.is-active {
  color: #0b2c20;
  background: #fff1aa;
  border-color: #d7a62f;
  box-shadow: 0 0 0 3px rgba(246, 214, 117, 0.16), 0 0 12px rgba(246, 214, 117, 0.44);
}

.task-fulfillment__step.is-done {
  color: #ffffff;
  background: #18a66a;
  border-color: #92e3ba;
}

.task-fulfillment > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
}

.task-fulfillment[data-task-stage="sold"] {
  background: linear-gradient(135deg, rgba(4, 48, 32, 0.92), rgba(12, 91, 58, 0.9));
  border-color: rgba(146, 227, 186, 0.55);
}

.task-fulfillment[data-task-stage="sold"] .task-fulfillment__truck {
  left: 100%;
}

.task-fulfillment[data-task-stage="transit"] .task-fulfillment__truck-vehicle {
  animation: task-truck-bob 420ms ease-in-out infinite;
}

.task-fulfillment[data-task-stage="transit"] .task-fulfillment__truck-wheel {
  animation: task-wheel-roll 380ms linear infinite;
}

.task-fulfillment[data-task-stage="transit"] .task-fulfillment__truck-speed-lines {
  opacity: 0.8;
  animation: task-speed-lines 500ms ease-in-out infinite;
}

@keyframes task-truck-bob {
  50% { transform: translateY(-1.4px); }
}

@keyframes task-wheel-roll {
  to { transform: rotate(360deg); }
}

@keyframes task-speed-lines {
  50% { opacity: 0.35; transform: translateX(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .task-fulfillment__road-fill,
  .task-fulfillment__truck {
    transition: none;
  }

  .task-fulfillment__truck-vehicle,
  .task-fulfillment__truck-wheel,
  .task-fulfillment__truck-speed-lines {
    animation: none;
  }
}

@media (max-width: 359px) {
  .task-fulfillment {
    --task-truck-width: 44px;
    --task-step-size: 22px;
    padding-inline: 8px;
  }

  .task-fulfillment__journey { height: 70px; }
  .task-fulfillment__step { top: 38px; }
  .task-fulfillment__step small { top: 23px; font-size: 8.5px; }

  .get-home-vip-card {
    min-height: 128px;
  }

  .task.get-task-card,
  .task.get-task-card .task-card-body {
    min-height: 184px;
  }
}

/* Product redemption code entry reuses the Flash Drop transaction flow. */
.flash-drop-layer {
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--overlay);
}

.flash-drop-card {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border-radius: 18px;
}

.flash-drop-card h2 {
  padding-right: 38px;
}

.flash-drop-close {
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.flash-drop-form label {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 850;
}

.flash-drop-form input {
  border-color: var(--control-border);
}

.flash-drop-form input:focus-visible,
.flash-drop-close:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 2px;
  border-color: var(--focus-light);
  box-shadow: none;
}

/* Unified game lobby: wallet exchange first, then the free wheel and GC slots. */
.games-lobby-wallet {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 17px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 214, 117, 0.28), transparent 42%),
    linear-gradient(145deg, var(--primary-deep), var(--primary-dark) 58%, #123f2e);
  border: 1px solid rgba(214, 170, 59, 0.42);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(6, 40, 29, 0.22);
}

.games-lobby-wallet__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(180deg, #f6d675, var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2);
}

.games-lobby-wallet__icon svg { width: 28px; height: 28px; }
.games-lobby-wallet__copy { min-width: 0; }
.games-lobby-wallet__copy > span { color: #f6d675; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.games-lobby-wallet__copy h2 { margin: 3px 0 5px; color: #ffffff; font-size: 20px; line-height: 1.16; }
.games-lobby-wallet__copy p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 12px; line-height: 1.5; }

.games-lobby-wallet__balances {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.games-lobby-wallet__balances > div,
.games-lobby-wallet__rate {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.games-lobby-wallet__balances span,
.games-lobby-wallet__rate span,
.games-lobby-wallet__rate small { color: rgba(255, 255, 255, 0.7); font-size: 10px; }
.games-lobby-wallet__balances strong,
.games-lobby-wallet__rate strong { min-width: 0; overflow-wrap: anywhere; color: #ffffff; font-size: 17px; font-variant-numeric: tabular-nums; }
.games-lobby-wallet__rate { grid-column: 1 / -1; }
.games-lobby-wallet__rate strong { color: #f6d675; }
.games-lobby-wallet__action {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(180deg, #f6d675, var(--accent));
  border-color: var(--accent-dark);
}
.games-lobby-wallet__action svg { width: 20px; height: 20px; }

.games-lobby-list { min-width: 0; margin-top: 15px; }
.games-lobby-list__title { align-items: end; }
.games-lobby-list__title > span { color: var(--muted); font-size: 11px; }
.games-lobby-grid { min-width: 0; display: grid; gap: 12px; }

.games-lobby-card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.games-lobby-card__art {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06281d;
  border-bottom: 1px solid rgba(10, 61, 43, 0.14);
}

.games-lobby-card__art::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 25, 18, 0.28));
}

.games-lobby-card__art-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.games-lobby-card__body { min-width: 0; display: grid; gap: 9px; padding: 14px; }
.games-lobby-card__badges { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.games-lobby-card__badges > span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(20, 107, 72, 0.18);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.games-lobby-card__badges .slot-game-status { min-height: 25px; padding: 4px 8px; font-size: 9px; }
.games-lobby-card__body h3 { margin: 0; color: var(--primary-dark); font-size: 19px; }
.games-lobby-card__body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.games-lobby-card__stats { min-width: 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 9px 10px; background: var(--surface-2); border-radius: 10px; }
.games-lobby-card__stats span { color: var(--muted); font-size: 10px; font-weight: 800; }
.games-lobby-card__stats strong { min-width: 0; overflow-wrap: anywhere; color: var(--accent-ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.games-lobby-card__action {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  color: #ffffff;
  text-decoration: none;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}
.games-lobby-card__action svg { width: 18px; height: 18px; }
.games-lobby-card__action:disabled { color: var(--disabled-ink); background: var(--disabled-bg); border-color: var(--line); }

.games-lobby-turnover { margin-top: 14px; }
.games-lobby-turnover .section-title p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.games-lobby-turnover .home-game-turnover-strip { margin-top: 10px; }
.slot-game-error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.slot-game-error .ghost-btn { min-height: 44px; margin-left: auto; }

.games-lobby-wallet__action:focus-visible,
.games-lobby-card__action:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 3px;
  box-shadow: none;
}

@media (max-width: 359px) {
  .games-lobby-wallet { grid-template-columns: 44px minmax(0, 1fr); padding: 14px; }
  .games-lobby-wallet__icon { width: 44px; height: 44px; }
  .games-lobby-wallet__copy h2 { font-size: 18px; }
}

@media (hover: hover) and (pointer: fine) {
  .games-lobby-card__art-image { transition: transform 220ms ease, filter 220ms ease; }
  .games-lobby-card:hover .games-lobby-card__art-image { transform: scale(1.025); filter: saturate(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .games-lobby-card__art-image { transition: none; }
}

/* Compact game picker: each enabled game is one familiar icon-and-label button. */
.games-menu { min-width: 0; padding: 8px 2px 18px; }
.games-menu__grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 12px;
  align-items: start;
}

.games-menu-button {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  justify-items: center;
  padding: 6px 3px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 16px;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.games-menu-button__icon {
  width: min(78px, 100%);
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  background: #073426;
  border: 1px solid rgba(10, 61, 43, 0.18);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(6, 40, 29, 0.16);
}

.games-menu-button__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.games-menu-button__name {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.games-menu-button:disabled { cursor: default; opacity: 0.5; }
.games-menu-button:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 2px;
  box-shadow: none;
}

@media (max-width: 359px) {
  .games-menu__grid { gap: 15px 8px; }
  .games-menu-button__icon { width: min(70px, 100%); border-radius: 16px; }
  .games-menu-button__name { font-size: 11px; }
}

@media (hover: hover) and (pointer: fine) {
  .games-menu-button:not(:disabled) { transition: background-color 160ms ease, transform 160ms ease; }
  .games-menu-button:not(:disabled):hover { background: rgba(10, 61, 43, 0.06); transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .games-menu-button:not(:disabled) { transition: none; }
}

/* GTC reward wheel artwork v2. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.lucky-hero {
  color: #fff8de;
  background:
    radial-gradient(circle at 78% 12%, rgba(246, 214, 117, 0.24), transparent 34%),
    linear-gradient(145deg, #041f17 0%, #0b3d2e 52%, #176b46 100%);
  border: 1px solid rgba(246, 214, 117, 0.34);
  box-shadow: 0 18px 38px rgba(4, 31, 23, 0.22);
}

.lucky-hero .hero-head span,
.lucky-hero .balance span {
  color: rgba(255, 248, 222, 0.78);
}

.lucky-hero .hero-head strong,
.lucky-hero .balance strong {
  color: #f6d675;
}

.lucky-hero .hero-actions button,
.lucky-hero .hero-actions a {
  min-height: 46px;
  color: #17241c;
  background: linear-gradient(180deg, #f8df91, #c49a3a);
  border: 1px solid #76530a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 8px 18px rgba(3, 24, 17, 0.24);
}

.lucky-hero .hero-actions button:disabled {
  color: #68736b;
  background: #e5eae6;
  border-color: #778a7f;
  box-shadow: none;
}

.lucky-section {
  gap: 12px;
  padding: 10px;
  overflow: visible;
  color: #fff8de;
  background: linear-gradient(180deg, #082d22, #041f17);
  border: 1px solid rgba(196, 154, 58, 0.52);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(4, 31, 23, 0.22);
}

.lucky-wheel-wrap {
  --wheel-center-y: 50%;
  --wheel-slot-radius: clamp(75px, 20.8vw, 87px);
  position: relative;
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #041d16;
  border: 1px solid rgba(246, 214, 117, 0.48);
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lucky-section .lucky-wheel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.lucky-section .lucky-wheel-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 47%, transparent 35%, rgba(1, 15, 11, 0.12) 63%, rgba(1, 15, 11, 0.5) 100%),
    linear-gradient(180deg, rgba(246, 214, 117, 0.06), transparent 36%);
  opacity: 1;
  pointer-events: none;
}

.lucky-section .lucky-wheel-disc {
  left: 50%;
  top: var(--wheel-center-y);
  z-index: 3;
  width: 83%;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  background: transparent !important;
  border: 0;
  outline: 0;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42), 0 0 28px rgba(196, 154, 58, 0.18);
  transform: translate(-50%, -50%) rotate(var(--wheel-rotation, 0deg));
  transition: transform var(--wheel-spin-duration, 3100ms) cubic-bezier(0.12, 0.74, 0.12, 1);
  will-change: transform;
}

.lucky-section .lucky-wheel-base-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
}

.lucky-section .lucky-wheel-pointer-img {
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 7;
  width: clamp(38px, 11vw, 48px);
  height: clamp(52px, 14vw, 62px);
  display: block;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.54));
  pointer-events: none;
}

.lucky-section .lucky-wheel-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(58px, 18vw, 78px);
  height: clamp(64px, 19vw, 82px);
  display: block;
  color: #17241c;
  text-align: center;
  text-shadow: none;
  transform: translate(-50%, -50%) rotate(var(--slot-angle)) translateY(calc(var(--wheel-slot-radius) * -1));
  transform-origin: center;
}

.lucky-section .lucky-wheel-prize {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg);
  transform-origin: center;
}

.lucky-section .lucky-wheel-prize-amount {
  max-width: 100%;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  padding: 2px 4px 2px 3px;
  color: #0b3d2e;
  background: rgba(255, 248, 222, 0.94);
  border: 1px solid rgba(118, 83, 10, 0.66);
  border-radius: 999px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.24);
  font-size: clamp(8px, 2.6vw, 10px);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.lucky-section .lucky-wheel-prize-currency {
  flex: 0 0 auto;
  color: #76530a;
  font-size: 0.9em;
  font-weight: 950;
}

.lucky-section .lucky-wheel-prize-value {
  flex: 0 0 auto;
}

.lucky-section .lucky-wheel-prize-amount.is-long {
  font-size: clamp(7px, 2.25vw, 9px);
}

.lucky-section .lucky-wheel-prize-amount.is-extra-long {
  font-size: clamp(6px, 1.95vw, 8px);
}

.lucky-section .lucky-wheel-center {
  position: absolute;
  left: 50%;
  top: var(--wheel-center-y);
  z-index: 6;
  width: clamp(78px, 24vw, 104px);
  height: clamp(78px, 24vw, 104px);
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff8de;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, filter 160ms ease;
}

.lucky-section .lucky-wheel-center-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.lucky-section .lucky-wheel-center-label {
  position: relative;
  z-index: 1;
  max-width: 74%;
  color: #fff8de;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(9px, 2.5vw, 11px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.035em;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 1px 2px #041f17, 0 0 6px rgba(4, 31, 23, 0.82);
  pointer-events: none;
}

.lucky-section .lucky-wheel-center:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.045);
  filter: brightness(1.08);
}

.lucky-section .lucky-wheel-center:focus-visible {
  outline: 3px solid #f6d675;
  outline-offset: 4px;
}

.lucky-section .lucky-wheel-center:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  filter: saturate(0.5);
}

.lucky-section .lucky-result,
.lucky-section .lucky-winner-feed {
  width: min(100%, 420px);
  color: #fff8de;
  background: rgba(3, 28, 20, 0.84);
  border: 1px solid rgba(196, 154, 58, 0.48);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 18px rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

.lucky-section .lucky-winner-line {
  color: #fff8de;
  text-shadow: none;
}

.lucky-winner-art {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.34));
}

.lucky-notice {
  color: var(--primary-dark);
  background: linear-gradient(180deg, #fffdf5, #f6edcf);
  border-color: rgba(196, 154, 58, 0.48);
}

.lucky-prize-layer {
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: rgba(1, 20, 14, 0.76);
  backdrop-filter: blur(8px);
}

.lucky-prize-dialog {
  width: min(100%, 360px);
  padding: 20px 18px 18px;
  gap: 12px;
  color: #fff8de;
  background:
    radial-gradient(circle at 50% 20%, rgba(246, 214, 117, 0.18), transparent 42%),
    linear-gradient(165deg, #0b3d2e, #041f17);
  border: 1px solid rgba(246, 214, 117, 0.58);
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lucky-prize-dialog .lucky-prize-image {
  width: min(52vw, 176px);
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  margin: 4px auto;
  padding: 0;
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.34));
}

.lucky-prize-dialog .lucky-prize-amount {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  color: #10281e;
  background: linear-gradient(180deg, #fff3c4, #f6d675);
  border: 1px solid #76530a;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 18px rgba(0, 0, 0, 0.2);
  text-shadow: none;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.lucky-prize-dialog .lucky-prize-amount span {
  display: block;
  color: #10281e;
  font-size: clamp(13px, 4vw, 16px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.lucky-prize-dialog .lucky-prize-amount strong {
  display: block;
  margin-top: 3px;
  color: #0b3d2e;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 950;
  line-height: 1.05;
}

.lucky-prize-dialog .lucky-prize-message {
  color: #fff8de;
  font-size: 19px;
  font-weight: 850;
  text-shadow: none;
}

.lucky-prize-dialog .lucky-prize-confirm {
  width: 100%;
  min-height: 46px;
  color: #17241c;
  background: linear-gradient(180deg, #f8df91, #c49a3a);
  border: 1px solid #76530a;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 8px 18px rgba(0, 0, 0, 0.24);
  font-size: 16px;
  font-weight: 900;
}

.lucky-prize-dialog .lucky-prize-confirm:focus-visible {
  outline: 3px solid #f6d675;
  outline-offset: 3px;
}

@media (max-width: 359px) {
  .lucky-section { padding: 7px; }
  .lucky-wheel-wrap { --wheel-slot-radius: clamp(66px, 19vw, 69px); border-radius: 15px; }
  .lucky-section .lucky-wheel-prize-amount { padding-inline: 2px 3px; font-size: clamp(7px, 2.35vw, 9px); }
  .lucky-section .lucky-wheel-center { width: 76px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .lucky-section .lucky-wheel-disc {
    transition-duration: var(--wheel-spin-duration, 220ms);
    transition-timing-function: ease-out;
  }
  .lucky-winner-feed.is-rolling .lucky-winner-line {
    animation: none;
  }
}
