/* =========================================================
  科技感增强层 + 新页面组件（转盘 / 提现 / 多语言）
   ========================================================= */

:root {
  --neon: #7b5cff;
  --neon-2: #37d7c9;
  --grid-line: rgba(140, 160, 255, 0.07);
}

/* ---------- 背景：粒子网络 + 网格 + 光晕 ---------- */

#fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.75;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 55% at 18% 30%, rgba(123, 92, 255, 0.22), transparent 65%),
    radial-gradient(30% 45% at 82% 10%, rgba(242, 200, 121, 0.14), transparent 60%),
    radial-gradient(30% 40% at 60% 70%, rgba(55, 215, 201, 0.1), transparent 65%);
  filter: blur(10px);
  animation: auroraFloat 16s ease-in-out infinite alternate;
}

@keyframes auroraFloat {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.06);
  }
}

.nav,
main,
footer,
.admin-shell,
.login-wrap {
  position: relative;
  z-index: 1;
}

/* ---------- 顶部中奖播报 ---------- */

.ticker {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 17, 0.72);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
}

.ticker-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.ticker-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker-track {
  display: inline-flex;
  gap: 34px;
  white-space: nowrap;
  animation: tickerMove 32s linear infinite;
  font-size: 12px;
  color: var(--muted);
}

.ticker-item b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.ticker-item span {
  color: var(--muted-2);
  margin-left: 6px;
  font-size: 11px;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 语言切换 ---------- */

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%238b97b0' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E")
    no-repeat right 9px center;
  border: 1px solid var(--line-strong);
  color: var(--txt);
  border-radius: 9px;
  padding: 7px 26px 7px 11px;
  font-size: 12px;
  cursor: pointer;
  outline: none;
  max-width: 128px;
}

.lang-select:hover {
  border-color: rgba(242, 200, 121, 0.45);
}

[dir="rtl"] .lang-select {
  padding: 7px 11px 7px 26px;
  background-position: left 9px center;
}

/* ---------- 科技感卡片角标 ---------- */

.hud {
  position: relative;
}

.hud::before,
.hud::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(242, 200, 121, 0.55);
  pointer-events: none;
}

.hud::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 14px;
}

.hud::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 14px;
}

/* ---------- 首屏增强 ---------- */

.hero {
  padding-top: 64px;
}

.hero::before {
  opacity: 0.85;
}

h1 {
  text-shadow: 0 0 40px rgba(123, 92, 255, 0.18);
}

h1 .hl {
  position: relative;
  filter: drop-shadow(0 0 18px rgba(242, 200, 121, 0.35));
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chain-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.chain-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-2);
  box-shadow: 0 0 8px var(--neon-2);
}

.stat {
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 200, 121, 0.6), transparent);
  opacity: 0.5;
}

.stat .v {
  font-family: var(--mono);
  letter-spacing: -1px;
}

/* 主卡片：环形光晕 + 扫描线 */

.bonus-card {
  isolation: isolate;
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(242, 200, 121, 0.65), rgba(123, 92, 255, 0.35) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bonus-card .scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.bonus-card .scan::before {
  content: "";
  position: absolute;
  left: -40%;
  top: -60%;
  width: 60%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: rotate(12deg);
  animation: scanPass 6s ease-in-out infinite;
}

@keyframes scanPass {
  0%, 100% { transform: translateX(0) rotate(12deg); opacity: 0; }
  35% { opacity: 1; }
  70% { transform: translateX(260%) rotate(12deg); opacity: 0; }
}

.big-rate .n {
  font-family: var(--mono);
  text-shadow: 0 0 30px rgba(242, 200, 121, 0.35);
}

/* ---------- 区块小标题（编号） ---------- */

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.sec-label b {
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 700;
}

.sec-label::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 200, 121, 0.6), transparent);
}

/* ---------- 步骤卡片：连线 ---------- */

.steps {
  position: relative;
}

.step {
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step:hover {
  border-color: rgba(123, 92, 255, 0.45);
  transform: translateY(-2px);
}

.step .num {
  font-family: var(--mono);
  box-shadow: 0 0 22px rgba(242, 200, 121, 0.18);
}

/* ---------- 转盘 ---------- */

.wheel-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: center;
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 0 10px;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.wheel-ring {
  position: absolute;
  width: min(430px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(242, 200, 121, 0.22);
  animation: spinSlow 26s linear infinite;
}

.wheel-ring.r2 {
  width: min(480px, 100%);
  border-style: solid;
  border-color: rgba(123, 92, 255, 0.16);
  animation-direction: reverse;
  animation-duration: 40s;
}

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

.wheel-box {
  position: relative;
  width: min(380px, 88vw);
  aspect-ratio: 1;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
}

.wheel-svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transition: transform 5.6s cubic-bezier(0.1, 0.72, 0.05, 1);
  will-change: transform;
}

.wheel-hub {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #1b2440, #0a0e1a 70%);
  border: 1px solid rgba(242, 200, 121, 0.5);
  box-shadow: 0 0 40px rgba(242, 200, 121, 0.22), inset 0 0 22px rgba(123, 92, 255, 0.25);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  text-align: center;
  line-height: 1.2;
  padding: 6px;
}

.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 20px solid var(--gold);
  filter: drop-shadow(0 4px 10px rgba(242, 200, 121, 0.55));
  z-index: 3;
}

.wheel-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.wheel-status {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.wheel-status b {
  color: var(--gold);
  font-family: var(--mono);
}

.btn-spin {
  font-size: 15px;
  padding: 15px 24px;
  letter-spacing: 0.6px;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.prize-chip {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.02);
}

.prize-chip b {
  display: block;
  color: var(--gold);
  font-size: 14px;
  font-family: var(--mono);
}

.lock-box {
  border: 1px dashed rgba(242, 200, 121, 0.35);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  background: rgba(242, 200, 121, 0.04);
}

.lock-box p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
}

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

.win-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 13px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.02);
}

.win-item b {
  color: var(--gold);
  font-family: var(--mono);
}

.win-item time {
  color: var(--muted-2);
  font-size: 11px;
}

/* ---------- 提现 ---------- */

.short-card {
  border: 1px solid rgba(255, 107, 129, 0.35);
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.1), rgba(242, 200, 121, 0.06));
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.short-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #ffc2cb;
}

.short-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.short-card b {
  color: var(--gold);
  font-family: var(--mono);
}

.gap-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 10px 0 16px;
}

.gap-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 14px rgba(242, 200, 121, 0.6);
  transition: width 0.6s ease;
}

.balance-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.12), rgba(242, 200, 121, 0.05));
}

.balance-hero .label {
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.balance-hero .num {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.balance-hero .num small {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 600;
}

/* ---------- 表格 / 状态补充 ---------- */

table.data td .mini {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
}

.badge.spin {
  color: #d6c2ff;
  border-color: rgba(123, 92, 255, 0.4);
  background: rgba(123, 92, 255, 0.14);
}

/* ---------- 首页转盘入口装饰 ---------- */

.wheel-mini {
  position: relative;
  width: 178px;
  aspect-ratio: 1;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(
    from 0deg,
    #1a2440 0deg 45deg,
    #101728 45deg 90deg,
    #1d1830 90deg 135deg,
    #101728 135deg 180deg,
    #1a2440 180deg 225deg,
    #101728 225deg 270deg,
    #1d1830 270deg 315deg,
    #101728 315deg 360deg
  );
  border: 1px solid rgba(242, 200, 121, 0.45);
  box-shadow: 0 0 50px rgba(242, 200, 121, 0.18), inset 0 0 40px rgba(123, 92, 255, 0.25);
  display: grid;
  place-items: center;
  animation: wheelFloat 7s ease-in-out infinite;
}

.wheel-mini::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.wheel-mini::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 14px solid var(--gold);
  filter: drop-shadow(0 3px 8px rgba(242, 200, 121, 0.6));
}

.wheel-mini span {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  line-height: 1;
  text-shadow: 0 0 24px rgba(242, 200, 121, 0.45);
}

.wheel-mini small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

@keyframes wheelFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* ---------- 首屏转盘入口装饰 ---------- */

.ticker[hidden] {
  display: none;
}

/* ---------- RTL（阿拉伯语）数字隔离 ---------- */

[dir="rtl"] .mini-table td,
[dir="rtl"] .tier .amount,
[dir="rtl"] .tier .gift,
[dir="rtl"] .calc-row b,
[dir="rtl"] .stat .v,
[dir="rtl"] .big-rate,
[dir="rtl"] .prize-chip,
[dir="rtl"] .balance-hero .num,
[dir="rtl"] .win-item b,
[dir="rtl"] .kv .v,
[dir="rtl"] .recent-item,
[dir="rtl"] .address-box code,
[dir="rtl"] .me-nums b,
[dir="rtl"] #myCid {
  direction: ltr;
  unicode-bidi: plaintext;
}

[dir="rtl"] .tier,
[dir="rtl"] .mini-table th,
[dir="rtl"] .mini-table td {
  text-align: right;
}

[dir="rtl"] .tier .gift,
[dir="rtl"] .tier .amount,
[dir="rtl"] .calc-row b,
[dir="rtl"] .mini-table td,
[dir="rtl"] .stat .v {
  text-align: right;
}

/* =========================================================
   头部主按钮：充值 / 抽奖
   ========================================================= */

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-cta {
  position: relative;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.btn-cta svg {
  width: 15px;
  height: 15px;
  flex: none;
}

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

.btn-deposit-cta {
  color: #9bf3d4;
  background: rgba(46, 230, 168, 0.1);
  border-color: rgba(46, 230, 168, 0.45);
}

.btn-deposit-cta:hover {
  background: rgba(46, 230, 168, 0.18);
  border-color: rgba(46, 230, 168, 0.7);
  box-shadow: 0 0 26px rgba(46, 230, 168, 0.22);
}

.btn-wheel-cta {
  color: #1a1206;
  background: linear-gradient(135deg, #ffe0a0, #e8ab44 60%, #d1922f);
  box-shadow: 0 10px 26px rgba(232, 171, 68, 0.32);
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.btn-wheel-cta:hover {
  box-shadow: 0 14px 36px rgba(232, 171, 68, 0.55);
}

.btn-wheel-cta .cta-badge {
  position: absolute;
  top: -7px;
  right: -6px;
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.8px;
  line-height: 1.5;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff5c7a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 92, 122, 0.45);
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(232, 171, 68, 0.3);
  }
  50% {
    box-shadow: 0 10px 34px rgba(232, 171, 68, 0.62);
  }
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  border: 1px solid rgba(242, 200, 121, 0.32);
  background: rgba(242, 200, 121, 0.08);
  border-radius: 8px;
  padding: 5px 8px;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .btn-cta {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .nav-account {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav-cta {
    gap: 6px;
  }
  .btn-cta {
    padding: 8px 9px;
    font-size: 11.5px;
    border-radius: 10px;
  }
  .btn-cta svg {
    width: 13px;
    height: 13px;
  }
  .btn-deposit-cta span {
    display: none;
  }
  .btn-deposit-cta {
    padding: 8px 9px;
  }
  .btn-wheel-cta .cta-badge {
    font-size: 7.5px;
    top: -6px;
    right: -4px;
  }
}

/* =========================================================
   单页首页：顶部转盘 + 人机验证 + 入金
   ========================================================= */

.hero-grid-wheel {
  align-items: start;
  gap: 36px;
}

.hero-grid-wheel .hero-copy {
  padding-top: 14px;
}

.wheel-card {
  position: relative;
  border: 1px solid rgba(242, 200, 121, 0.28);
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: linear-gradient(165deg, rgba(18, 24, 40, 0.94), rgba(10, 14, 24, 0.97));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wheel-card::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(242, 200, 121, 0.2), transparent 65%);
  pointer-events: none;
}

.wheel-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.wheel-card-head h2 {
  margin: 2px 0 0;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.wheel-card-head .badge {
  margin-top: 6px;
}

.wheel-box-sm {
  width: min(300px, 76%);
  margin: 4px auto 8px;
}

.wheel-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.wheel-balance {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--gold);
  font-size: 13px;
}

.section-tight {
  padding-top: 18px;
}

/* 人机验证遮罩 */

.verify-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 9, 16, 0.42);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.verify-cover.gone {
  opacity: 0;
  transform: scale(0.93);
  pointer-events: none;
}

.verify-cover.instant {
  transition: none;
}

.verify-card {
  width: 88%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 13px;
  background: rgba(12, 16, 27, 0.95);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.verify-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted-2);
  margin-bottom: 9px;
  font-weight: 700;
}

.verify-brand i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), var(--violet));
}

.verify-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 10px 11px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  user-select: none;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.verify-row:hover,
.verify-row:focus-visible {
  border-color: rgba(242, 200, 121, 0.55);
  background: rgba(242, 200, 121, 0.06);
}

.robot-box {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.verify-row.checking .robot-box {
  border-radius: 50%;
  border-color: rgba(242, 200, 121, 0.8);
  border-top-color: transparent;
  animation: spinVerify 0.7s linear infinite;
}

.verify-row.ok .robot-box {
  border-color: var(--green);
  background: var(--green);
}

.verify-row.ok .robot-box::after {
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  color: #04150f;
}

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

.verify-note {
  margin: 9px 0 0;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

@media (max-width: 960px) {
  .wheel-card {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-grid-wheel {
    gap: 26px;
  }
}

/* =========================================================
   首屏抽奖区（置顶、大转盘）+ 量化概览
   ========================================================= */

.spin-hero {
  position: relative;
  padding: 26px 0 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 20% 10%, rgba(123, 92, 255, 0.18), transparent 65%),
    radial-gradient(50% 70% at 85% 0%, rgba(242, 200, 121, 0.14), transparent 60%),
    rgba(6, 9, 16, 0.55);
  overflow: hidden;
}

.spin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
}

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

.wheel-xl {
  width: min(430px, 88%);
}

.spin-panel {
  position: relative;
  border: 1px solid rgba(242, 200, 121, 0.26);
  border-radius: 20px;
  padding: 20px 22px;
  background: linear-gradient(165deg, rgba(18, 24, 40, 0.95), rgba(10, 14, 24, 0.97));
  box-shadow: var(--shadow);
}

.spin-title {
  margin: 2px 0 4px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.4px;
}

.spin-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

/* 人机验证（内联，验证后平滑收起） */

.verify-inline {
  border: 1px dashed rgba(242, 200, 121, 0.35);
  border-radius: 13px;
  padding: 12px 13px;
  margin-bottom: 14px;
  background: rgba(242, 200, 121, 0.04);
  max-height: 220px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.7s ease, opacity 0.6s ease, margin 0.7s ease,
    padding 0.7s ease, border-width 0.7s ease;
}

.verify-inline.gone {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.verify-inline.instant {
  transition: none;
}

.verify-inline .verify-row {
  margin-top: 8px;
}

.verify-inline .verify-note {
  margin-top: 8px;
}

/* 中奖特效 */

.win-fx {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.win-fx.show {
  opacity: 1;
}

.win-card {
  position: relative;
  z-index: 2;
  min-width: 230px;
  padding: 22px 30px;
  text-align: center;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 214, 140, 0.85);
  background: linear-gradient(160deg, rgba(72, 53, 20, 0.98), rgba(26, 20, 12, 0.99));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 70px rgba(242, 200, 121, 0.55),
    inset 0 0 34px rgba(242, 200, 121, 0.18);
  transform: scale(0.82) translateY(10px);
  transition: transform 0.45s cubic-bezier(0.18, 1.3, 0.4, 1);
}

.win-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 26px;
  border: 1px solid rgba(242, 200, 121, 0.35);
  animation: winRing 1.9s ease-out infinite;
  pointer-events: none;
}

@keyframes winRing {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.14);
    opacity: 0;
  }
}

.win-fx.show .win-card {
  transform: scale(1) translateY(0);
}

.win-label {
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.win-amount {
  font-family: var(--mono);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 6px 0 4px;
  color: #fff3d4;
  text-shadow: 0 0 26px rgba(242, 200, 121, 0.7), 0 0 60px rgba(242, 200, 121, 0.4);
}

.win-amount small {
  font-size: 15px;
  margin-left: 6px;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
}

.win-note {
  font-size: 11.5px;
  color: var(--muted);
}

.win-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
}

.win-confetti span {
  position: absolute;
  top: -14px;
  width: 7px;
  height: 12px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 1.9s ease-in forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(430px) rotate(680deg);
    opacity: 0;
  }
}

/* 量化概览条 */

.quant-band {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 19, 0.55);
  padding: 26px 0;
}

.quant-band-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 34px;
  align-items: center;
}

.qb-title {
  margin: 8px 0 8px;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.qb-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 560px;
}

.qb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.qb-stats .stat {
  padding: 12px 14px;
}

.qb-stats .stat .v {
  font-size: 19px;
}

@media (max-width: 960px) {
  .spin-grid,
  .quant-band-in {
    grid-template-columns: 1fr;
  }
  .spin-visual {
    min-height: 0;
    padding: 6px 0 2px;
    order: -1;
  }
  .spin-panel {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .wheel-xl {
    width: min(330px, 82vw);
  }
  .spin-hero {
    padding-top: 18px;
  }
}

@media (max-width: 560px) {
  .win-amount {
    font-size: 40px;
  }
  .spin-panel {
    padding: 16px;
  }
  .qb-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   紧凑首屏：转盘收进抽奖面板
   ========================================================= */

.spin-hero {
  padding: 20px 0 26px;
}

.spin-grid {
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 34px;
  align-items: center;
}

.spin-copy {
  max-width: 560px;
}

.spin-headline {
  margin: 14px 0 12px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.8px;
}

.spin-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 520px;
}

.spin-stats {
  margin-top: 22px;
  max-width: 520px;
}

.spin-stats .stat {
  padding: 10px 12px;
}

.spin-stats .stat .v {
  font-size: 18px;
}

.spin-panel {
  padding: 14px 18px 16px;
}

.spin-wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2px 0 6px;
  margin-bottom: 6px;
}

.spin-wheel-wrap .wheel-ring {
  width: min(280px, 74%);
}

.spin-wheel-wrap .wheel-ring.r2 {
  width: min(322px, 84%);
}

.wheel-sm {
  width: min(236px, 62%);
}

.spin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.verify-inline {
  margin-bottom: 10px;
  padding: 10px 12px;
}

.verify-inline .verify-note {
  font-size: 10px;
}

.wheel-player {
  margin: 4px 0 10px;
}

.wheel-actions .btn-spin {
  padding: 12px 20px;
}

.prize-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.prize-chip {
  padding: 6px 4px;
  font-size: 10.5px;
}

.prize-chip b {
  font-size: 12.5px;
}

/* 小转盘里的中奖卡片 */

.win-card {
  min-width: 182px;
  padding: 14px 18px;
}

.win-amount {
  font-size: 38px;
}

.win-label {
  font-size: 9.5px;
  letter-spacing: 1.8px;
}

.win-note {
  font-size: 10px;
}

.win-card::before {
  inset: -10px;
  border-radius: 20px;
}

@media (max-width: 960px) {
  .spin-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .spin-panel {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .spin-copy {
    max-width: none;
  }
  .spin-headline {
    font-size: clamp(26px, 6vw, 34px);
  }
  .spin-stats {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .spin-hero {
    padding-top: 14px;
  }
  .wheel-sm {
    width: min(206px, 64%);
  }
  .win-amount {
    font-size: 32px;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .wheel-shell {
    grid-template-columns: 1fr;
  }
  .wheel-stage {
    order: -1;
  }
  .prize-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nav-right .lang-select {
    max-width: 104px;
  }
}

@media (max-width: 560px) {
  .ticker-label {
    padding-left: 20px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .lang-select {
    max-width: 88px;
    font-size: 11px;
    padding-left: 8px;
    padding-right: 22px;
  }
  .prize-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .balance-hero .num {
    font-size: 27px;
  }
  .wheel-box {
    width: min(320px, 84vw);
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .wheel-ring,
  body::after,
  .bonus-card .scan::before {
    animation: none !important;
  }
}

/* =========================================================
   量化首页组件
   ========================================================= */

.lang-select {
  color-scheme: dark;
}

.lang-select option {
  background: #0e1424;
  color: #eaf0fb;
}

.hero-quant {
  padding: 58px 0 26px;
}

.hero-quant h1 {
  margin: 16px 0 14px;
}

.perf-panel {
  border: 1px solid rgba(242, 200, 121, 0.3);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(18, 24, 40, 0.92), rgba(12, 16, 28, 0.92));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.perf-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(242, 200, 121, 0.18), transparent 65%);
  pointer-events: none;
}

.perf-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.perf-head h3 {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.perf-big {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 12px;
}

.perf-big .n {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(242, 200, 121, 0.3);
}

.perf-big .u {
  color: var(--muted);
  font-size: 13px;
}

.perf-big .up {
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--mono);
}

.chart {
  width: 100%;
  height: 168px;
  display: block;
  margin: 4px 0 12px;
}

.chart .area {
  fill: url(#chartGrad);
}

.chart .line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(242, 200, 121, 0.5));
}

.chart .grid {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.perf-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(3, 6, 12, 0.6);
}

.perf-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 600;
}

.perf-tabs button.on {
  background: rgba(242, 200, 121, 0.16);
  color: var(--gold);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.metric .k {
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.metric .v {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.metric .v.green {
  color: var(--green);
}

.metric .v.gold {
  color: var(--gold);
}

.strategies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.strategy {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.strategy:hover {
  border-color: rgba(123, 92, 255, 0.45);
  transform: translateY(-2px);
}

.strategy .name {
  font-size: 15px;
  font-weight: 700;
}

.strategy .risk {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: 2px;
}

.strategy .num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.8px;
  margin-top: 10px;
}

.strategy .num small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 3px;
}

.strategy .sub {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
}

.strategy .sub b {
  color: var(--txt);
  font-family: var(--mono);
  font-weight: 600;
}

.spark {
  width: 100%;
  height: 40px;
  margin-top: 10px;
  display: block;
}

.funding-band {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(242, 200, 121, 0.08), rgba(18, 24, 40, 0.75));
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.funding-band h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.funding-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 620px;
}

.funding-band .rate-line {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  margin-top: 10px;
}

.hold-card {
  border-color: rgba(123, 92, 255, 0.42);
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.16), rgba(18, 24, 40, 0.7));
}

.hold-card h3 {
  color: #cdbcff;
}

.guest-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px dashed rgba(242, 200, 121, 0.35);
  border-radius: 12px;
  background: rgba(242, 200, 121, 0.05);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .strategies {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .perf-big .n {
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .strategies {
    grid-template-columns: 1fr;
  }
  .funding-band {
    padding: 22px;
  }
  .nav-in {
    gap: 8px;
    height: 62px;
  }
  .brand span {
    font-size: 13.5px;
  }
  .brand small {
    display: none;
  }
  #accountBtn {
    display: none;
  }
  .nav-right {
    gap: 6px;
  }
  .nav-right .lang-select {
    max-width: 76px;
    padding-right: 20px;
  }
  .nav-right .btn-gold {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* 最终覆盖：面板内小转盘尺寸（放最后确保优先级） */
.spin-panel .wheel-sm {
  width: min(236px, 62%);
}

.win-fx .win-amount {
  font-size: 38px;
}

@media (max-width: 960px) {
  .spin-panel .wheel-sm {
    width: min(220px, 62%);
  }
}

@media (max-width: 560px) {
  .spin-panel .wheel-sm {
    width: min(204px, 64%);
  }
  .win-fx .win-amount {
    font-size: 32px;
  }
}

/* =========================================================
   绑定邮箱弹窗
   ========================================================= */

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-mask.open {
  opacity: 1;
}

.modal-mask[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid rgba(242, 200, 121, 0.35);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(22, 27, 42, 0.98), rgba(10, 13, 22, 0.99));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(242, 200, 121, 0.12);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.2, 1.2, 0.4, 1);
}

.modal-mask.open .modal-card {
  transform: none;
}

.modal-card h2 {
  margin: 6px 0 6px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.modal-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.modal-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--txt);
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   底部 Tab：首页 / 抽奖 / 提现
   ========================================================= */

.tab-view[hidden] {
  display: none;
}

body {
  padding-bottom: 92px;
}

.nav-in {
  justify-content: space-between;
}

.nav-right {
  margin-left: auto;
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 9, 16, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tabbar-in {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.tabbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.tabbtn svg {
  width: 20px;
  height: 20px;
}

.tabbtn:hover {
  color: var(--txt);
}

.tabbtn.on {
  color: var(--gold);
  background: rgba(242, 200, 121, 0.1);
}

/* 首页 hero */

.home-hero {
  padding: 54px 0 30px;
  position: relative;
}

.home-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 16px 0 14px;
}

.home-hero .lead {
  max-width: 640px;
}

.home-hero .hero-stats {
  margin-top: 34px;
  max-width: 640px;
}

.home-hero .hero-cta {
  margin-top: 4px;
}

@media (max-width: 560px) {
  body {
    padding-bottom: 86px;
  }
  .tabbtn {
    font-size: 10.5px;
    padding: 7px 4px;
  }
  .tabbtn svg {
    width: 18px;
    height: 18px;
  }
  .home-hero {
    padding-top: 36px;
  }
}

/* Network tabs + QR */
.net-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.net-tab{padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.03);color:var(--muted);font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.net-tab:hover{color:var(--txt)}
.net-tab.on{border-color:rgba(242,200,121,.55);color:var(--gold);background:rgba(242,200,121,.1)}
.qr-wrap{margin:14px auto 8px;display:flex;justify-content:center;background:#fff;border-radius:12px;padding:10px;width:max-content}
.qr-wrap img,.qr-wrap canvas{display:block;width:148px !important;height:148px !important}
.qr-cap{text-align:center;font-size:11.5px;color:var(--muted);margin:0 0 10px}

/* ===== 访问环境限制 ===== */
.gate-mask{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at 50% 20%,#16203a 0%,#080b12 70%)}
html.gate-pc #gatePc,html.gate-ios-third #gateIos{display:flex}
html.gate-pc,html.gate-ios-third{overflow:hidden}
.gate-card{width:min(420px,100%);background:rgba(17,23,38,.96);border:1px solid rgba(242,200,121,.28);border-radius:22px;padding:26px 22px;text-align:center;box-shadow:0 30px 90px rgba(0,0,0,.65)}
.gate-title{font-size:20px;margin:2px 0 8px;color:#eef2f8}
.gate-sub{font-size:13px;line-height:1.7;color:#93a0b8;margin:0 0 16px}
.gate-sub b{color:#f2c879}
.gate-qr{width:196px;height:196px;margin:0 auto 12px;background:#fff;border-radius:14px;padding:8px;display:flex;align-items:center;justify-content:center}
.gate-qr img,.gate-qr canvas{width:180px !important;height:180px !important;display:block}
.gate-url{font-family:var(--mono,monospace);font-size:13px;color:#f2c879;margin:0 0 10px;word-break:break-all}
.gate-tip{font-size:11.5px;color:#7d8aa3;margin:10px 0 0;line-height:1.6}
.gate-safari{color:#6ea8ff;margin-bottom:6px;display:flex;justify-content:center}

.gate-lang{width:100%;margin-top:14px}
.gate-card{max-height:calc(100vh - 32px);overflow:auto}
.gate-lang option{background:#0d1420;color:#e8edf6}

html.gate-android #gateAndroid{display:flex}

.gate-steps{text-align:left;color:#93a0b8;font-size:12.5px;line-height:1.75;margin:10px 0 14px;padding-left:20px}
.gate-steps li{margin:3px 0}
.gate-steps li::marker{color:#f2c879}
