@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syncopate:wght@400;700&display=swap");

:root {
  --bg: #f3f7ff;
  --panel: #ffffff;
  --panel2: #eef4ff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #d6e0f5;
  --primary: #1d7ef7;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Noto Sans", sans-serif;
  background: radial-gradient(1200px 600px at 10% -20%, #dbeafe 0%, var(--bg) 55%);
  color: var(--text);
}
a { color: var(--primary); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 16px; }
.auth-wrap { min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 16px; }
.card {
  width: 100%;
  background: linear-gradient(180deg, var(--panel) 0%, #f7faff 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.08);
  padding: 16px;
}
.card.auth { max-width: 450px; }
h1, h2, h3 { margin: 0 0 12px; }
p { margin: 6px 0; color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
}
label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--muted); }
input, select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 10px;
}
textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 10px;
  resize: vertical;
  min-height: 110px;
}
button {
  border: 0;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  touch-action: manipulation;
}
button, a, input, select, textarea {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button.ghost { background: #eef4ff; color: var(--text); border: 1px solid var(--line); }
button.warn { background: var(--warn); color: #111; }
button.bad { background: var(--bad); color: #fff; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav button { background: #eef4ff; color: var(--text); }
.nav button.active { background: var(--primary); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
}
.stat .k { color: var(--muted); font-size: 12px; }
.stat .v { font-size: 20px; margin-top: 6px; font-weight: 700; }
#tab-bridge .stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
#tab-bridge .stat {
  min-width: 150px;
  border-radius: 10px;
  padding: 8px 10px;
}
#tab-bridge .stat .k {
  font-size: 11px;
  white-space: nowrap;
}
#tab-bridge .stat .v {
  font-size: 16px;
  margin-top: 2px;
  line-height: 1.15;
}
.section { margin-top: 14px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th { color: var(--muted); background: #f3f7ff; }
.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.tag.ok { color: #a7f3d0; border-color: #0e7a46; background: rgba(34,197,94,.15);}
.tag.off { color: #fecaca; border-color: #7f1d1d; background: rgba(239,68,68,.15);}
.muted { color: var(--muted); }
.toast {
  position: fixed; right: 14px; bottom: 14px; min-width: 260px;
  background: #ffffff; border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  color: var(--text); border-radius: 10px; padding: 10px; z-index: 1000;
}
.community-widget {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: calc(122px + env(safe-area-inset-bottom));
  z-index: 260;
}
.community-widget[hidden] {
  display: none !important;
}
.community-widget.has-bottom-nav {
  bottom: calc(150px + env(safe-area-inset-bottom));
}
.community-widget-shell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
}
.community-widget-btn {
  min-width: 68px;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22, 31, 49, 0.96), rgba(10, 16, 30, 0.98));
  border: 1px solid rgba(143, 162, 205, 0.12);
  color: #eef3ff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.community-widget-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
  border-color: rgba(124, 242, 255, 0.28);
}
.community-widget-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .2px;
}
.community-widget-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}
.community-widget-icon svg {
  width: 13px;
  height: 13px;
  display: block;
  fill: currentColor;
}
.community-widget-icon.telegram {
  background: linear-gradient(135deg, #34a9eb 0%, #1288cc 100%);
}
.community-widget-icon.whatsapp {
  background: linear-gradient(135deg, #30d46c 0%, #0f9f4f 100%);
}
@media (max-width: 560px) {
  .community-widget {
    right: 12px;
    bottom: calc(116px + env(safe-area-inset-bottom));
  }
  .community-widget.has-bottom-nav {
    bottom: calc(142px + env(safe-area-inset-bottom));
  }
  .community-widget-btn {
    min-width: 66px;
    min-height: 30px;
    padding: 5px 7px;
    border-radius: 14px;
  }
}
.promo-share-card {
  overflow: hidden;
}
.promo-share-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.promo-share-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-share-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(214,224,245,.95);
  font-size: 12px;
  color: var(--muted);
}
.promo-share-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.promo-share-platform {
  border: 1px solid #dce5f6;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  min-height: 88px;
  box-shadow: 0 10px 26px rgba(15,23,42,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #111827;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.promo-share-platform:hover {
  transform: translateY(-1px);
  border-color: rgba(29,126,247,.32);
  box-shadow: 0 14px 30px rgba(15,23,42,.12);
}
.promo-share-platform-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
  color: #111827;
}
.promo-share-platform-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}
.promo-share-platform-icon.whatsapp {
  color: #25d366;
}
.promo-share-platform-icon.telegram {
  color: #229ed9;
}
.promo-share-platform-icon.facebook {
  color: #1877f2;
}
.promo-share-platform-icon.twitter {
  color: #111827;
}
.promo-share-platform-label {
  font-size: 13px;
  font-weight: 700;
}
.promo-share-limit {
  margin-top: 12px;
}
.promo-share-history {
  margin-top: 14px;
}
.promo-share-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.promo-share-history-title {
  font-weight: 700;
}
.promo-share-history-toggle {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}
.promo-share-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-share-history-list[hidden] {
  display: none !important;
}
.promo-share-history-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  border: 1px solid #e5ebf5;
}
.promo-share-history-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.promo-share-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}
.promo-share-status.pending {
  color: #92400e;
  background: #fef3c7;
}
.promo-share-status.approved {
  color: #166534;
  background: #dcfce7;
}
.promo-share-status.rejected {
  color: #991b1b;
  background: #fee2e2;
}
.promo-share-modal {
  width: min(520px, calc(100vw - 24px));
}
.promo-share-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.promo-share-modal-guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-share-modal-tip {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .promo-share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center; z-index: 2200;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.modal-mask.show { display: flex; pointer-events: auto; }
.modal {
  max-width: 520px;
  width: 100%;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal-mobile {
  border-radius: 18px;
  border: 1px solid #e6e8ee;
}
.modal-grip {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: #d6dce8;
  margin: 2px auto 12px auto;
}
.modal-mobile .row.section {
  justify-content: flex-end;
}
@media (max-width: 560px) {
  .modal-mask {
    align-items: flex-end;
    padding: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .45);
  }
  .modal {
    max-height: calc(100dvh - 12px - env(safe-area-inset-bottom));
  }
  .modal-mobile {
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    max-width: 430px;
    padding: 14px 14px 16px 14px;
    animation: modalUp .18s ease-out;
  }
  .modal-mobile .grid2 {
    grid-template-columns: 1fr;
  }
  .modal-mobile .row.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
@keyframes modalUp {
  from { transform: translateY(14px); opacity: .7; }
  to { transform: translateY(0); opacity: 1; }
}
.notif-badge {
  background: var(--bad); color: #fff; border-radius: 999px; font-size: 12px; padding: 2px 8px;
}

/* coffer-like mobile ui */
.android-app-banner[hidden]{
  display:none !important;
}
.android-app-banner{
  position:sticky;
  top:0;
  z-index:40;
  background:linear-gradient(135deg, #0f8f56 0%, #0c6d43 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(12,109,67,.18);
}
.android-app-banner-inner{
  max-width:430px;
  margin:0 auto;
  padding:calc(10px + env(safe-area-inset-top)) 12px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.android-app-banner-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.android-app-banner-copy strong{
  font-size:14px;
  font-weight:800;
}
.android-app-banner-copy span{
  font-size:12px;
  line-height:1.35;
  color:rgba(255,255,255,.88);
}
.android-app-banner-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.android-app-banner-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:84px;
  padding:9px 12px;
  border-radius:999px;
  background:#fff;
  color:#0c6d43;
  font-weight:800;
  text-decoration:none;
}
.android-app-banner-close{
  color:#fff;
  border-color:rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);
}
@media (max-width: 560px){
  .android-app-banner-inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .android-app-banner-actions{
    width:100%;
  }
  .android-app-banner-link{
    flex:1;
  }
}

/* coffer-like mobile ui */
.mobile-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f3f3f3;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
}
.mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 6px 12px;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.coffer-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ececec;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.coffer-points {
  margin-top: 6px;
  font-size: 38px;
  font-weight: 800;
  color: #202020;
}
.mini-id { font-size: 12px; color: #9b9b9b; margin-top: 4px; }
.coffer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.coffer-action-btn {
  background: #f8f0db;
  color: #3c3c3c;
  border: 1px solid #f0d89a;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.icon-dot {
  color: #347eff;
  font-size: 10px;
}
.invite-chest {
  margin-top: 12px;
  border: 1px solid #e9c96a;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
  padding: 10px 12px;
}
.progress-line {
  margin-top: 8px;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #f3e7c7;
  overflow: hidden;
}
.progress-line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffae00 0%, #f18800 100%);
}
.reward-btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 11px;
  background: linear-gradient(180deg, #ff9d00 0%, #f07b00 100%);
  color: #fff;
  border: 0;
  font-weight: 800;
}
.coffer-news, .coffer-mini {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 12px;
}
.coffer-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  z-index: 100;
}
.coffer-bottom-inner {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-top: 1px solid #ececec;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 8px 10px 8px;
  gap: 6px;
}
.coffer-tab {
  background: transparent;
  color: #7f7f7f;
  border: 0;
  font-size: 12px;
  padding: 6px 4px;
}
.coffer-tab.active {
  color: #e08b00;
  font-weight: 700;
}
.coffer-add {
  margin-top: -30px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  justify-self: center;
  background: radial-gradient(circle at 35% 30%, #ffe6b6 0%, #ffd27d 45%, #f6b640 100%);
  border: 4px solid #fff5dd;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* refined mobile coffer pages */
.mobile-content {
  padding: 10px 10px 92px 10px;
}
.avatar-mini {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7b500;
  color: #1c3d9b;
  border: 2px solid #1c3d9b;
}
.avatar-mini img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.card.soft {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.greet { font-size: 36px; font-weight: 700; color: #222; }
.wave { font-size: 30px; margin-top: 6px; margin-bottom: 10px; }
.big-points {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 52px;
  font-weight: 800;
  color: #1b2f4f;
  line-height: 1;
}
.quick-two {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quick-btn {
  border-radius: 16px;
  border: 1px solid #ebdfbf;
  background: #f6efdf;
  color: #222;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 10px;
}
.quick-ic {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2f6dea;
  color: #fff;
  font-size: 14px;
}
.invite-box {
  margin-top: 14px;
  border: 2px solid #f0a01d;
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}
.invite-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6e6be;
  color: #d68000;
}
.reward-btn {
  margin-top: 14px;
  border-radius: 14px;
  font-size: 25px;
  padding: 14px;
}
.hosting-btn {
  width: 100%;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid #99bcff;
  background: linear-gradient(180deg, #4f8fff 0%, #2f6dea 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  padding: 13px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 16px rgba(47, 109, 234, 0.24);
}
.hosting-ic {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
  line-height: 1;
}
.support-home-btn {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #7bd8b1;
  background: linear-gradient(180deg, #1fc98a 0%, #119a69 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  padding: 13px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 16px rgba(17, 154, 105, 0.24);
}
.support-home-ic {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 14px;
  line-height: 1;
}
.coffer-bottom-inner {
  border-top: 1px solid #ececec;
  background: #f4f4f4;
}
.coffer-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1.25;
  color: #8b8f98;
  gap: 4px;
}
.coffer-tab .tab-ic {
  font-size: 20px;
  line-height: 1;
}
.coffer-tab > span:last-child {
  margin-top: 2px;
}
.coffer-tab.active {
  color: #ff8d00;
}
.coffer-add {
  width: 60px;
  height: 60px;
  margin-top: -28px;
  border: 5px solid #fff2df;
  background: radial-gradient(circle at 35% 30%, #ffe6b6 0%, #ffd27d 45%, #f6b640 100%);
}
.coffer-add-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #1c3d9b;
  color: #ffd464;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mini-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.mini-stat {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}
.mini-stat .v {
  color: #165dff;
  font-size: 34px;
  font-weight: 800;
}
.level-box {
  border: 1px solid #d8e4ff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.level-box.level-a { background: #eef5ff; }
.level-box.level-b { background: #fff; border-color: #e7e7e7; }
.level-rate {
  font-size: 32px;
  font-weight: 800;
  color: #165dff;
}
.team-reward-diagram {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
  padding: 10px;
}
.team-reward-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.list-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.list-line.danger { color: #ef4444; }
.withdraw-profile-view {
  display: grid;
  gap: 8px;
}
.withdraw-profile-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e9edf6;
  background: #f8fbff;
  border-radius: 10px;
  padding: 10px;
}
.withdraw-history-list {
  display: grid;
  gap: 8px;
}
.history-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}
.history-head h2 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1f2f4a;
}
.history-back, .history-filter {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #dce3f5;
  background: #f5f8ff;
  color: #304869;
  padding: 0;
  font-size: 18px;
}
.history-body {
  min-height: 420px;
}
.history-empty {
  text-align: center;
  padding: 40px 10px 24px 10px;
}
.history-empty-icon {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  margin: 0 auto 14px auto;
  background: #f0f3fa;
  color: #90a0bc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.history-no-more {
  text-align: center;
  color: #8f9bb2;
  margin-top: 24px;
  font-size: 18px;
}
.withdraw-item {
  border: 1px solid #e7eaf3;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}
.withdraw-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.withdraw-status {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}
.withdraw-status.wait {
  color: #92400e;
  background: #fff7e6;
  border: 1px solid #f5d9a8;
}
.withdraw-status.ok {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #8fe1b5;
}
.withdraw-status.bad {
  color: #b91c1c;
  background: #fff1f2;
  border: 1px solid #f7b4bb;
}
.center-reward { border: 1px solid #f2d187; }
.reward-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #5a8cff 0%, #9d4edd 100%);
  color: #fff; font-size: 24px;
}
.benefit-card {
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
  border: 1px solid #e5e8ef;
  background: #fff;
}
.pseudo-video-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-color: #ffd9a8;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  cursor: pointer;
}
.pseudo-video-copy {
  min-width: 0;
  flex: 1;
}
.pseudo-video-copy strong {
  display: block;
  margin-bottom: 6px;
}
.pseudo-video-copy .muted {
  margin: 0;
}
.pseudo-video-play-btn {
  flex-shrink: 0;
  min-width: 116px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9f43 0%, #f97316 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.22);
}
.pseudo-video-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}
.benefit-card.blue { border-color: #d7e4ff; }
.benefit-card.purple { border-color: #eadcf8; }
.benefit-card.green { border-color: #d5f0dc; }
.center-note {
  margin-top: 10px;
  border: 1px solid #a6c5ff;
  background: #eef5ff;
  color: #265ec7;
  border-radius: 12px;
  padding: 10px;
}
.center-empty {
  text-align: center;
  padding: 24px;
}
.bound-card-list {
  display: grid;
  gap: 10px;
}
.bound-card {
  padding: 12px;
}
.bound-card.bound-offline {
  border: 1px solid #ffb3b3;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.12);
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
}
.bound-card.bound-normal {
  border: 1px solid #d9e7ff;
}
.bound-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.bound-phone {
  font-size: 16px;
  font-weight: 700;
  color: #1f3558;
  word-break: break-all;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.status-normal {
  color: #0f6f3c;
  border: 1px solid #8ad9af;
  background: #ecfff4;
}
.status-normal .status-dot {
  background: #16a34a;
}
.status-offline {
  color: #b91c1c;
  border: 1px solid #ffb3b3;
  background: #fff0f0;
}
.status-offline .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: offlinePulse 1.4s infinite;
}
@keyframes offlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.48); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.bound-mid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bound-mid > div {
  background: #f7faff;
  border: 1px solid #e5eefc;
  border-radius: 10px;
  padding: 8px;
  font-size: 13px;
}
.bound-bottom {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}
.wa-limit-panel {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe8ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
}
.wa-limit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.wa-limit-title {
  font-size: 13px;
  font-weight: 700;
  color: #1f3558;
}
.wa-limit-note,
.wa-limit-subnote {
  margin-top: 4px;
  font-size: 12px;
  color: #5e6f87;
  line-height: 1.4;
}
.wa-limit-usage {
  min-width: 62px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d6e4ff;
  color: #2d4d7b;
  font-size: 12px;
  font-weight: 700;
}
.wa-limit-switch {
  margin-top: 10px;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d6e4ff;
  flex-wrap: wrap;
}
.wa-limit-btn {
  min-width: 58px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: #507099;
  font-size: 12px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.wa-limit-btn:hover:not(:disabled) {
  background: #edf4ff;
  color: #244a7a;
}
.wa-limit-btn.is-active {
  background: linear-gradient(135deg, #ffb020 0%, #ff7f32 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 141, 44, 0.28);
}
.wa-limit-btn:disabled {
  opacity: 0.6;
}
.bound-action {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.bound-action .warn {
  white-space: nowrap;
}
.bound-action .bad {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .wa-limit-head {
    flex-direction: column;
  }
  .wa-limit-usage {
    min-width: 0;
  }
  .bound-bottom {
    grid-template-columns: 1fr;
  }
  .bound-action {
    justify-content: stretch;
  }
  .bound-action button {
    width: 100%;
  }
}
.phone-prefix-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-add-grid {
  grid-template-columns: 0.95fr 1.45fr;
  gap: 10px;
}
.wa-country-field select {
  max-width: 180px;
}
.register-phone-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.52fr);
  gap: 10px;
  align-items: end;
}
.register-country-field select {
  width: 100%;
  max-width: 170px;
}
.register-phone-field {
  min-width: 0;
}
.register-phone-inline {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.phone-prefix {
  min-width: 58px;
  text-align: center;
  font-weight: 700;
  color: #2d4f86;
  background: #eef4ff;
  border: 1px solid #d9e6ff;
  border-radius: 10px;
  padding: 10px 8px;
}
.phone-prefix-wrap input {
  flex: 1;
}
@media (max-width: 560px) {
  .wa-add-grid {
    grid-template-columns: 0.88fr 1.12fr;
  }
  .register-phone-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  }
  .register-country-field select {
    max-width: 100%;
  }
  .wa-country-field select {
    max-width: 100%;
  }
  /* iOS: prevent auto-zoom on focus by using >=16px controls */
  .modal-mobile input,
  .modal-mobile select,
  .modal-mobile textarea {
    font-size: 16px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 12px;
  }
  .modal-mobile label {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .modal-mobile h3 {
    font-size: 34px;
    margin-bottom: 10px;
  }
  .modal-mobile .muted {
    font-size: 16px;
    line-height: 1.45;
  }
  .phone-prefix {
    min-width: 68px;
    font-size: 16px;
    padding: 11px 10px;
  }
  #wa-country,
  #wa-method,
  #wa-phone {
    font-size: 16px;
  }
}
.empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px auto;
  border-radius: 999px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.tag-btn {
  background: #ff7f00;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
}
.coffer-add.active {
  box-shadow: 0 12px 22px rgba(255,150,0,.35);
}
.news-content-input {
  min-height: 120px;
}
.news-click-item {
  cursor: pointer;
}
.news-click-item:hover {
  opacity: 0.92;
}
.news-home-list {
  display: grid;
  gap: 8px;
}
.news-home-item {
  border: 1px solid #e8edf8;
  background: #f9fbff;
  border-radius: 12px;
  padding: 10px 12px;
  transition: all .15s ease;
}
.news-home-item:hover {
  border-color: #cfdcff;
  background: #f3f7ff;
  transform: translateY(-1px);
}
.news-home-title {
  color: #2b4773;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  word-break: break-word;
}
.news-home-time {
  margin-top: 4px;
  color: #8a97ad;
  font-size: 13px;
}
.news-detail-modal {
  max-height: 82vh;
  overflow-y: auto;
}
.pseudo-video-modal {
  max-width: 430px;
}
.pseudo-video-player-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.pseudo-video-player-wrap video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65dvh;
  background: #000;
}
.news-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.news-detail-head h3 {
  margin: 0;
}
.news-detail-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.support-widget-card {
  max-width: 430px;
}
.support-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.support-widget-messages {
  min-height: 280px;
  max-height: 48vh;
  overflow: auto;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}
.support-widget-row {
  display: flex;
  margin-bottom: 10px;
}
.support-widget-row.mine {
  justify-content: flex-end;
}
.support-widget-bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.support-widget-bubble.mine {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.support-widget-bubble img {
  max-width: 220px;
  border-radius: 12px;
  display: block;
  margin-top: 8px;
}
.support-widget-bubble .time {
  font-size: 12px;
  opacity: .72;
  margin-top: 6px;
}
.support-widget-empty {
  color: var(--muted);
  text-align: center;
  padding: 28px 12px;
}
.support-widget-foot {
  margin-top: 14px;
}
.support-file-input {
  display: none;
}
.support-file-btn {
  white-space: nowrap;
}
.support-file-name {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.login-modal-corner {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.login-modal-support-btn {
  width: auto;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 560px) {
  .pseudo-video-card {
    flex-direction: column;
    align-items: stretch;
  }
  .pseudo-video-play-btn {
    width: 100%;
  }
  .login-modal-corner {
    margin-bottom: 4px;
  }
}

/* website2 visual identity */
.v2-auth-shell,
.v2-dashboard-shell {
  position: relative;
  max-width: 440px;
  background:
    radial-gradient(circle at top left, rgba(107, 247, 255, 0.16), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(132, 118, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #06111f 0%, #090d18 42%, #06070d 100%);
  border: 0;
  overflow: hidden;
}
.v2-auth-shell::before,
.v2-dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  pointer-events: none;
}
.v2-auth-shell::after,
.v2-dashboard-shell::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  opacity: 0.8;
}
.v2-auth-shell,
.v2-auth-shell h1,
.v2-auth-shell h2,
.v2-auth-shell h3,
.v2-dashboard-shell,
.v2-dashboard-shell h1,
.v2-dashboard-shell h2,
.v2-dashboard-shell h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #eef3ff;
}
.v2-auth-shell .muted,
.v2-dashboard-shell .muted,
.v2-auth-shell label,
.v2-dashboard-shell label,
.v2-auth-shell p,
.v2-dashboard-shell p {
  color: rgba(214, 223, 242, 0.72);
}
.v2-auth-topbar,
.v2-dashboard-head {
  position: relative;
  z-index: 2;
  padding: 18px 18px 8px;
  background: transparent;
  border-bottom: 0;
  align-items: flex-start;
}
.v2-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.v2-brand-chip strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v2-brand-overline {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(168, 240, 255, 0.76);
}
.v2-avatar-mini {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(150, 232, 255, 0.34);
  background:
    radial-gradient(circle at 35% 30%, rgba(109, 247, 255, 0.34), rgba(109, 247, 255, 0.06)),
    rgba(11, 21, 38, 0.82);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}
.v2-avatar-mini img {
  width: 66%;
  height: 66%;
  object-fit: contain;
}
.v2-locale-wrap {
  min-width: 124px;
}
.v2-auth-shell [data-lang-switch],
.v2-dashboard-shell [data-lang-switch] {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(154, 176, 222, 0.18);
  background: rgba(10, 18, 32, 0.78);
  color: #f7f9ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.v2-auth-content,
.v2-dashboard-content {
  position: relative;
  z-index: 2;
}
.v2-auth-content {
  padding: 10px 18px 34px;
}
.v2-auth-shell .card.soft,
.v2-dashboard-shell .card.soft {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(8, 16, 31, 0.88);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.v2-auth-hero,
.v2-auth-card {
  padding: 22px;
}
.v2-auth-kicker,
.v2-auth-card-kicker,
.v2-overline {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(123, 239, 255, 0.86);
}
.v2-auth-hero h1 {
  margin-bottom: 12px;
  font-size: 36px;
  line-height: 1;
}
.v2-auth-balance {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(117, 124, 255, 0.18), rgba(109, 247, 255, 0.08));
}
.v2-auth-balance-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(214, 223, 242, 0.6);
}
.v2-auth-balance strong {
  font-size: 28px;
  line-height: 1;
}
.v2-auth-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.v2-auth-preview-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.v2-auth-preview-pill span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: rgba(214, 223, 242, 0.6);
}
.v2-auth-preview-pill strong {
  font-size: 16px;
}
.v2-auth-card {
  margin-top: 14px;
}
.v2-auth-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.v2-auth-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #89f5ff;
  font-weight: 700;
}
.v2-inline-support-btn {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef3ff;
}
.v2-primary-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7cf2ff 0%, #7d74ff 55%, #b75dff 100%);
  color: #041121;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(125, 116, 255, 0.3);
}
.v2-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v2-auth-shell input,
.v2-auth-shell select,
.v2-dashboard-shell input,
.v2-dashboard-shell select,
.v2-dashboard-shell textarea,
#new-user-modal select {
  border-radius: 16px;
  border: 1px solid rgba(161, 179, 216, 0.18);
  background: rgba(11, 19, 34, 0.92);
  color: #f7f9ff;
  padding: 12px 14px;
}
.v2-auth-shell input::placeholder,
.v2-dashboard-shell input::placeholder,
.v2-dashboard-shell textarea::placeholder {
  color: rgba(213, 222, 241, 0.42);
}
.v2-auth-shell button.ghost,
.v2-dashboard-shell button.ghost,
.v2-modal-card button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #eef3ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.v2-modal-card,
#add-modal .card,
#pwd-modal .card,
#qr-modal .card,
#relogin-modal .card,
#verify-withdraw-modal .card,
#news-detail-modal .card,
#login-task-modal .card,
#pseudo-video-modal .card,
#promo-share-modal .card,
#support-widget-modal .card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    rgba(9, 17, 31, 0.96);
  color: #eef3ff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
#add-modal .muted,
#pwd-modal .muted,
#qr-modal .muted,
#relogin-modal .muted,
#verify-withdraw-modal .muted,
#news-detail-modal .muted,
#login-task-modal .muted,
#pseudo-video-modal .muted,
#promo-share-modal .muted,
#support-widget-modal .muted {
  color: rgba(214, 223, 242, 0.68);
}
#support-widget-messages,
.support-widget-messages {
  background: rgba(4, 10, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.07);
}
.support-widget-bubble {
  background: rgba(255, 255, 255, 0.06);
  color: #eef3ff;
  border-color: rgba(255, 255, 255, 0.08);
}
.support-widget-bubble.mine {
  background: linear-gradient(135deg, #7cf2ff 0%, #7d74ff 100%);
  color: #041121;
  border-color: transparent;
}
.v2-dashboard-content {
  padding: 12px 14px 120px;
}
.v2-dashboard-shell .mobile-content {
  padding-bottom: 120px;
}
.v2-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7cf2ff;
  box-shadow: 0 0 0 6px rgba(124, 242, 255, 0.14);
}
.v2-head-side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v2-head-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}
.v2-deck-frame {
  position: relative;
}
.v2-tab-deck {
  position: relative;
  min-height: 420px;
  transition: height 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  perspective: 1200px;
}
.v2-tab-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 38px, 0) scale(0.96) rotateX(14deg);
  transform-origin: center top;
  filter: blur(16px);
  transition:
    opacity 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.44s ease;
}
.v2-tab-page.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
  filter: blur(0);
  z-index: 3;
}
.v2-tab-page.is-exit-left {
  opacity: 0;
  transform: translate3d(-18%, -12px, -80px) scale(0.92) rotateY(16deg);
  filter: blur(10px);
  z-index: 1;
}
.v2-tab-page.is-exit-right {
  opacity: 0;
  transform: translate3d(18%, -12px, -80px) scale(0.92) rotateY(-16deg);
  filter: blur(10px);
  z-index: 1;
}
.v2-tab-page.is-enter-left {
  opacity: 0;
  transform: translate3d(-20%, 24px, -80px) scale(0.9) rotateY(-18deg);
  filter: blur(14px);
  z-index: 2;
}
.v2-tab-page.is-enter-right {
  opacity: 0;
  transform: translate3d(20%, 24px, -80px) scale(0.9) rotateY(18deg);
  filter: blur(14px);
  z-index: 2;
}
.v2-dashboard-shell .card.soft {
  padding: 18px;
}
.v2-dashboard-shell .greet {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 0.98;
  color: #f8fbff;
}
.v2-dashboard-shell .wave {
  display: none;
}
.v2-dashboard-shell .big-points {
  font-size: 48px;
  color: #f8fbff;
}
.v2-dashboard-shell .quick-two {
  margin-top: 18px;
  gap: 12px;
}
.v2-dashboard-shell .quick-btn,
.v2-dashboard-shell .reward-btn,
.v2-dashboard-shell .hosting-btn,
.v2-dashboard-shell .support-home-btn {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.v2-dashboard-shell .quick-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #eef3ff;
}
.v2-dashboard-shell .quick-ic {
  background: linear-gradient(135deg, #7cf2ff, #7d74ff);
  color: #041121;
}
.v2-dashboard-shell .reward-btn {
  background: linear-gradient(135deg, #7cf2ff 0%, #7d74ff 55%, #b75dff 100%);
  color: #041121;
}
.v2-dashboard-shell .hosting-btn {
  background: linear-gradient(135deg, rgba(125, 116, 255, 0.24), rgba(124, 242, 255, 0.12));
}
.v2-dashboard-shell .support-home-btn {
  background: linear-gradient(135deg, rgba(109, 247, 255, 0.16), rgba(30, 196, 143, 0.22));
}
.v2-dashboard-shell .stat,
.v2-dashboard-shell .benefit-card,
.v2-dashboard-shell .level-box,
.v2-dashboard-shell .promo-share-platform,
.v2-dashboard-shell .promo-share-badge,
.v2-dashboard-shell .tag-btn,
.v2-dashboard-shell .list-line,
.v2-dashboard-shell .withdraw-profile-item,
.v2-dashboard-shell .input-like,
.v2-dashboard-shell .history-head,
.v2-dashboard-shell .history-body {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #eef3ff;
}
.v2-dashboard-shell .promo-share-platform-icon {
  background: rgba(4, 10, 20, 0.66);
  border-color: rgba(255, 255, 255, 0.08);
}
.v2-dashboard-shell .coffer-bottom {
  left: 0;
  right: 0;
  bottom: 14px;
  padding: 0 12px;
  background: transparent;
}
.v2-dashboard-shell .coffer-bottom-inner {
  max-width: 412px;
  margin: 0 auto;
  padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
    rgba(8, 16, 31, 0.9);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}
.v2-dashboard-shell .coffer-tab {
  gap: 6px;
  color: rgba(214, 223, 242, 0.58);
  border-radius: 16px;
  padding: 10px 4px;
}
.v2-dashboard-shell .coffer-tab.active {
  color: #7cf2ff;
  background: rgba(124, 242, 255, 0.08);
}
.v2-dashboard-shell .coffer-tab .tab-ic {
  font-size: 18px;
}
.v2-dashboard-shell .coffer-add {
  width: 64px;
  height: 64px;
  margin-top: -34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #7cf2ff 0%, #7d74ff 50%, #b75dff 100%);
  box-shadow: 0 18px 32px rgba(125, 116, 255, 0.38);
}
.v2-dashboard-shell .coffer-add-icon {
  background: rgba(4, 10, 20, 0.86);
  color: #eef3ff;
}
.v2-dashboard-shell .team-reward-diagram img,
.v2-dashboard-shell #promo-qr-img,
.v2-dashboard-shell #task-qr-img {
  background: rgba(4, 10, 20, 0.66);
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.v2-dashboard-shell .list-line.danger {
  color: #ffc3d5;
}
.v2-dashboard-shell .center-note {
  color: rgba(214, 223, 242, 0.64);
}
.v2-dashboard-shell .news-home-item,
.v2-dashboard-shell .news-click-item.card,
.v2-dashboard-shell .withdraw-item,
.v2-dashboard-shell .bound-mid > div,
.v2-dashboard-shell .wa-limit-panel,
.v2-dashboard-shell .wa-limit-usage,
.v2-dashboard-shell .wa-limit-switch,
.v2-dashboard-shell .history-empty-icon,
.v2-dashboard-shell .center-note,
.v2-dashboard-shell .promo-share-history-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #eef3ff !important;
}
.v2-dashboard-shell .news-home-item:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(124, 242, 255, 0.18) !important;
}
.v2-dashboard-shell .news-click-item.card:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(124, 242, 255, 0.18) !important;
}
.v2-dashboard-shell .news-home-title,
.v2-dashboard-shell .news-click-item.card h3,
.v2-dashboard-shell .bound-phone,
.v2-dashboard-shell .wa-limit-title,
.v2-dashboard-shell .withdraw-item-top strong,
.v2-dashboard-shell .promo-share-history-title,
.v2-dashboard-shell .promo-share-history-main {
  color: #f7fbff !important;
}
.v2-dashboard-shell .news-home-time,
.v2-dashboard-shell .wa-limit-note,
.v2-dashboard-shell .wa-limit-subnote,
.v2-dashboard-shell .history-no-more,
.v2-dashboard-shell .promo-share-history-empty,
.v2-dashboard-shell .promo-share-modal-tip {
  color: rgba(214, 223, 242, 0.68) !important;
}
.v2-dashboard-shell .bound-card.bound-normal {
  background: linear-gradient(180deg, rgba(18, 31, 54, 0.92) 0%, rgba(10, 20, 36, 0.98) 100%) !important;
  border-color: rgba(124, 242, 255, 0.14) !important;
}
.v2-dashboard-shell .bound-card.bound-offline {
  background: linear-gradient(180deg, rgba(60, 19, 30, 0.92) 0%, rgba(30, 12, 18, 0.98) 100%) !important;
  border-color: rgba(255, 123, 161, 0.24) !important;
}
.v2-dashboard-shell .history-empty-icon {
  color: rgba(214, 223, 242, 0.72) !important;
}
.v2-dashboard-shell .wa-limit-btn {
  color: rgba(214, 223, 242, 0.82);
}
.v2-dashboard-shell .wa-limit-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
}
.v2-dashboard-shell .history-empty h3,
.v2-dashboard-shell .center-empty h3 {
  color: #f7fbff;
}
.v2-dashboard-shell .news-click-item.card.section h3 {
  color: #f7fbff;
}
.v2-dashboard-shell .news-click-item.card.section .muted,
.v2-dashboard-shell .withdraw-item .muted {
  color: rgba(214, 223, 242, 0.68);
}
.v2-dashboard-shell .tag.ok {
  color: #8fffd0;
  border-color: rgba(89, 255, 182, 0.42);
  background: rgba(29, 173, 106, 0.18);
}
.v2-dashboard-shell .tag.off {
  color: #ffb7ca;
  border-color: rgba(255, 123, 161, 0.38);
  background: rgba(164, 32, 86, 0.2);
}
@media (max-width: 560px) {
  .v2-auth-content {
    padding: 8px 14px 30px;
  }
  .v2-dashboard-content {
    padding: 10px 10px 116px;
  }
  .v2-auth-hero h1 {
    font-size: 31px;
  }
  .v2-auth-preview-grid {
    grid-template-columns: 1fr;
  }
  .v2-dashboard-shell .big-points {
    font-size: 42px;
  }
}
