/* =============================================================
 * 行水加速器 XINGSHUI BOOSTER - 客户端样式
 * 深空暗色主题 × 青紫渐变 × 玻璃拟态
 * ============================================================= */

/* ---------------- 变量 ---------------- */
:root {
  --bg: #0a0e1a;
  --card: rgba(255, 255, 255, .04);
  --card-border: rgba(255, 255, 255, .08);
  --card-hover-border: rgba(34, 211, 238, .38);
  --primary: #22d3ee;
  --primary-2: #6366f1;
  --grad: linear-gradient(135deg, #22d3ee, #6366f1);
  --text: rgba(255, 255, 255, .92);
  --text-2: rgba(255, 255, 255, .62);
  --text-3: rgba(255, 255, 255, .45);
  --ok: #34d399;
  --warn: #fbbf24;
  --mid: #fb923c;
  --err: #f87171;
  --radius: 16px;
  --sidebar-w: 76px;
  --shadow-glow: 0 10px 30px rgba(34, 211, 238, .10);
  --font: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---------------- 基础重置 ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
img { display: block; }
svg { display: block; flex: none; }
::placeholder { color: rgba(255, 255, 255, .28); }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .2); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 背景纹理与光斑 ---------------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
}
.bg-glow {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.bg-glow-1 {
  width: 620px; height: 620px; left: -180px; top: -200px;
  background: radial-gradient(circle, rgba(34, 211, 238, .08), transparent 65%);
}
.bg-glow-2 {
  width: 700px; height: 700px; right: -220px; bottom: -240px;
  background: radial-gradient(circle, rgba(99, 102, 241, .08), transparent 65%);
}
.bg-glow-3 {
  width: 420px; height: 420px; right: 8%; top: -160px;
  background: radial-gradient(circle, rgba(34, 211, 238, .05), transparent 65%);
}

/* ---------------- 布局：侧边栏 / 主区 ---------------- */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 20;
  width: var(--sidebar-w);
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 0 20px;
  border-right: 1px solid rgba(255, 255, 255, .06);
  background: rgba(10, 14, 26, .66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.logo-block {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 18, 28, .65);
  box-shadow: 0 6px 18px rgba(34, 211, 238, .35);
  margin-bottom: 26px;
  transition: transform .2s;
  overflow: hidden;
}
.logo-block img { width: 100%; height: 100%; object-fit: contain; }
.logo-block:hover { transform: scale(1.06); }

.side-nav { display: flex; flex-direction: column; gap: 10px; }
.nav-item {
  position: relative;
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: all .2s;
}
.nav-item svg { width: 22px; height: 22px; }
.nav-item:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-item.active {
  color: #06121c;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(34, 211, 238, .32);
}
.nav-tip {
  position: absolute; left: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(-4px);
  padding: 4px 10px; border-radius: 8px;
  background: rgba(20, 26, 44, .95);
  border: 1px solid var(--card-border);
  font-size: 12px; color: var(--text); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: all .18s;
}
.nav-item:hover .nav-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.side-user {
  margin-top: auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--card-border);
  color: var(--primary); font-size: 16px; font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.side-user:hover { border-color: var(--card-hover-border); box-shadow: var(--shadow-glow); }

.main {
  position: relative; z-index: 1;
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}
body.on-auth .sidebar { display: none; }
body.on-auth .main { margin-left: 0; }

.page {
  max-width: 1200px; margin: 0 auto;
  padding: 34px 40px 64px;
  min-height: 100vh;
}
.page-fade { animation: fadeUp .22s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- 通用：标题 / 卡片 / 按钮 / 徽章 ---------------- */
.page-title { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.page-sub { margin-top: 4px; font-size: 13px; color: var(--text-3); }

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 30px 0 14px;
}
.sec-head h2 { font-size: 18px; font-weight: 700; }
.sec-sub { font-size: 12px; color: var(--text-3); }
.link-more { font-size: 13px; color: var(--text-3); transition: color .2s; }
.link-more:hover { color: var(--primary); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card-hover { transition: transform .2s, border-color .2s, box-shadow .2s; }
.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-glow);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 12px;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--grad); color: #06121c; }
.btn-primary:hover:not(:disabled) { filter: brightness(1.12); box-shadow: 0 8px 22px rgba(34, 211, 238, .32); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn-ghost:hover:not(:disabled) { border-color: var(--card-hover-border); background: rgba(34, 211, 238, .07); }
.btn-danger-ghost {
  background: rgba(248, 113, 113, .07);
  border: 1px solid rgba(248, 113, 113, .25);
  color: var(--err);
}
.btn-danger-ghost:hover:not(:disabled) { background: rgba(248, 113, 113, .14); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 9px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 1.7;
  white-space: nowrap;
}
.b-green { color: var(--ok); background: rgba(52, 211, 153, .12); }
.b-yellow { color: var(--warn); background: rgba(251, 191, 36, .12); }
.b-orange { color: var(--mid); background: rgba(251, 146, 60, .12); }
.b-red { color: var(--err); background: rgba(248, 113, 113, .13); }
.b-gray { color: var(--text-3); background: rgba(255, 255, 255, .07); }
.b-cyan { color: var(--primary); background: rgba(34, 211, 238, .12); }

/* 输入框 */
.input {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px; font-family: var(--font);
  outline: none;
  transition: all .2s;
}
.input:focus {
  border-color: rgba(34, 211, 238, .6);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
  background: rgba(34, 211, 238, .04);
}

/* 加载中按钮（防重复提交） */
.is-loading { pointer-events: none; }
.spin-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: currentColor;
  animation: spin .7s linear infinite;
}
.btn-primary .spin-dot { border-color: rgba(6, 18, 28, .3); border-top-color: #06121c; }
@keyframes spin { to { transform: rotate(360deg); } }

.loading-box {
  padding: 60px 0; text-align: center;
  color: var(--text-3); font-size: 13px;
}

/* 空状态（CSS 手柄插画） */
.empty { padding: 46px 0; text-align: center; }
.empty-art {
  width: 118px; height: 72px; margin: 0 auto 16px;
  border: 2px solid rgba(255, 255, 255, .13);
  border-radius: 32px;
  position: relative;
  box-shadow: inset 0 0 24px rgba(34, 211, 238, .05);
}
.empty-art::before {
  content: ''; position: absolute; left: 22px; top: 23px;
  width: 26px; height: 26px; border-radius: 5px;
  background:
    linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) center / 26px 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) center / 8px 26px no-repeat;
}
.empty-art::after {
  content: ''; position: absolute; right: 20px; top: 24px;
  width: 34px; height: 24px;
  background:
    radial-gradient(circle 5px at 8px 7px, rgba(255, 255, 255, .26) 98%, transparent),
    radial-gradient(circle 5px at 26px 17px, rgba(255, 255, 255, .26) 98%, transparent);
}
.empty-txt { color: var(--text-3); font-size: 13px; }
.empty-txt b { display: block; color: var(--text-2); font-size: 15px; margin-bottom: 4px; }

/* ---------------- Toast ---------------- */
.toast-box {
  position: fixed; top: 22px; right: 22px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 13px;
  background: rgba(17, 23, 40, .92);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px; color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  animation: toastIn .25s ease both;
  max-width: 340px;
}
.toast svg { width: 17px; height: 17px; }
.toast-ok { border-color: rgba(52, 211, 153, .4); }
.toast-ok svg { color: var(--ok); }
.toast-err { border-color: rgba(248, 113, 113, .45); }
.toast-err svg { color: var(--err); }
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }

/* ---------------- Modal ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 7, 14, .66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .18s ease both;
  padding: 20px;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal-card {
  width: 400px; max-width: 100%;
  background: rgba(19, 25, 43, .96);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  animation: modalIn .22s cubic-bezier(.34, 1.4, .64, 1) both;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.92) translateY(12px); } }
.bm-icon {
  width: 58px; height: 58px; margin: 0 auto 14px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .4);
  color: var(--ok);
}
.bm-icon svg { width: 28px; height: 28px; }
.bm-title { text-align: center; font-size: 19px; font-weight: 800; }
.bm-desc { margin-top: 8px; text-align: center; font-size: 13px; color: var(--text-2); }
.bm-desc b { color: var(--primary); }
.bm-btns { display: flex; gap: 12px; margin-top: 22px; }
.bm-btns .btn { flex: 1; }

/* ---------------- 登录 / 注册页 ---------------- */
.auth-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 30px 20px;
}
.auth-card {
  width: 400px; max-width: 100%;
  padding: 40px 36px 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: fadeUp .3s ease both;
}
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 12px; }
.auth-logo-badge {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 18, 28, .65);
  box-shadow: 0 8px 22px rgba(34, 211, 238, .38);
  overflow: hidden;
}
.auth-logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.auth-title { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.auth-en {
  margin-top: 8px; text-align: center;
  font-size: 10px; letter-spacing: 4px;
  color: rgba(34, 211, 238, .6); font-weight: 600;
}
.auth-slogan { margin-top: 6px; text-align: center; font-size: 12px; color: var(--text-3); }
.auth-tabs {
  margin-top: 28px; display: flex; gap: 6px;
  background: rgba(255, 255, 255, .05);
  border-radius: 12px; padding: 5px;
}
.auth-tab {
  flex: 1; padding: 9px 0;
  border: none; border-radius: 9px;
  background: transparent; color: var(--text-3);
  font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.auth-tab.active {
  background: var(--grad); color: #06121c;
  box-shadow: 0 4px 14px rgba(34, 211, 238, .3);
}
.auth-form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.auth-form .btn { margin-top: 6px; padding: 12px; font-size: 15px; }
.auth-foot {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center; font-size: 11px; color: rgba(255, 255, 255, .28);
}

/* ---------------- 首页 ---------------- */
.home-head { display: flex; align-items: flex-start; justify-content: space-between; }
/* 剩余时长 chip（首页欢迎区） */
.balance-chip {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--primary);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .35);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.balance-chip svg { width: 14px; height: 14px; }
.balance-chip.empty {
  color: var(--err);
  background: rgba(248, 113, 113, .1);
  border-color: rgba(248, 113, 113, .35);
}

.hero { margin-top: 26px; padding: 46px 30px 42px; overflow: hidden; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(34, 211, 238, .06), transparent 70%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.boost-btn {
  position: relative;
  width: 140px; height: 140px; border-radius: 50%;
  border: none; background: transparent;
  transition: transform .2s;
  animation: breath 2.6s ease-in-out infinite;
}
.boost-btn:hover { transform: scale(1.04); }
.boost-btn:active { transform: scale(.98); }
.boost-ring {
  position: absolute; inset: 0; border-radius: 50%;
  padding: 3px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.boost-core {
  position: absolute; inset: 5px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 32% 24%, rgba(34, 211, 238, .16), rgba(99, 102, 241, .08) 58%, rgba(10, 14, 26, .7));
  border: 1px solid rgba(34, 211, 238, .25);
}
.boost-word { font-size: 24px; font-weight: 800; letter-spacing: 4px; text-indent: 4px; }
.boost-sub { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
@keyframes breath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .22), 0 0 42px rgba(34, 211, 238, .12); }
  50% { box-shadow: 0 0 0 14px rgba(34, 211, 238, 0), 0 0 66px rgba(34, 211, 238, .3); }
}

/* 加速中：红色停止态 + 旋转光圈 */
.boost-btn.running { animation: none; }
.boost-btn.running .boost-ring {
  background: conic-gradient(from 0deg, rgba(248, 113, 113, 0), #f87171 32%, rgba(248, 113, 113, 0) 62%);
  animation: spin 1.5s linear infinite;
}
.boost-btn.running .boost-core {
  border-color: rgba(248, 113, 113, .38);
  background: radial-gradient(circle at 32% 24%, rgba(248, 113, 113, .14), rgba(239, 68, 68, .07) 58%, rgba(10, 14, 26, .7));
}
.boost-btn.running .boost-word { color: var(--err); }

/* 暂停态：琥珀色静止光圈，不再呼吸/旋转 */
.boost-btn.paused { animation: none; }
.boost-btn.paused .boost-ring { background: linear-gradient(135deg, rgba(251, 191, 36, .9), rgba(245, 158, 11, .5)); }
.boost-btn.paused .boost-core {
  border-color: rgba(251, 191, 36, .4);
  background: radial-gradient(circle at 32% 24%, rgba(251, 191, 36, .14), rgba(245, 158, 11, .07) 58%, rgba(10, 14, 26, .7));
}
.boost-btn.paused .boost-word { color: var(--warn); }

.hero-meta { text-align: center; }
.hero-game { font-size: 17px; font-weight: 700; }
.hero-game-sub { font-size: 15px; font-weight: 600; color: var(--text-2); }
.hero-node { margin-top: 4px; font-size: 12.5px; color: var(--text-3); }
.hero-node b { color: var(--primary); font-weight: 600; }
.hero-timer {
  font-size: 26px; font-weight: 800; letter-spacing: 1px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.hero-timer.paused { color: var(--warn); }
.hero-paused-tip { color: var(--warn); }

.quick-sec { margin-top: 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.quick-card {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  display: block;
}
.quick-name {
  padding: 10px 12px; font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 封面图与占位 */
.cover {
  position: relative; width: 100%;
  aspect-ratio: 460 / 215;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .14));
  overflow: hidden;
}
.cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.card-hover:hover .cover img { transform: scale(1.05); }
.cover-fb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 800;
  color: rgba(255, 255, 255, .5);
  background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(99, 102, 241, .2));
}

/* ---------------- 游戏库 ---------------- */
.games-top { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.search-box { position: relative; max-width: 420px; }
.search-box svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--text-3); pointer-events: none;
}
.search-box .input { padding-left: 40px; border-radius: 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--card-border);
  color: var(--text-2); font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .2); }
.chip.active {
  background: var(--grad); color: #06121c;
  border-color: transparent; font-weight: 700;
  box-shadow: 0 4px 14px rgba(34, 211, 238, .28);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 16px;
}
.game-card {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  position: relative;
}
.game-card .cover { border-radius: var(--radius) var(--radius) 0 0; }
.game-info { padding: 12px 14px 14px; }
.game-name {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-meta { margin-top: 5px; display: flex; align-items: center; gap: 7px; }
.cat-tag { font-size: 11px; color: var(--text-3); }
.hot-flag {
  position: absolute; top: 9px; right: -1px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, .4);
}
.hot-flag svg { width: 10px; height: 10px; }

/* ---------------- 加速页 ---------------- */
.game-banner {
  margin-top: 22px;
  display: flex; align-items: flex-end; gap: 20px;
  padding: 18px;
  position: relative; overflow: hidden;
}
.gb-cover {
  width: 210px; flex: none;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
}
.gb-info { flex: 1; padding-bottom: 4px; min-width: 0; }
.gb-name { font-size: 23px; font-weight: 800; }
.gb-tags { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.line-sec { margin-top: 4px; }
.region-head {
  display: flex; align-items: center; gap: 10px;
  margin: 22px 0 12px;
}
.region-more {
  margin: 10px 0 0; font-size: 12px; color: #64748b; text-align: left;
}
.region-name { font-size: 15px; font-weight: 700; }
.region-name::before {
  content: ''; display: inline-block;
  width: 4px; height: 14px; border-radius: 2px;
  background: var(--grad); margin-right: 8px;
  vertical-align: -2px;
}
.region-count { font-size: 12px; color: var(--text-3); }

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(246px, 1fr));
  gap: 12px;
}
.node-card {
  position: relative;
  padding: 14px 14px 13px;
  cursor: pointer;
  transition: all .2s;
  display: flex; flex-direction: column; gap: 9px;
}
.node-card:hover { transform: translateY(-2px); border-color: var(--card-hover-border); }
.node-card.selected {
  border-color: rgba(34, 211, 238, .6);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 8px 24px rgba(34, 211, 238, .12);
}
.node-check {
  position: absolute; top: 0; right: 0;
  width: 22px; height: 22px;
  border-radius: 0 16px 0 12px;
  background: var(--grad);
  display: none; align-items: center; justify-content: center;
  color: #06121c;
}
.node-check svg { width: 13px; height: 13px; }
.node-card.selected .node-check { display: flex; }

.node-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.node-name {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.node-lat { flex: none; }
.node-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  padding: 1px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  font-size: 11px; color: var(--text-2);
}
.node-bottom { display: flex; align-items: center; gap: 10px; }
.node-load { flex: 1; min-width: 0; }
.load-bar {
  height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, .09);
  overflow: hidden;
}
.load-bar i {
  display: block; height: 100%; border-radius: 2px;
  background: var(--ok);
  transition: width .3s;
}
.load-bar.mid i { background: var(--warn); }
.load-bar.high i { background: var(--err); }
.load-txt { margin-top: 4px; font-size: 11px; color: var(--text-3); }
.load-txt.high { color: var(--err); }

.btn-ping {
  flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--card-border);
  color: var(--text-3);
  transition: all .2s;
}
.btn-ping svg { width: 15px; height: 15px; }
.btn-ping:hover { color: var(--primary); border-color: var(--card-hover-border); }
.btn-ping.pinging { color: var(--primary); pointer-events: none; }
.btn-ping.pinging svg { animation: spin .8s linear infinite; }

/* 底部固定操作条 */
.page-game { display: flex; flex-direction: column; padding-bottom: 30px; }
.page-game .line-sec { flex: 1; }
.boost-dock {
  position: sticky; bottom: 22px;
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 15px 18px 15px 22px;
  background: rgba(16, 22, 38, .9);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .4), 0 12px 34px rgba(0, 0, 0, .3);
}
.dock-info { min-width: 0; }
.dock-label { font-size: 11px; color: var(--text-3); }
.dock-name {
  margin-top: 2px; font-size: 15px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dock-name b { color: var(--primary); }
.boost-cta {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-width: 172px; padding: 14px 30px;
  border: none; border-radius: 15px;
  background: var(--grad);
  color: #06121c; font-size: 16px; font-weight: 800; letter-spacing: 2px;
  transition: all .2s;
  box-shadow: 0 8px 24px rgba(34, 211, 238, .32);
}
.boost-cta svg { width: 19px; height: 19px; }
.boost-cta:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.boost-cta:disabled { opacity: .55; cursor: not-allowed; }
.boost-cta.running {
  background: linear-gradient(135deg, #f87171, #ef4444);
  color: #fff;
  box-shadow: 0 8px 24px rgba(239, 68, 68, .35);
  animation: ctaPulse 2.2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(239, 68, 68, .3); }
  50% { box-shadow: 0 8px 34px rgba(239, 68, 68, .5); }
}

/* 加速页倒计时与多按钮操作区 */
.dock-timer {
  font-size: 30px; font-weight: 800; letter-spacing: 2px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  text-shadow: 0 0 22px rgba(34, 211, 238, .3);
}
.dock-timer.paused { color: var(--warn); text-shadow: none; }
.dock-run-tip { margin-top: 3px; font-size: 12px; color: var(--text-3); }
.dock-run-tip b { color: var(--text-2); }
.dock-paused-tip { margin-top: 3px; font-size: 12px; color: var(--warn); }
.dock-paused-tip b { color: var(--text-2); }
.dock-btns { display: flex; align-items: center; gap: 12px; flex: none; }
.btn-stop {
  padding: 14px 22px; border-radius: 15px;
  background: rgba(248, 113, 113, .08);
  border: 1px solid rgba(248, 113, 113, .3);
  color: var(--err); font-size: 15px; font-weight: 700;
  transition: all .2s;
  white-space: nowrap;
}
.btn-stop:hover:not(:disabled) { background: rgba(248, 113, 113, .16); }
.btn-stop:disabled { opacity: .55; cursor: not-allowed; }

/* ---------------- 我的 ---------------- */
.user-card {
  margin-top: 22px;
  border-radius: 18px; padding: 1px;
  background: var(--grad);
  box-shadow: 0 14px 40px rgba(34, 211, 238, .14);
}
.uc-inner {
  border-radius: 17px;
  padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
  background:
    radial-gradient(ellipse 70% 120% at 85% -20%, rgba(34, 211, 238, .12), transparent 60%),
    radial-gradient(ellipse 60% 120% at 10% 120%, rgba(99, 102, 241, .12), transparent 60%),
    rgba(13, 18, 32, .92);
}
.uc-ava {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: #06121c; font-size: 24px; font-weight: 800;
}
.uc-main { flex: 1; min-width: 0; }
.uc-name {
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.uc-name .badge svg { width: 12px; height: 12px; }
.uc-user { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.uc-created { font-size: 12px; color: var(--text-3); margin-top: 6px; }

/* 剩余加速时长卡片（我的页） */
.balance-card {
  margin-top: 18px;
  border-radius: 18px;
  padding: 26px 28px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 130% at 90% -30%, rgba(34, 211, 238, .16), transparent 60%),
    rgba(13, 18, 32, .92);
  border: 1px solid rgba(34, 211, 238, .26);
  box-shadow: 0 14px 40px rgba(34, 211, 238, .1);
}
.balance-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--text-2);
}
.balance-label svg { width: 15px; height: 15px; color: var(--primary); }
.balance-num {
  margin-top: 10px;
  font-size: 42px; font-weight: 800; letter-spacing: 3px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-shadow: 0 0 26px rgba(34, 211, 238, .35);
}
.balance-tip { margin-top: 8px; font-size: 12px; color: var(--text-3); }
.balance-card.empty { border-color: rgba(248, 113, 113, .3); box-shadow: none; }
.balance-card.empty .balance-label svg { color: var(--err); }
.balance-card.empty .balance-num { color: var(--err); text-shadow: none; }

.acc-sec { margin-bottom: 10px; }
.acc-card { margin-top: 2px; padding: 22px; display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.pw-form { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.pw-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.pw-title svg { width: 17px; height: 17px; color: var(--primary); }
.acc-divider { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .07); }
.acc-side {
  flex: 1; min-width: 220px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.acc-side-title { font-size: 15px; font-weight: 700; }
.acc-side-tip { font-size: 12px; color: var(--text-3); }

/* ---------------- 响应微调 ---------------- */
@media (max-width: 1080px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid .quick-card:nth-child(n+4) { display: none; }
}
@media (max-width: 1360px) and (min-width: 1081px) {
  .page { padding: 34px 32px 64px; }
}
@media (max-width: 720px) {
  .boost-dock { flex-direction: column; align-items: stretch; }
  .dock-btns .boost-cta, .dock-btns .btn-stop { flex: 1; min-width: 0; }
}
