:root{
  --bg0:#fff7ef;
  --bg1:#ffffff;
  --ink:#171717;
  --muted:rgba(23,23,23,.62);

  --orange:#ff7a18;
  --gold:#d4af37;
  --gold2:#f2d06b;

  --stroke: rgba(23,23,23,.10);
  --card: rgba(255,255,255,.86);

  --shadow: 0 18px 60px rgba(0,0,0,.10);
  --shadow2: 0 10px 30px rgba(0,0,0,.08);

  --r16:16px;
  --r20:20px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(255,122,24,.18), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(212,175,55,.14), transparent 55%),
    radial-gradient(700px 600px at 50% 90%, rgba(255,154,61,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100svh;
}

a{color:inherit; text-decoration:none}
.wrap{
  width:min(1040px, 92vw);
  margin:0 auto;
  padding:22px 0 44px;
}

/* Shared Card Shell */
.cardShell{
  border:1px solid var(--stroke);
  background: var(--card);
  border-radius:var(--r20);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.cardShell::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(255,122,24,.18), transparent 65%),
    radial-gradient(700px 220px at 90% 10%, rgba(212,175,55,.14), transparent 65%);
  pointer-events:none;
}
.cardShell > *{ position:relative; }

/* Topbar */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 16px;
}
.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brandtext{ min-width:0; }
.brandtext .t{ font-weight:950; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.brandtext .s{ margin-top:3px; font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.topActions{ display:flex; gap:10px; align-items:center; }

/* Logo */

.logoImg{
  width:64%;               /* 🔹 关键：不要 100% */
  height:64%;
  object-fit: contain;     /* 🔹 不裁切，完整显示 */
  display:block;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.72);
  border-radius:var(--r16);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
}

/* =========================
   TOPBAR LOGO 强制缩小（最终版）
   ========================= */

/* 只影响 topbar 里的 logo，不影响其他地方 */
.topbar .logoBox{
  width:44px !important;
  height:44px !important;
  border-radius:12px !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
}

/* 缩小 LE888 本体，不让黑块占满 */
.topbar .logoImg{
  width:23% !important;
  height:23% !important;
  object-fit: contain !important;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.90);
  cursor:pointer;
  font-weight:900;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.btn:hover{ background: rgba(255,255,255,.98); }
.btn.primary{
  border-color: transparent;
  color:#fff;
  background: linear-gradient(135deg, var(--orange), var(--gold));
}
.btn.ghost{ background: rgba(255,255,255,.70); }
.btn.wa{ border-color: rgba(255,122,24,.25); }
.btn.tg{ border-color: rgba(212,175,55,.30); }
.btn.small{ padding:10px 12px; border-radius: 12px; }

/* Hero */
.hero{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:14px;
  padding:16px;
}
@media (max-width: 900px){
  .hero{ grid-template-columns:1fr; }
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.70);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  color: rgba(23,23,23,.72);
  font-weight:800;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--gold2), var(--orange));
  box-shadow: 0 0 0 4px rgba(212,175,55,.14);
}
h1{
  margin:12px 0 8px;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing:-.6px;
  line-height:1.08;
}
.grad{
  background:linear-gradient(135deg,var(--orange),var(--gold));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{ margin:0; color: var(--muted); line-height:1.6; font-size:14px; }

.ctaRow{
  margin: 14px 0 6px;
  display: flex;
  justify-content: center;  
  align-items: center;
  gap: 12px;                
  flex-wrap: wrap;    
}
.hint{ margin-top:10px; font-size:12px; color: var(--muted); }

/* Checker */
.checker{
  border:1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding:14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.checkerTitle{ font-weight:950; }
.checkerSub{ margin-top:4px; font-size:12px; color:var(--muted); line-height:1.5; }
.inputRow{ margin-top:12px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.prefix{
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.90);
  font-weight:900;
}
#depositInput{
  flex:1;
  min-width: 50px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(23,23,23,.12);
  outline:none;
  background: rgba(255,255,255,.92);
  font-weight:800;
}
.result{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.86);
  color: rgba(23,23,23,.82);
  font-size:13px;
  line-height:1.45;
}
.note{ margin-top:10px; color: var(--muted); font-size:12px; line-height:1.5; }

/* VIP Grid */
.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

.vipCard{
  padding:14px;
  border:1px solid var(--stroke);
  background: var(--card);
  border-radius:var(--r20);
  box-shadow: var(--shadow2);
  position:relative;
}
.vipCard::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(255,122,24,.12), transparent 65%),
    radial-gradient(700px 220px at 90% 10%, rgba(212,175,55,.10), transparent 65%);
  pointer-events:none;
  border-radius:var(--r20);
}
.vipCard > *{ position:relative; }

.vipTop{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.vipName{ font-weight:1000; font-size:16px; }
.vipStars{
  font-size:14px;
  letter-spacing:2px;
  color: rgba(212,175,55,.95);
  text-shadow: 0 8px 20px rgba(212,175,55,.22);
  white-space:nowrap;
}
.vipLine{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.70);
  font-size:13px;
}
.vipLine b{ font-weight:950; }
.vipTag{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(23,23,23,.10);
  background: linear-gradient(135deg, rgba(255,122,24,.14), rgba(212,175,55,.12));
  font-size:12px;
  font-weight:900;
  color: rgba(23,23,23,.78);
}

.vipCard.active{
  outline: 2px solid rgba(255,122,24,.35);
  box-shadow: 0 18px 60px rgba(255,122,24,.14);
}

/* ✅ Filter Mode: other cards dim */
.grid.is-filtering .vipCard{
  opacity: .35;
  filter: grayscale(.25);
  transform: scale(.99);
  transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}
.grid.is-filtering .vipCard.active{
  opacity: 1;
  filter: none;
  transform: scale(1);
}

/* Poster */
.poster{
  margin-top:14px;
  padding:14px;
}
.posterHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.posterTitle{ font-weight:1000; }
.posterSub{ color:var(--muted); font-size:12px; margin-top:3px; }
.posterBtn{
  width:100%;
  border:1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.78);
  border-radius: 16px;
  padding:10px;
  cursor:pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.posterImg{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
  object-fit: contain;
}

/* Footer */
.footer{
  margin-top:14px;
  padding:14px 16px;
  box-shadow: var(--shadow2);
}
.footerRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.footerSmall{ color:var(--muted); font-size:12px; }

/* Modal */
.overlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.overlay.show{ display:flex; }
.modal{
  width:min(920px, 96vw);
  border-radius: 18px;
  border:1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modalHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 12px;
  border-bottom:1px solid rgba(23,23,23,.10);
}
.modalBody{ padding:12px; }
.modalBody img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  object-fit:contain;
}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.96);
  border:1px solid rgba(23,23,23,.12);
  color: rgba(23,23,23,.92);
  padding:10px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow2);
  display:none;
  z-index:10000;
  font-size:13px;
  font-weight:900;
}
.toast.show{ display:block; }

