/* 泡泡机 V3 - H5 样式(移动端优先, PC 自适应居中) */
/* 全局玻璃拟态(Glassmorphism)主题 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0f172a;
  color: #1e293b;
  overflow: hidden;
}
#app {
  max-width: 480px; margin: 0 auto; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(circle at 10% 20%, rgba(99,102,241,.28) 0%, transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(236,72,153,.24) 0%, transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(56,189,248,.22) 0%, transparent 35%),
    linear-gradient(160deg, #1e1b4b 0%, #312e81 35%, #4c1d95 70%, #831843 100%);
  position: relative; box-shadow: 0 0 60px rgba(0,0,0,.45);
}

/* 玻璃通用类 */
.glass {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 8px 32px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.55);
}
.glass-dark {
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 32px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
}

/* 顶部状态栏 */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; z-index: 5;
}
.topbar .site {
  font-weight: 800; font-size: 16px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  letter-spacing: .5px;
}
.assets { display: flex; gap: 8px; }
.asset {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px; padding: 5px 13px;
  font-size: 12px; font-weight: 700; color: #334155;
  box-shadow: 0 4px 14px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 4px;
}
.asset b { color: #db2777; }
.asset.tap { cursor: pointer; transition: transform .08s, background .15s, box-shadow .15s; user-select: none; }
.asset.tap:active { transform: scale(0.94); background: rgba(255,255,255,.95); box-shadow: 0 0 0 4px rgba(139,92,246,.25), 0 6px 18px rgba(15,23,42,.18); }
.notice {
  margin: 0 14px 8px; padding: 7px 13px; font-size: 11px; color: #fff;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 14px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.2);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* 页面容器 */
.page { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; }
.page.active { display: block; }
#page-game { display: none; flex-direction: column; overflow: hidden; }
#page-game.active { display: flex; }

/* 游戏区 */
.game-wrap { flex: 1; position: relative; }
#gameCanvas { position: absolute; inset: 0; touch-action: none; }
.weapon-bar {
  display: flex; gap: 8px; padding: 8px 14px 6px; z-index: 5;
}
.weapon {
  flex: 1;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 14px; padding: 9px 5px; text-align: center; cursor: pointer;
  transition: all .18s;
  box-shadow: 0 6px 18px rgba(15,23,42,.1), inset 0 1px 0 rgba(255,255,255,.55);
}
.weapon.active {
  border-color: rgba(139,92,246,.85);
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 3px rgba(139,92,246,.22), 0 8px 24px rgba(139,92,246,.28), inset 0 1px 0 rgba(255,255,255,.7);
  transform: translateY(-2px);
}
.weapon .ico { font-size: 22px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.weapon .nm { font-size: 12px; font-weight: 800; margin-top: 3px; color: #1e293b; }
.weapon .cost { font-size: 10px; color: #64748b; margin-top: 2px; font-weight: 600; }
.game-actions { display: flex; gap: 8px; padding: 0 14px 12px; }
.gbtn {
  flex: 1; border: none; border-radius: 14px; padding: 12px 0; font-size: 13px;
  font-weight: 800; color: #fff; cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .12s, box-shadow .18s;
}
.gbtn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.gbtn:active { transform: scale(0.96); box-shadow: 0 3px 10px rgba(15,23,42,.15), inset 0 1px 0 rgba(255,255,255,.35); }
.gbtn.buy { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.gbtn.sale { background: linear-gradient(135deg, #f472b6, #fb7185); }
.gbtn.sale.disabled { background: linear-gradient(135deg, #94a3b8, #cbd5e1); cursor: not-allowed; opacity: .85; }
.gbtn.sign { background: linear-gradient(135deg, #34d399, #10b981); }

/* 商城 */
.section-title {
  font-size: 15px; font-weight: 800; padding: 14px 16px 8px;
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 14px; }
.gcard {
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 16px; padding: 12px; text-align: center;
  box-shadow: 0 8px 24px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.6);
  position: relative; transition: transform .15s, box-shadow .15s;
}
.gcard:active { transform: scale(0.98); }
.gcard .gicon { font-size: 40px; line-height: 1.4; filter: drop-shadow(0 3px 4px rgba(0,0,0,.12)); }
.gcard .gimg { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; margin: 0 auto; display: block; box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.gcard .gname { font-size: 13px; font-weight: 800; margin: 5px 0 2px; color: #1e293b; }
.gcard .gcat { font-size: 10px; color: #6366f1; font-weight: 700; }
.gcard .gprice { font-size: 13px; color: #db2777; font-weight: 800; }
.gcard .gprob { font-size: 10px; color: #64748b; margin-top: 2px; font-weight: 600; }
.gcard .gstock { font-size: 10px; color: #475569; margin-top: 1px; font-weight: 600; }
.gcard .gdiss { font-size: 10px; color: #059669; margin-top: 2px; font-weight: 700; }
.gcard .gdiss.no { color: #94a3b8; }
.rarity {
  position: absolute; top: 8px; left: 8px; font-size: 10px; padding: 3px 7px; border-radius: 8px;
  color: #fff; font-weight: 800;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.r1 { background: rgba(148,163,184,.9); } .r2 { background: rgba(56,189,248,.9); }
.r3 { background: rgba(167,139,250,.9); } .r4 { background: rgba(245,158,11,.9); }
.r5 { background: rgba(220,38,38,.9); }
.cat-tabs { display: flex; gap: 8px; padding: 0 14px 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cat-tab {
  flex-shrink: 0; padding: 7px 14px; border-radius: 20px;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.4);
  color: #e2e8f0; font-size: 12px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transition: all .15s;
}
.cat-tab.active {
  background: rgba(99,102,241,.85);
  border-color: rgba(255,255,255,.5);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,.35);
}

/* 记录 */
.rec-item {
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.55);
  margin: 8px 14px; border-radius: 14px; padding: 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,.1), inset 0 1px 0 rgba(255,255,255,.55);
}
.rec-item .ricon { font-size: 32px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.12)); }
.rec-item .ricon-img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.rec-item .rmain { flex: 1; }
.rec-item .rname { font-size: 13px; font-weight: 800; color: #1e293b; }
.rec-item .rmeta { font-size: 11px; color: #64748b; margin-top: 2px; }
.rec-item .rbtn {
  border: none;
  background: rgba(237,233,254,.9);
  color: #7c3aed; border-radius: 10px;
  padding: 7px 13px; font-size: 12px; font-weight: 800; cursor: pointer;
  box-shadow: 0 2px 8px rgba(124,58,237,.12);
}
.rec-item .rbtn:disabled { background: rgba(241,245,249,.8); color: #cbd5e1; }
.tag { font-size: 10px; padding: 3px 7px; border-radius: 8px; font-weight: 800; }
.tag.dissolved { background: #dcfce7; color: #16a34a; }
.rec-stat {
  margin: 8px 14px; padding: 11px 13px; border-radius: 14px; font-size: 13px;
  background: rgba(255,247,237,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(254,215,170,.65);
  color: #9a3412;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
}
.rec-stat .rbtn.ghost {
  background: rgba(255,255,255,.85);
  color: #c2410c; border: 1px solid rgba(253,186,116,.7);
  border-radius: 10px; padding: 6px 12px; font-weight: 700; cursor: pointer;
}
.rec-item .rmelt-amt { font-size: 11px; color: #059669; margin-top: 3px; font-weight: 800; }

/* 我的 */
.me-card {
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.58);
  margin: 12px 14px; border-radius: 18px; padding: 16px;
  box-shadow: 0 8px 28px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.6);
}
.me-head { display: flex; align-items: center; gap: 12px; }
.me-avatar {
  width: 54px; height: 54px; border-radius: 50%; font-size: 26px;
  background: linear-gradient(135deg, rgba(196,181,253,.9), rgba(249,168,212,.9));
  border: 2px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(139,92,246,.25);
}
.me-nick { font-weight: 800; font-size: 16px; color: #1e293b; }
.me-sub { font-size: 11px; color: #64748b; margin-top: 2px; }
.me-assets { display: flex; margin-top: 16px; text-align: center; }
.me-assets > div { flex: 1; }
.me-assets .v { font-size: 18px; font-weight: 900; color: #4338ca; }
.me-assets .k { font-size: 11px; color: #64748b; margin-top: 2px; font-weight: 600; }
.me-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; border-bottom: 1px solid rgba(226,232,240,.55); font-size: 14px; cursor: pointer;
  color: #1e293b; font-weight: 600;
}
.me-row:last-child { border-bottom: none; }
.me-row .arrow { color: #94a3b8; }
.form-row { margin: 10px 0; }
.form-row input {
  width: 100%;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px; padding: 11px 14px;
  font-size: 14px; outline: none;
  box-shadow: inset 0 2px 6px rgba(15,23,42,.06);
  color: #1e293b;
}
.form-row input::placeholder { color: #94a3b8; }
.pbtn {
  width: 100%; border: none; border-radius: 14px; padding: 13px 0; font-size: 14px;
  font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  cursor: pointer; margin-top: 6px;
  box-shadow: 0 6px 18px rgba(99,102,241,.32), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .12s, box-shadow .18s;
}
.pbtn:active { transform: scale(0.97); box-shadow: 0 3px 12px rgba(99,102,241,.22); }

/* 快速换弹面板 */
.wp-weapons { display: flex; gap: 8px; margin-bottom: 14px; }
.wp-w {
  flex: 1;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 14px;
  padding: 11px 5px; text-align: center; cursor: pointer; transition: all .15s;
  box-shadow: 0 4px 14px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.55);
}
.wp-w.active {
  border-color: rgba(139,92,246,.85);
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 3px rgba(139,92,246,.2), 0 6px 18px rgba(139,92,246,.22);
  transform: translateY(-2px);
}
.wp-w .wp-ico { font-size: 24px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.12)); }
.wp-w .wp-n { font-size: 12px; font-weight: 800; margin-top: 2px; color: #1e293b; }
.wp-w .wp-c { font-size: 10px; color: #64748b; margin-top: 1px; font-weight: 600; }
.wp-buy input {
  width: 100%;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px; padding: 11px 14px;
  font-size: 14px; outline: none; margin-bottom: 8px;
  box-shadow: inset 0 2px 6px rgba(15,23,42,.06);
  color: #1e293b;
}
.wp-tip { font-size: 11px; color: #64748b; text-align: left; margin-bottom: 6px; font-weight: 600; }
.wp-tip span { font-weight: 900; color: #db2777; }
.wp-close { text-align: center; font-size: 13px; color: #94a3b8; padding: 10px 0; cursor: pointer; font-weight: 600; }
.wp-close:active { color: #64748b; }
.tabbar {
  display: flex;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,.55);
  padding-bottom: env(safe-area-inset-bottom); z-index: 10;
  box-shadow: 0 -6px 24px rgba(15,23,42,.12);
}
.tab { flex: 1; text-align: center; padding: 8px 0 6px; cursor: pointer; color: #64748b; transition: color .15s; }
.tab .ti { font-size: 22px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.1)); }
.tab .tt { font-size: 10px; margin-top: 1px; font-weight: 700; }
.tab.active { color: #7c3aed; }

/* 弹窗 */
.modal-mask {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 50;
}
.modal-mask.show { display: flex; }
.modal {
  width: 78%; max-width: 340px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  padding: 24px 20px; text-align: center;
  animation: pop .25s ease;
  box-shadow: 0 24px 60px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.65);
}
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .micon { font-size: 58px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); }
.modal .micon .prize-img { width: 90px; height: 90px; object-fit: cover; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.modal .micon .prize-emoji { font-size: 58px; }
.modal .mtitle { font-size: 17px; font-weight: 900; margin: 10px 0 4px; color: #1e293b; }
.modal .msub { font-size: 12px; color: #64748b; font-weight: 600; }
.modal .mprice { font-size: 22px; font-weight: 900; color: #db2777; margin: 8px 0; }
.modal-btns { display: flex; gap: 10px; margin-top: 16px; }
.modal-btns button {
  flex: 1; border: none; border-radius: 14px; padding: 12px 0; font-size: 13px;
  font-weight: 800; cursor: pointer; transition: transform .1s;
}
.modal-btns button:active { transform: scale(0.96); }
.mb-ghost {
  background: rgba(241,245,249,.9);
  color: #475569;
  border: 1px solid rgba(203,213,225,.5);
}
.mb-main {
  background: linear-gradient(135deg, #f472b6, #a78bfa);
  color: #fff;
  box-shadow: 0 4px 14px rgba(244,114,182,.32), inset 0 1px 0 rgba(255,255,255,.4);
}

/* toast */
#toast {
  position: absolute; left: 50%; top: 42%; transform: translateX(-50%);
  background: rgba(15,23,42,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 13px;
  padding: 11px 20px; border-radius: 12px; z-index: 99; display: none;
  max-width: 80%; text-align: center;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}

/* ============================================================
   高科技霓虹增强(类目 / 按键 / 图标 / 背景)
   ============================================================ */

/* 全屏特效层(音效引擎 ClickFX 使用) */
#fxLayer {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9999;
}

/* 全息流动背景 + 扫描线(置于 #app 背景之上、内容之下) */
#app::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 18% 28%, rgba(56,189,248,.14), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(244,114,182,.14), transparent 42%),
    radial-gradient(circle at 50% 52%, rgba(139,92,246,.12), transparent 46%);
  background-size: 220% 220%;
  animation: holo 14s ease-in-out infinite;
  opacity: .9;
}
#app::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
  opacity: .45;
}
@keyframes holo {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* 图标统一辉光 */
.ti, .ico, .wp-ico, .me-avatar, .weapon .ico {
  filter: drop-shadow(0 0 6px rgba(255,255,255,.35));
}
.section-title {
  color: #fff;
  text-shadow: 0 0 12px rgba(139,92,246,.75), 0 2px 6px rgba(0,0,0,.35);
  letter-spacing: .5px;
}

/* 底部导航: 激活态霓虹光晕 + 图标浮动 */
.tab { position: relative; }
.tab.active::before {
  content: ''; position: absolute; left: 50%; top: 5px;
  width: 42px; height: 42px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,58,237,.38), transparent 70%);
  box-shadow: 0 0 20px rgba(124,58,237,.55);
  animation: neonPulse 2.4s ease-in-out infinite;
}
.tab.active .ti {
  filter: drop-shadow(0 0 9px rgba(167,139,250,.95));
  animation: iconFloat 2.4s ease-in-out infinite;
}
.tab.active .tt { color: #a78bfa; text-shadow: 0 0 8px rgba(167,139,250,.6); }
@keyframes neonPulse {
  0%, 100% { opacity: .55; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.14); }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* 武器栏: 激活态旋转霓虹描边 */
.weapon { position: relative; }
.weapon.active::before {
  content: ''; position: absolute; inset: 0; border-radius: 14px; padding: 2px;
  background: conic-gradient(from 0deg, #a78bfa, #22d3ee, #f472b6, #a78bfa);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 3.2s linear infinite; pointer-events: none;
}
.weapon.active .ico { filter: drop-shadow(0 0 10px rgba(167,139,250,.95)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 类目标签: 激活态霓虹辉光 */
.cat-tab { color: #cbd5e1; }
.cat-tab.active {
  background: linear-gradient(135deg, rgba(99,102,241,.9), rgba(168,85,247,.9));
  border-color: rgba(255,255,255,.55); color: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,246,.22), 0 0 18px rgba(139,92,246,.55);
  transform: translateY(-1px);
}
.cat-tab .cico { margin-right: 5px; }

/* 游戏操作按钮: 流动渐变 + 霓虹辉光 */
.gbtn {
  background-size: 220% 220%;
  animation: gradShift 5s ease infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.gbtn.buy { box-shadow: 0 6px 20px rgba(99,102,241,.45), 0 0 18px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.gbtn.sale { box-shadow: 0 6px 20px rgba(244,114,182,.45), 0 0 18px rgba(244,114,182,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.gbtn.sign { box-shadow: 0 6px 20px rgba(16,185,129,.45), 0 0 18px rgba(16,185,129,.32), inset 0 1px 0 rgba(255,255,255,.4); }
.gbtn:active { box-shadow: 0 0 22px rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.35); }
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 我的页行: 悬停霓虹高亮 */
.me-row:hover {
  background: rgba(255,255,255,.42); border-radius: 12px;
  box-shadow: inset 3px 0 0 #8b5cf6, 0 0 16px rgba(139,92,246,.18);
}

/* 商品卡悬停微光 */
.gcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(139,92,246,.28), inset 0 1px 0 rgba(255,255,255,.6);
}
.gcard .gimg { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 2px rgba(255,255,255,.35); }

/* 中奖弹窗霓虹边 */
.modal {
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 24px 60px rgba(15,23,42,.32), 0 0 40px rgba(168,85,247,.4), inset 0 1px 0 rgba(255,255,255,.65);
}
.modal .micon { filter: drop-shadow(0 0 14px rgba(244,114,182,.7)); }

/* 充值中心 */
.recharge-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.ra-btn {
  border: 1px solid rgba(203,213,225,.7); background: rgba(255,255,255,.55); color: #475569;
  border-radius: 12px; padding: 10px 0; font-size: 14px; font-weight: 800; cursor: pointer;
  transition: all .12s;
}
.ra-btn.active {
  background: linear-gradient(135deg, #f472b6, #a78bfa); color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(244,114,182,.32);
}
.ra-btn:active { transform: scale(0.96); }
.recharge-channels { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; text-align: left; }
.rc-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid rgba(203,213,225,.6); border-radius: 12px;
  background: rgba(255,255,255,.5); cursor: pointer; transition: all .12s;
}
.rc-item.active { border-color: #a78bfa; background: rgba(167,139,250,.12); box-shadow: 0 0 0 2px rgba(167,139,250,.25); }
.rc-item input { width: 18px; height: 18px; accent-color: #a78bfa; }
.rc-icon { font-size: 22px; }
.rc-name { flex: 1; font-size: 14px; font-weight: 700; color: #1e293b; }
.rc-tip { font-size: 11px; color: #94a3b8; }
.recharge-pay { margin-top: 6px; }

/* 音效开关按钮 */
#topSound { font-size: 16px; line-height: 1; }
.asset.muted { background: rgba(255,255,255,.42); color: #94a3b8; }

/* 滚动条美化 */
.page::-webkit-scrollbar { width: 6px; }
.page::-webkit-scrollbar-thumb { background: rgba(255,255,255,.32); border-radius: 3px; }
.page::-webkit-scrollbar-track { background: transparent; }

