:root {
  --bg: #070b0a;
  --shell: #0c1210;
  --card: #141c19;
  --line: #2c3d36;
  --text: #eef4f0;
  --muted: #8fa198;
  --gold: #e8c36a;
  --green: #1b8f62;
  --green-2: #3ee0a4;
  --danger: #d46776;
  --nav: #0a100e;
  --shadow: 0 16px 36px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
body {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  background: #0c1210;
  color: var(--text);
  display: flex;
  justify-content: center;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.app-shell {
  width: 100%;
  max-width: 480px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  background: #0c1210;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  position: relative;
  flex-shrink: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #121a17;
  border-bottom: 1px solid #24302b;
  box-shadow: none;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
}
.site-logo, .topbar img, .auth-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #04140e;
  flex-shrink: 0;
}
.desk-nav, .desk-cta { display: none !important; }
.topbar h1 { margin: 0; font-size: 18px; letter-spacing: .3px; }
.topbar .bal {
  margin-left: auto;
  background: #1a2420;
  color: var(--green-2);
  border: 1px solid #2a3a33;
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.page {
  flex: 1;
  min-height: 0;
  padding: 14px 14px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.auth-page {
  flex: 1;
  min-height: 0;
  padding: 48px 18px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.brand-hero {
  text-align: center;
  margin: 8px 0 22px;
  flex-shrink: 0;
}
.brand-hero img { width: 72px; height: 72px; margin: 0 auto 10px; }
.brand-hero h1 { margin: 0; color: var(--text); font-size: 26px; }
.brand-hero p { margin: 8px 0 0; color: var(--muted); }
.auth-page .btn {
  background: #2f8f68;
  color: #fff;
}
.auth-page a { color: #6fbf96; }

.card {
  background: #141c19;
  border: 1px solid rgba(232, 195, 106, .14);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
}

.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: #0d1210;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 12px;
  outline: none;
}
.field textarea { min-height: 90px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, #2db37a, #167a54);
  box-shadow: 0 10px 20px rgba(22, 122, 84, .32);
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-green {
  background: #2f8f68;
  color: #fff;
  box-shadow: none;
}
.btn-ghost {
  background: #1a2420;
  color: var(--text);
  border: 1px solid #2a3a33;
  box-shadow: none;
}
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { width: auto; padding: 8px 12px; font-size: 13px; }

.alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.alert-error { background: #3a1520; color: #ffb4c0; }
.alert-ok { background: #163028; color: #9bbfac; }

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 164px;
  margin-bottom: 14px;
  box-shadow: none;
}
.slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .45s ease;
}
.slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 164px;
  object-fit: cover;
}
.slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.slider-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.slider-dots span.on { background: var(--gold); }

.ticker {
  overflow: hidden;
  background: #151c19;
  border: 1px solid #2a3a33;
  color: #c9d4ce;
  border-radius: 8px;
  padding: 8px 0;
  margin-bottom: 12px;
  font-size: 13px;
  box-shadow: none;
}
.ticker-move {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 18s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}
.quick-btn {
  text-align: center;
  color: var(--text);
  font-size: 11px;
}
.quick-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #1a2420;
  border: 1px solid #2a3a33;
  color: #d5ddd8;
  box-shadow: none;
}
.quick-ico .ico { display: block; }
.quick-btn:active .quick-ico { transform: scale(.96); }

.mine-box {
  text-align: center;
  padding: 8px 10px 12px;
  background: #151c19;
}
.mine-stage {
  position: relative;
  height: 176px;
  margin: 0 auto 4px;
}
.mine-svg {
  display: block;
  width: 100%;
  height: 176px;
}
.mine-live {
  position: absolute;
  left: 10px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0e1412;
  border: 1px solid #2a3a33;
  color: #9dceb4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.mine-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fbf96;
  box-shadow: none;
  animation: led 1.2s infinite;
}
.fan { transform-box: fill-box; transform-origin: center; animation: fan-spin .7s linear infinite; }
.fan-alt { animation-duration: .85s; animation-direction: reverse; }
.fan-glow { animation: pulse-glow 1.6s ease-in-out infinite; }
.usdt-core { transform-box: fill-box; transform-origin: center; animation: coin-pulse 2.4s ease-in-out infinite; }
.ring.r1 { transform-box: fill-box; transform-origin: center; animation: ring-spin 8s linear infinite; }
.ring.r2 { transform-box: fill-box; transform-origin: center; animation: ring-spin 12s linear infinite reverse; }
.led { animation: led 1.4s ease-in-out infinite; }
.led.delay { animation-delay: .4s; }
.hash-dot.d1 { animation: hash-up 2.2s linear infinite; }
.hash-dot.d2 { animation: hash-up 2.8s linear infinite .4s; }
.hash-dot.d3 { animation: hash-up 2.1s linear infinite .2s; }
.hash-dot.d4 { animation: hash-up 2.6s linear infinite .7s; }
@keyframes fan-spin {
  to { transform: rotate(360deg); }
}
@keyframes coin-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.04); }
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .35; }
  50% { opacity: .9; }
}
@keyframes led {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
@keyframes hash-up {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-78px); opacity: 0; }
}
.mine-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-2);
}
.mine-sub { color: var(--muted); font-size: 11px; margin: 2px 0 6px; }
.timer {
  font-family: Consolas, monospace;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 8px;
}
.mine-box .btn { padding: 9px 12px; font-size: 13px; }

.feed-list { display: grid; gap: 8px; }
.feed-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #151c19;
  border: 1px solid #24302b;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: none;
}
.feed-item b { color: var(--green-2); }
.section-title {
  margin: 4px 0 10px;
  font-size: 15px;
}

.bottom-nav {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  background: transparent;
  min-height: 72px;
  height: calc(72px + env(safe-area-inset-bottom));
  padding: 0 2px calc(6px + env(safe-area-inset-bottom));
  z-index: 30;
  overflow: visible;
}
.nav-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  background: var(--nav);
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 -1px 0 #243049;
  -webkit-mask-image: radial-gradient(circle 33px at 50% 0, transparent 32px, #000 33px);
  mask-image: radial-gradient(circle 33px at 50% 0, transparent 32px, #000 33px);
}
.bottom-nav a {
  position: relative;
  z-index: 2;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  min-width: 0;
  padding: 0 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.bottom-nav em {
  font-style: normal;
  font-size: 11px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bottom-nav a.active { color: var(--gold); }
.nav-plans {
  z-index: 3;
  padding-bottom: 6px;
}
.nav-fab {
  width: 50px;
  height: 50px;
  margin-top: -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2f8f68;
  box-shadow: none;
}
.nav-fab svg { display: block; }
.nav-plans em {
  color: var(--green-2);
  font-weight: 700;
}
.nav-plans.active em { color: var(--gold); }

.plan-card {
  background: #151c19;
  border: 1px solid #24302b;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: none;
}
.plan-card.is-active { border-color: #3d6b4f; box-shadow: inset 0 0 0 1px rgba(38,161,123,.25); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-card h3 { margin: 0; font-size: 16px; }
.plan-pay { margin: 8px 0 6px; }
.plan-pay b { font-size: 26px; color: var(--green-2); }
.plan-pay small { color: var(--muted); margin-left: 4px; }
.plan-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.plan-bar {
  height: 6px;
  background: #04180e;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.plan-bar i {
  display: block;
  height: 100%;
  background: #2f8f68;
  border-radius: 99px;
}
.plan-note { margin: 0; color: var(--muted); font-size: 12px; }

/* Level / plans — layout like reference, Vip Cash colors */
.app-shell.shell-level .page {
  padding: 12px 12px 20px;
}

.plans-ref {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.level-card {
  position: relative;
  background: #151c19;
  border-radius: 12px;
  padding: 14px 14px 16px;
  box-shadow: none;
  border: 1px solid #24302b;
  overflow: hidden;
}
.level-card.is-active {
  border-color: #2f8f68;
  box-shadow: none;
}

.level-status-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: #1a2420;
  color: var(--green-2);
  border: 1px solid #2a3a33;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
}

.level-card-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 4px;
}
.level-visual {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.level-visual img {
  width: 96px;
  height: 118px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  border: 1px solid rgba(0, 210, 106, .22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35), 0 0 16px rgba(0, 226, 106, .15);
}

.level-main {
  flex: 1;
  min-width: 0;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(0, 210, 106, .12);
  border-radius: 14px;
  padding: 10px 10px 8px;
}
.level-title {
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.level-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}
.level-stat span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
  margin-bottom: 2px;
}
.level-stat strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}
.level-stat strong small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.level-stat strong.is-green {
  color: var(--green-2);
  font-size: 16px;
}

.level-effective {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--green-2);
  line-height: 1.45;
}
.level-effective-label {
  display: block;
  font-weight: 700;
}
.level-effective-dates {
  display: block;
  font-size: 11px;
  color: var(--muted);
  word-break: break-word;
}

.level-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.level-actions--center {
  align-items: center;
}
.level-unlock-form {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.level-unlock-form--full {
  max-width: 100%;
}
.level-unlock-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  background: #2f8f68;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 13px 20px;
  border-radius: 8px;
  box-shadow: none;
}
.level-unlock-btn--shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, .08) 40%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, .08) 60%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: levelUnlockShine 2.6s ease-in-out infinite;
  pointer-events: none;
}
.level-unlock-label {
  position: relative;
  z-index: 1;
}
@keyframes levelUnlockShine {
  0% { left: -70%; opacity: 0; }
  12% { opacity: 1; }
  45% { left: 130%; opacity: 1; }
  55% { opacity: 0; }
  100% { left: 130%; opacity: 0; }
}
.level-unlock-btn.is-disabled,
.level-unlock-btn:disabled {
  background: #1a2f24;
  color: var(--muted);
  border: 1px solid #2a4034;
  box-shadow: none;
  cursor: not-allowed;
}
.level-unlock-btn.is-disabled::after,
.level-unlock-btn:disabled::after {
  display: none;
}
.level-ref-hint {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.meta { color: var(--muted); font-size: 13px; line-height: 1.6; }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.badge-ok { background: #1a2420; color: #6fbf96; }
.badge-wait { background: #3a2d10; color: #f5c14a; }
.badge-no { background: #3a1520; color: #ffb4c0; }

.task-hint { margin: 0 0 8px; }
.task-card { padding: 12px !important; margin-bottom: 10px; }
.task-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.task-row img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.task-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.task-top b { font-size: 13px; line-height: 1.3; word-break: break-word; }
.task-earn { color: var(--green-2); font-size: 12px; font-weight: 700; flex-shrink: 0; }
.task-card .muted { font-size: 11px; margin: 2px 0 6px; word-break: break-word; }
.task-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.task-actions .btn { width: 100%; }
.task-proof {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.task-proof input[type="file"] {
  width: 100%;
  min-width: 0;
  font-size: 12px;
  padding: 10px;
  background: #04180e;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 10px;
}
.task-proof .btn { width: 100%; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); font-size: 12px; }
.row-actions { display: flex; gap: 8px; margin-top: 10px; }
.row-actions .btn { width: auto; flex: 1; }

.copy-box {
  display: flex;
  gap: 8px;
}
.copy-box input { flex: 1; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stat {
  background: #062214;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.stat b { display: block; font-size: 20px; margin-top: 4px; color: var(--gold); }

.history li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.history li span { min-width: 0; word-break: break-word; }
.history { margin: 0; padding: 0; }

.link-row { text-align: center; margin-top: 12px; color: var(--muted); font-size: 13px; }

@keyframes shine {
  0% { transform: translateX(-80%); }
  55%, 100% { transform: translateX(80%); }
}

.ico { display: block; flex-shrink: 0; }
.btn-dark {
  background: #111827;
  color: #fff;
  border-radius: 28px;
  padding: 13px 14px;
}
.subbar {
  position: relative;
  flex-shrink: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 12px 10px;
  background: rgba(14, 20, 36, .94);
  border-bottom: 1px solid var(--line);
}
.subbar h1 { margin: 0; text-align: center; font-size: 17px; font-weight: 700; }
.back-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--text);
  border-radius: 50%;
}
.page-flush { padding-top: 10px; }

.me-top { padding: 6px 4px 8px; }
.me-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.me-brand img { width: 28px; height: 28px; border-radius: 50%; }
.me-hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.me-hello p { margin: 0 0 8px; font-size: 15px; word-break: break-all; }
.lvl {
  display: inline-block;
  background: #3a2d10;
  color: var(--gold);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
}
.cube {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #1a2420;
  border: 1px solid #2a3a33;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.cube span {
  position: absolute;
  inset: 16px;
  background: #2f8f68;
  clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
  box-shadow: none;
}
.me-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #151c19;
  color: var(--text);
  border: 1px solid #24302b;
  border-radius: 12px;
  padding: 16px 10px;
  margin: 14px 0;
  text-align: center;
  box-shadow: none;
}
.me-stats small { display: block; opacity: .75; font-size: 11px; }
.me-stats b { display: block; margin-top: 6px; font-size: 22px; }

.menu-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.menu-list a,
.menu-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 15px;
}
.menu-list form { margin: 0; }
.menu-list a:last-child,
.menu-list form:last-child button { border-bottom: 0; }
.menu-list span { flex: 1; }
.menu-list .ico:last-child { color: #6b7a99; }
.mi {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.info-row b { color: var(--text); text-align: right; }

.wd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.wd-head b { display: block; }
.wd-head p { margin: 4px 0 0; color: #f43f5e; font-size: 12px; }
.wd-balance {
  background: #151c19;
  color: var(--text);
  border: 1px solid #24302b;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: none;
}
.wd-balance small { display: block; color: var(--muted); }
.wd-balance strong { display: block; margin-top: 6px; font-size: 24px; color: var(--green-2); }
.wd-label { display: block; margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.net-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.net { min-width: 0; }
.net span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #062214;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  color: var(--text);
}
.net input { display: none; }
.net.on { border-color: var(--gold); background: #241d0c; }
.wd-quota { color: var(--muted); font-size: 12px; margin: 4px 0 12px; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 42px; }
.eye-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--muted);
  padding: 4px;
  cursor: pointer;
}
.wd-receive {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 16px;
  font-size: 14px;
}
.wd-form { margin-bottom: 16px; }
.wd-form .btn-green {
  border-radius: 28px;
  padding: 13px 14px;
  background: var(--green);
  color: #fff;
}
.wd-soon {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 16px 22px;
  text-align: center;
  margin-bottom: 16px;
}
.wd-soon h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}
.wd-soon p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.wd-soon-timer {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 12px;
}
.wd-soon-box {
  flex: 1;
  min-width: 0;
  max-width: 72px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 10px 4px;
}
.wd-soon-box b { display: block; font-size: 22px; line-height: 1.1; }
.wd-soon-box small { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.88); }
.wd-soon-date { color: #fff !important; font-weight: 600; }
.wd-open-clean {
  margin-top: 18px;
  padding: 16px 12px 14px;
  border-radius: 16px;
  background: #0f1a16;
  border: 1px solid rgba(232, 195, 106, .22);
}
.wd-open-clean small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.wd-open-clean b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 26px;
  line-height: 1.2;
}
.wd-open-clean strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 800;
}
.wd-open-left {
  margin: 12px 0 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
}
.wd-fee-gate h2 { font-size: 18px; line-height: 1.35; }
.wd-fee-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.wd-fee-btns-one { grid-template-columns: 1fr; }
.wd-fee-btns form { margin: 0; }
.wd-fee-btns .btn { width: 100%; }

.fee-page { padding-bottom: 8px; }
.fee-chip {
  display: inline-flex;
  align-items: center;
  background: #1a2420;
  color: #6fbf96;
  border: 1px solid #2a3a33;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.fee-order { color: var(--muted); font-size: 12px; margin: 10px 0 8px; }
.fee-expire {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.fee-expire b { color: #f43f5e; font-family: Consolas, monospace; }
.fee-amount-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  padding: 18px 12px;
  margin-bottom: 12px;
}
.fee-amount-card small { color: var(--muted); letter-spacing: .6px; }
.fee-amount-card strong { display: block; margin: 6px 0 4px; font-size: 28px; color: #f5c14a; }
.fee-amount-card p { margin: 0; color: var(--muted); font-size: 12px; }
.fee-coins {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.fee-coins a {
  background: #151c19;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
}
.fee-coins a.on { border-color: var(--green); background: #1a2420; color: #6fbf96; }
.fee-qr {
  background: #fff;
  border: 4px solid #f5c14a;
  border-radius: 12px;
  width: 220px;
  height: 220px;
  margin: 0 auto 12px;
  padding: 8px;
}
.fee-qr img { width: 100%; height: 100%; object-fit: contain; }
.fee-warn { color: #f5c14a; font-size: 12px; text-align: center; margin: 0 0 12px; }
.fee-addr-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}
.fee-addr-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.fee-addr-card input {
  width: 100%;
  background: #04180e;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  word-break: break-all;
}
.fee-copy { background: #2563eb; color: #fff; border-radius: 28px; }
.fee-help b { display: block; margin-bottom: 8px; }
.fee-help-text { color: var(--muted); font-size: 13px; line-height: 1.55; }
.fee-form { margin-bottom: 16px; }

@media (max-width: 360px) {
  .quick-ico { width: 40px; height: 40px; border-radius: 12px; }
  .quick-btn { font-size: 10px; }
  .wd-soon h2 { font-size: 18px; }
  .wd-soon-box b { font-size: 18px; }
  .topbar { padding: 10px 12px; }
  .page { padding: 12px 10px 16px; }
}

.auth-page { padding-top: 20px; }
