:root {
  --primary: #6366F1; --primary-dark: #4F46E5; --primary-bg: #EEF2FF;
  --bg: #f3f3f3; --surface: #FFFFFF; --border: #E2E8F0;
  --text: #0F172A; --text-2: #64748B; --text-3: #94A3B8;
  --success: #10B981; --success-bg: #ECFDF5;
  --warning: #D97706; --warning-bg: #FFFBEB;
  --danger: #EF4444; --danger-bg: #FEF2F2;
  --info: #3B82F6; --info-bg: #EFF6FF;
  --muted: #64748B; --muted-bg: #F1F5F9;
  --radius: 10px; --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --container: 1200px; --header-h: 64px; --carousel-h: 340px;
  --shade-bg: rgba(248, 250, 252, .92);
}

/* 暗色主题（data-theme="dark"，导航开关切换，localStorage 记忆） */
[data-theme="dark"] {
  --bg: #0F172A;
  --surface: #1E293B;
  --border: #334155;
  --text: #E2E8F0;
  --text-2: #94A3B8;
  --text-3: #64748B;
  --primary: #818CF8;
  --primary-dark: #6366F1;
  --primary-bg: #1E293B;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 4px 16px rgba(0, 0, 0, .35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .5);
  --shade-bg: #1E293B;
}

/* =========================================================
   yxpt 视觉规范 —— style.css（现代浏览器版，flex/grid 布局）
   老 IE（<11）由 ie.css 降级覆盖；本文件保留完整 flex 布局
   ========================================================= */

/* HTML5 语义标签：IE 老内核不识别时强制块级（配合 ie.css/html5shiv） */
main, header, nav, aside, footer, section, article, figure, figcaption, hgroup, dialog { display: block; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { display: block; }

.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 20px; box-sizing: border-box; }

main.container { padding-top: 24px; padding-bottom: 24px; }

/* ================= 导航 ================= */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; height: 100%; }
.navbar .logo { margin-right: 24px; }

.logo { display: flex; align-items: center; font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: .5px; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px; margin-right: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 2px 6px rgba(99, 102, 241, .3);
}
.logo-name { line-height: 1.2; }
.logo-name small { display: block; color: var(--text-3); font-size: 11px; font-weight: 500; }

.nav-links { display: flex; }
.nav-links a {
  color: var(--text-2); font-size: 15px; padding: 6px 14px;
  border-radius: 6px; transition: all .12s; margin-right: 4px;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-bg); }
.nav-links a.active { color: var(--primary); font-weight: 600; background: var(--primary-bg); }

.nav-actions { display: flex; margin-left: auto; }
.nav-actions .btn { margin-left: 10px; }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: all .15s ease; user-select: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: #EF4444; color: #fff; }
.btn-danger:hover { background: #DC2626; color: #fff; }
.btn-dark { background: #334155; color: #fff; }
.btn-dark:hover { background: #1E293B; color: #fff; }
.btn-warning { background: #F59E0B; color: #fff; }
.btn-warning:hover { background: #D97706; color: #fff; }
.btn-sm { height: 30px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.btn-block { display: block; width: 100%; }

/* ================= 区块 ================= */
.section { margin: 30px 0; }
.section-head { display: flex; align-items: baseline; margin-bottom: 14px; }
.section-title { font-size: 20px; font-weight: 700; }
.section-title::before {
  content: ""; display: inline-block; width: 4px; height: 18px;
  background: var(--primary); border-radius: 2px; margin-right: 10px; vertical-align: -2px;
}
.section-more { margin-left: auto; color: var(--text-3); font-size: 13px; }
.section-more:hover { color: var(--primary); }

/* ================= 卡片（游戏网格） ================= */
.game-grid { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.game-grid > * { min-width: 0; width: calc(33.333% - 10px); padding: 0; margin: 0 5px 16px; box-sizing: border-box; }
/* 同类推荐：一行 4 个（覆盖 game-grid 默认 3 列） */
.same-grid > * { width: calc(25% - 10px); }
.rec-grid { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.rec-grid > * { min-width: 0; width: calc(33.333% - 10px); padding: 0; margin: 0 5px 16px; box-sizing: border-box; }

.card { background: var(--surface); border-radius: 10px; box-shadow: 0 1px 3px rgba(15, 23, 42, .07); overflow: hidden; border: 1px solid #F1F5F9; }
.game-card { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(15, 23, 42, .08); }

.game-cover {
  position: relative;
  height: 0; padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
}
.game-cover {
  border-radius: 10px 10px 0 0; /* 顶部圆角贴合卡片 */
}
.game-cover img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 10px 10px 0 0;
}
.cover-emoji {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
}
.cover-g1 { background: linear-gradient(135deg, var(--primary), #8B5CF6); }
.cover-g2 { background: linear-gradient(135deg, #0EA5E9, var(--primary)); }
.cover-g3 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.cover-g4 { background: linear-gradient(135deg, #10B981, #0EA5E9); }
.cover-g5 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.cover-g6 { background: linear-gradient(135deg, var(--text-2), var(--text)); }

.game-cover-tag {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: #EF4444;
  color: #fff; font-size: 11px; line-height: 1;
  padding: 3px 8px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .3);
}
.rec-grid .game-cover { padding-bottom: 75%; }

.game-card-body { padding: 12px 14px 14px; }
.game-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; }
.game-name .badge { margin-left: 6px; }
.game-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; font-size: 12px; color: var(--text-3);
}

/* ================= 徽标 ================= */
.badge {
  display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 1.7; white-space: nowrap;
}
.badge-success { color: #10B981; background: #ECFDF5; }
.badge-warning { color: #B45309; background: #FFFBEB; }
.badge-danger  { color: #EF4444; background: #FEF2F2; }
.badge-info    { color: #3B82F6; background: #EFF6FF; }
.badge-muted   { color: var(--text-2); background: #F1F5F9; }
.badge-primary { color: var(--primary); background: var(--primary-bg); }

/* ================= 开服表 ================= */
.server-list { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); overflow: hidden; }
.server-row {
  display: flex; align-items: center; padding: 12px 18px;
  border-bottom: 1px solid var(--border); transition: background .12s;
}
.server-row:last-child { border-bottom: none; }
.server-row:hover { background: var(--bg); }
.server-cover { width: 64px; height: 40px; border-radius: 6px; flex-shrink: 0; margin-right: 16px; }
.server-game { font-weight: 600; font-size: 15px; width: 150px; }
.server-name { color: var(--text-2); width: 120px; }
.server-name b { color: var(--text); font-weight: 600; }
.server-time { color: var(--text-3); font-size: 13px; width: 130px; font-variant-numeric: tabular-nums; }
.server-row .badge { margin-left: auto; }
.server-row .btn { margin-left: 16px; }

/* ================= 侧边栏模块 ================= */
.layout-home { display: flex; align-items: flex-start; }
.layout-home .home-main { flex: 1; min-width: 0; }
.layout-home .home-side { width: 340px; margin-left: 20px; flex-shrink: 0; }

.side-card { background: var(--surface); border-radius: 10px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); overflow: hidden; margin-bottom: 20px; }
.home-side .side-card:first-child { min-height: 340px; }
.side-head { display: flex; align-items: baseline; padding: 14px 16px 8px; }
.side-title { font-size: 15px; font-weight: 700; }
.side-title::before {
  content: ""; display: inline-block; width: 4px; height: 14px;
  background: var(--primary); border-radius: 2px; margin-right: 8px; vertical-align: -1px;
}
.side-body { padding: 6px 16px 14px; }
.side-more { margin-left: 10px; color: var(--text-3); font-size: 12px; align-self: center; }
.side-more:hover { color: var(--primary); }

.side-head .side-tabs { flex: 1; }
.side-tabs {
  display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  margin-bottom: 2px;
}
.side-tabs button {
  flex: 1; padding: 7px 0; border: none; background: var(--bg);
  font-size: 13px; color: var(--text-2); cursor: pointer; font-family: inherit;
  border-right: 1px solid var(--border); transition: all .12s;
}
.side-tabs button:last-child { border-right: none; }
.side-tabs button:hover { color: var(--primary); background: var(--primary-bg); }
.side-tabs button.active { background: var(--primary); color: #fff; font-weight: 600; }

/* 账号模块 */
.login-box { text-align: center; padding: 16px 4px 8px; }
.login-box.logged { display: flex; align-items: center; flex-wrap: wrap; text-align: left; padding: 4px 12px; }
.login-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  margin: 0 auto 10px;
}
.login-box.logged .login-avatar { width: 44px; height: 44px; font-size: 22px; margin: 0; flex-shrink: 0; margin-right: 12px; }
.login-box.logged .login-info { flex: 1; min-width: 0; }
.login-box.logged .login-name { font-size: 14px; color: var(--text); margin: 0 0 2px; }
.login-box.logged .login-name b { color: var(--primary); }
.login-box.logged .login-coins { font-size: 12px; color: #D97706; margin: 0; }
.login-box p { color: var(--text-2); font-size: 13px; margin-bottom: 14px; }
.login-box.logged p { margin-bottom: 0; }
.login-btns { display: flex; justify-content: center; }
.login-btns .btn { margin: 0 5px; }
.login-box.logged .login-btns { flex-direction: row; width: 100%; margin-left: 0; margin-top: 8px; justify-content: space-between; gap: 6px; }
.login-box.logged .login-btns .btn,
.login-box.logged .login-btns .sign-done,
.login-box.logged .login-btns .btn-sign { flex: 1; margin: 0; height: 28px; padding: 0 4px; font-size: 12px; }

/* 最近玩过（侧栏） */
.recent-box { border-top: 1px dashed var(--border); padding-top: 12px; text-align: left; }
.recent-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.recent-list { list-style: none; }
.recent-item {
  display: block; padding: 0;
  border-bottom: 1px dashed #E6E6E6;
}
.recent-item:last-child { border-bottom: none; }
.recent-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 2px; color: inherit; text-decoration: none;
}
.recent-link:hover .recent-name { color: var(--primary); }
.recent-name { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-time { color: var(--text-3); font-size: 12px; flex-shrink: 0; margin-left: 8px; font-variant-numeric: tabular-nums; }
.recent-empty { color: var(--text-3); font-size: 12px; text-align: center; padding: 10px 0; }

/* 公告列表 */
.news-list { list-style: none; }
.news-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 8px; border-radius: 6px;
  border-bottom: 1px dashed #E6E6E6;
  transition: background .12s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--bg); }
.news-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}
.news-item a {
  flex: 1; min-width: 0; color: var(--text); font-size: 13px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.news-item a:hover { color: var(--primary); }
.news-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-date { color: var(--text-3); font-size: 12px; flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* ================= 轮播 ================= */
.carousel { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); background: var(--surface); }
.carousel-track { position: relative; height: 340px; }
.carousel-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity .5s ease;
  display: flex; align-items: flex-end;
  padding: 30px; color: #fff;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide.has-img img.carousel-img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-slide.has-img a.carousel-link { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.carousel-slide .carousel-content { position: relative; z-index: 1; }
.carousel-emoji { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.carousel-content h3 { font-size: 26px; margin-bottom: 6px; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.carousel-content p { font-size: 14px; max-width: 70%; margin-bottom: 14px; opacity: .92; text-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 45px; height: 45px; border: none; background-color: transparent;
  cursor: pointer; z-index: 3; line-height: 1;
  background-image: url('../images/arrows.png'); background-repeat: no-repeat;
  background-size: 90px 90px; color: transparent;
  opacity: .85; transition: opacity .15s;
}
.carousel-prev { left: 8px; background-position: 0 0; }
.carousel-next { right: 8px; background-position: -45px 0; }
.carousel-btn:hover { opacity: 1; background-color: transparent; }
.carousel-dots { position: absolute; right: 16px; bottom: 14px; z-index: 2; display: flex; }
.carousel-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5);
  cursor: pointer; border: none; margin-left: 6px; padding: 0;
}
.carousel-dots .dot.active { background: var(--surface); }

/* ================= Tab 切换 ================= */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.detail-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 18px; padding-bottom: 12px; }
.detail-tabs button {
  padding: 8px 22px; border: 1px solid var(--border); background: var(--bg);
  cursor: pointer; font-size: 14px; color: var(--text); font-family: inherit;
  border-radius: 8px; font-weight: 500; margin-right: 8px;
}
.detail-tabs button:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-bg); }
.detail-tabs button.active {
  background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600;
  box-shadow: 0 2px 6px rgba(99, 102, 241, .35);
}

.svr-tabs { display: flex; margin-bottom: 14px; }
.svr-tabs button {
  padding: 7px 18px; border: 1px solid var(--border); background: var(--bg);
  border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer;
  font-family: inherit; font-weight: 500; margin-right: 8px;
}
.svr-tabs button:hover { color: var(--primary); border-color: var(--primary); }
.svr-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }

/* ================= 区服按钮 ================= */
.kf-list { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.kf-list > * { min-width: 0; width: calc(20% - 16px); padding: 0; margin: 0 8px 12px; box-sizing: border-box; }
.kf-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 58px; box-sizing: border-box;
  border-radius: 10px; padding: 8px 10px; text-align: center;
  /* background: linear-gradient(160deg, #3B5B8C 0%, #2E4A73 100%);*/
  background: #824724;
  color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 1px 4px rgba(46, 74, 115, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: all .18s ease; position: relative; overflow: hidden;
}
a.kf-btn:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(46, 74, 115, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.kf-line { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.kf-time { display: block; font-size: 10px; opacity: .88; margin-top: 2px; }
.kf-btn.upcoming {
  background: linear-gradient(160deg, #B98A3D 0%, #A67B2E 100%);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 1px 4px rgba(166, 123, 46, .16), inset 0 1px 0 rgba(255, 255, 255, .18);
  cursor: default; position: relative; overflow: hidden;
}
a.kf-btn.upcoming:hover { transform: none; box-shadow: none; }
.kf-btn.disabled { background: linear-gradient(160deg, #F1F5F9, var(--border)); color: var(--text-3); border-color: var(--border); box-shadow: none; cursor: default; }
a.kf-btn.disabled:hover { transform: none; box-shadow: none; }
.kf-btn.special {
  background: linear-gradient(160deg, #B3443C 0%, #9A3A33 100%);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 1px 4px rgba(154, 58, 51, .16), inset 0 1px 0 rgba(255, 255, 255, .18);
}
/* 今日开服（新开）按钮：绿色醒目 */
.kf-btn.today {
  background: linear-gradient(160deg, #16A34A 0%, #15803D 100%);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 1px 4px rgba(22, 163, 74, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
}
a.kf-btn.today:hover {
  box-shadow: 0 3px 8px rgba(22, 163, 74, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.svr-new {
  position: absolute; top: -2px; right: 6px;
  background: #C0504A; color: #fff; font-style: normal;
  font-size: 10px; padding: 1px 6px; border-radius: 0 0 6px 6px;
}
.kf-pack {
  position: absolute; top: 6px; left: 6px; font-style: normal;
  background: #ef4444; color: #fff;
  font-size: 10px; padding: 1px 6px; border-radius: 999px;
}
.kf-play { display: block; font-size: 10px; opacity: .9; margin-top: 2px; }

.lg-recent-grid { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.lg-recent-grid > * { min-width: 0; width: calc(20% - 10px); padding: 0; margin: 0 5px 10px; box-sizing: border-box; }

/* ================= 专题页 ================= */
.breadcrumb { color: var(--text-3); font-size: 13px; margin-bottom: 14px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

.detail-section { margin: 28px 0; }
.lg-panel-body { padding: 16px 26px 24px; }
.lg-empty { color: var(--text-3); text-align: center; padding: 40px 0; }
.lg-section-title { margin: 22px 0 12px; font-size: 16px; font-weight: 700; }
.lg-intro { font-size: 14px; color: #475569; line-height: 1.9; white-space: pre-line; }
.detail-empty { color: var(--text-3); font-size: 12px; margin-top: 10px; text-align: center; }

.shot-grid { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.shot-grid > * { min-width: 0; width: calc(25% - 12px); padding: 0; margin: 0 6px 12px; box-sizing: border-box; }
.shot-img { width: 100%; height: auto; border-radius: 8px; display: block; }
.shot-item { height: 120px; border-radius: 8px; font-size: 34px; position: relative; overflow: hidden; }
.shot-emoji {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
}
.shot-item img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.filter-tabs { display: flex; margin-bottom: 16px; }
.filter-tabs a {
  padding: 6px 16px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  border: 1px solid var(--border); margin-right: 8px; background: var(--surface);
}
.filter-tabs a:hover { color: var(--primary); border-color: var(--primary); }
.filter-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.list-empty { color: var(--text-3); text-align: center; padding: 60px 0; }

/* ================= 充值中心 ================= */
.pay-grid { display: flex; align-items: flex-start; }
.pay-grid .pay-side { width: 340px; margin-right: 20px; flex-shrink: 0; }
.pay-grid .pay-main { flex: 1; min-width: 0; }

.pay-methods { display: flex; flex-direction: column; }
.pay-method {
  display: flex; align-items: center; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px;
  cursor: pointer; transition: all .12s; background: transparent;
}
.pay-method:hover { border-color: var(--primary); }
.pay-method.active { border-color: var(--primary); background: var(--primary-bg); }
.pm-logo {
  width: 30px; height: 30px; border-radius: 8px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; margin-right: 12px; flex-shrink: 0;
}
.pm-alipay { background: #1677FF; }
.pm-wechat { background: #07C160; }
.pm-coins { background: #F59E0B; }
.pm-name { flex: 1; font-size: 14px; color: var(--text); }
.pm-check { color: var(--primary); font-weight: 700; opacity: 0; }
.pay-method.active .pm-check { opacity: 1; }
.pay-tip { font-size: 12px; color: var(--text-3); margin-top: 8px; }

.recharge-type { display: flex; }
.recharge-type button {
  flex: 1; padding: 8px 0; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 14px; cursor: pointer;
  font-family: inherit; font-weight: 500; margin-right: 8px;
}
.recharge-type button:last-child { margin-right: 0; }
.recharge-type button:hover { border-color: var(--primary); color: var(--primary); }
.recharge-type button.active {
  background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600;
}

.amount-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.amount-chip {
  min-width: 0; padding: 8px 0; text-align: center; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; cursor: pointer;
  background: var(--bg); color: var(--text);
}
.amount-chip:last-child { margin-right: 0; }
.amount-chip:hover { border-color: var(--primary); color: var(--primary); }
.amount-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* ================= 表单 ================= */
.form-row { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.form-input {
  width: 100%; height: 38px; border: 1px solid var(--border); border-radius: 8px;
  padding: 0 12px; font-size: 14px; font-family: inherit; outline: none;
  background: var(--surface); color: var(--text);
}
textarea.form-input { height: auto; padding: 10px 12px; }
.form-input:focus { border-color: var(--primary); }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }.form-error {
  background: #FEF2F2; color: #EF4444; border: 1px solid #FECACA;
  border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px;
}
.form-success {
  background: #ECFDF5; color: #10B981; border: 1px solid #A7F3D0;
  border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px;
}
.form-tip { font-size: 13px; color: var(--text-3); margin-top: 12px; }
.form-tip a { color: var(--primary); }

.auth-wrap { display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; }
.auth-card { width: 400px; max-width: 100%; padding: 32px 36px; }
.auth-title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: var(--text-3); text-align: center; margin-bottom: 20px; }

/* ================= 个人中心 ================= */
.uc-hero {
  display: flex; align-items: center;
  background: linear-gradient(120deg, var(--primary), #8B5CF6 60%, #A855F7);
  border-radius: 10px; padding: 22px 26px; color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, .25);
}
.uc-hero-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .2);
  display: flex; align-items: center; justify-content: center; font-size: 32px;
  flex-shrink: 0; border: 2px solid rgba(255, 255, 255, .4); margin-right: 18px;
}
.uc-hero-info { flex: 1; min-width: 0; }
.uc-hero-name { font-size: 22px; font-weight: 800; display: flex; align-items: center; }
.uc-hero-tag {
  font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .2);
  padding: 2px 10px; border-radius: 999px; margin-left: 10px;
}
.uc-hero-meta { font-size: 13px; color: rgba(255, 255, 255, .85); margin-top: 4px; }
.uc-hero-coins { font-size: 14px; margin-top: 6px; }
.uc-hero-coins b { font-size: 20px; }
.uc-hero-actions { display: flex; margin-left: auto; }
.uc-hero-actions .btn { margin-left: 10px; }
.uc-hero-actions .btn-ghost { background: rgba(255, 255, 255, .92); border-color: transparent; }

.uc-stats { display: flex; flex-wrap: wrap; margin: 18px -8px 0; }
.uc-stats > * { min-width: 0; width: calc(33.333% - 16px); padding: 0; margin: 0 8px 16px; box-sizing: border-box; }
.uc-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.uc-stat span { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.uc-stat b { font-size: 22px; color: var(--primary); }
.uc-stat:first-child b { color: #EF4444; }

.uc-body { display: flex; align-items: flex-start; }
.uc-body .uc-nav { width: 190px; margin-right: 20px; flex-shrink: 0; }
.uc-body .uc-content { flex: 1; min-width: 0; }
.uc-nav { padding: 10px 0; }
.uc-nav a {
  display: block; padding: 11px 20px; font-size: 14px; color: var(--text-2);
  border-radius: 8px; margin: 3px 10px;
}
.uc-nav a:hover { background: var(--primary-bg); color: var(--primary); }
.uc-nav a.active {
  background: var(--primary); color: #fff; font-weight: 600;
  box-shadow: 0 3px 10px rgba(99, 102, 241, .3);
}
.uc-card { overflow: hidden; }
.uc-card .side-head { padding: 14px 18px 10px; }

.center-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.center-table th, .center-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.center-table th { color: var(--text-3); font-weight: 600; background: var(--bg); }
.center-table td { color: var(--text); }
.center-table .mono { font-variant-numeric: tabular-nums; color: var(--text-2); }
.center-empty { color: var(--text-3); text-align: center; padding: 30px 0; font-size: 13px; }

.center-recent-list { display: flex; flex-direction: column; }
.center-recent-item {
  display: flex; justify-content: space-between; padding: 10px 16px;
  border-bottom: 1px solid var(--border); color: var(--text); font-size: 13px;
}
.center-recent-item:last-child { border-bottom: none; }
.center-recent-item:hover { background: var(--primary-bg); color: var(--primary); }
.center-recent-item .cr-time { color: var(--text-3); }

/* ================= 弹窗 ================= */
.pack-overlay {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15, 23, 42, .55); z-index: 1200;
  display: none; align-items: center; justify-content: center;
}
.pack-overlay.show { display: flex; }
.pack-box {
  width: 440px; max-width: 92vw; background: var(--surface); border-radius: 16px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(15, 23, 42, .3);
}
.pack-head {
  background: linear-gradient(135deg, #7C3AED, #A855F7 55%, #D946EF);
  color: #fff; padding: 16px 22px; font-size: 17px; font-weight: 800;
  display: flex; align-items: center;
}
.pack-head-icon { font-size: 22px; margin-right: 10px; }
.pack-close {
  margin-left: auto; background: none; border: none; color: rgba(255, 255, 255, .85);
  font-size: 16px; cursor: pointer; padding: 2px 6px; border-radius: 6px;
}
.pack-close:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.pack-body { padding: 24px 26px 26px; }
.pack-name { font-size: 21px; font-weight: 900; color: #7C3AED; margin-bottom: 8px; }
.pack-time { font-size: 12px; color: var(--text-3); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.pack-decl {
  font-size: 13px; color: var(--text-2); line-height: 1.9;
  background: linear-gradient(90deg, #F5F3FF, #FAFAFF);
  border-left: 4px solid #A855F7; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 14px;
}
.pack-tip {
  font-size: 13px; color: #EF4444; background: #FEF2F2;
  border-radius: 8px; padding: 9px 12px; margin-bottom: 16px;
}
.pack-btns { display: flex; justify-content: flex-end; }
.pack-btns .btn { margin-right: 10px; }
.pack-btns .btn:last-child { margin-right: 0; }
.pack-enter-btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 24px;
  background: linear-gradient(135deg, #F5C518, #E8A200); color: #1F2937; font-weight: 800;
  border-radius: 9px; font-size: 14px; cursor: pointer; text-decoration: none;
}
.pack-enter-btn:hover { box-shadow: 0 6px 18px rgba(245, 197, 24, .45); color: #1F2937; }

.payr-amount {
  font-size: 34px; font-weight: 800; color: #D97706;
  text-align: center; line-height: 1.2; margin-bottom: 14px;
}
.payr-list {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  margin-bottom: 18px;
}
.payr-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: var(--surface); border-bottom: 1px solid #EEF1F6;
  font-size: 13px;
}
.payr-row:last-child { border-bottom: none; }
.payr-row span { color: var(--text-3); }
.payr-row b { color: #1E293B; font-weight: 600; }
.payr-row.coin {
  background: linear-gradient(90deg, #FFFBEB, #FFF7E6);
  border-top: 1px solid #FDE68A;
}
.payr-row.coin b { color: #D97706; font-size: 16px; font-weight: 800; }

.rc-tip { font-size: 13px; color: #B45309; background: #FFFBEB; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; }

/* ================= 页脚 / 分页 ================= */
.footer { margin-top: 60px; border-top: 1px solid var(--border); background: var(--surface); }
.footer .container { padding: 28px 20px; text-align: center; color: var(--text-3); font-size: 13px; }

.pager { display: flex; align-items: center; justify-content: center; padding: 16px; }
.pager a {
  padding: 5px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 13px; color: var(--primary); margin: 0 6px; background: var(--surface);
}
.pager a:hover { background: var(--primary-bg); }
.pager span { margin: 0 8px; }

/* ================= 游戏大全左右布局 ================= */
.layout-list { display: flex; align-items: flex-start; margin-top: 24px; }
.layout-list .list-side { width: 220px; margin-right: 20px; flex-shrink: 0; }
.layout-list .list-main { flex: 1; min-width: 0; }
.cat-nav { list-style: none; }
.cat-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; font-size: 13px; color: var(--text-2); border-radius: 6px; margin: 2px 0;
}
.cat-nav a:hover { background: var(--primary-bg); color: var(--primary); }
.cat-nav a.active { background: var(--primary); color: #fff; font-weight: 600; }
.cat-nav .cnt { font-size: 12px; color: var(--text-3); }
.cat-nav a.active .cnt { color: rgba(255, 255, 255, .8); }

/* ================= 专题页头部 ================= */
.detail-legend {
  background: var(--surface); border-radius: 10px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  padding: 20px 24px; margin-bottom: 20px;
}
.lg-top { display: flex; align-items: center; }
.lg-top-info { flex: 1; min-width: 0; }
.lg-top-info h1 { font-size: 22px; font-weight: 800; display: flex; align-items: center; }
.lg-top-info .badge { margin-left: 10px; }
.lg-actions { display: flex; flex-wrap: wrap; }
.lg-top-btn { margin-left: 10px; }
.lg-top-btn:first-child { margin-left: 0; }

.lg-intro-bar {
  display: flex; align-items: center;
  background: var(--bg); border-radius: 8px; padding: 10px 14px; margin-top: 14px;
}
.lg-intro-tag {
  flex-shrink: 0; background: var(--primary-bg); color: var(--primary);
  font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-right: 12px;
}
.lg-intro-bar p { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lg-stats { display: flex; border-top: 1px solid var(--border); margin-top: 14px; }
.lg-stats > div { flex: 1; padding: 14px 10px; text-align: center; border-right: 1px solid var(--border); }
.lg-stats > div:last-child { border-right: none; }
.lg-stats span { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.lg-stats b { font-size: 14px; color: var(--text); font-weight: 700; }

.lg-tabs { margin-top: 16px; }
.lg-sub { font-size: 13px; color: var(--text-2); }

/* ================= 公告页 ================= */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-list { background: var(--surface); border-radius: 10px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); overflow: hidden; }
.article-item { padding: 14px 18px; border-bottom: 1px solid #EEF1F6; }
.article-item:last-child { border-bottom: none; }
.article-item a { color: var(--text); font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.article-item a:hover { color: var(--primary); }
.article-date { color: var(--text-3); font-size: 12px; flex-shrink: 0; margin-left: 16px; }
.article-detail { background: var(--surface); border-radius: 10px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); padding: 28px 34px; }
.article-detail h1 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.article-meta { color: var(--text-3); font-size: 12px; margin-bottom: 18px; }
.article-content { font-size: 14px; color: #475569; line-height: 1.9; white-space: pre-line; }

/* ================= 侧栏开服 ================= */
.side-servers { padding: 2px 10px 12px; }
.side-server {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid #EEF1F6; border-radius: 8px;
  padding: 8px 10px; margin-bottom: 8px; font-size: 13px;
  transition: box-shadow .12s ease, transform .12s ease;
}
.side-server:last-child { margin-bottom: 0; }
.side-server:hover { box-shadow: 0 2px 10px rgba(15, 23, 42, .08); }
.side-server-info { flex: 1; min-width: 0; }
.side-server-name { color: var(--text); font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-server-time { color: var(--text-3); font-size: 12px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.side-server .badge { flex-shrink: 0; }
.side-enter {
  flex-shrink: 0; margin-left: 4px;
  background: var(--primary-bg); color: var(--primary-dark); border-radius: 999px;
  padding: 4px 12px; font-size: 12px; white-space: nowrap; transition: background .12s;
}
.side-enter:hover { background: #E0E7FF; color: var(--primary-dark); }
.side-cover {
  width: 44px; height: 30px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
}

/* 落地页顶栏（return_url） */
.nav-user { display: flex; align-items: center; margin-left: auto; }
.nav-user a { color: var(--text); font-size: 14px; margin-left: 14px; }
.nav-user a.exit { color: var(--text-2); }

/* 落地页 game_login */
.lg-topbar {
  height: 48px; background: #111827; color: #fff;
  display: flex; align-items: center; padding: 0 16px;
  border-bottom: 1px solid #1F2937;
}
.lg-topbar .lg-title { font-size: 15px; font-weight: 600; }
.lg-topbar .lg-sub { font-size: 12px; color: var(--text-3); margin-left: 12px; }
.lg-topbar .lg-back {
  margin-left: 12px; background: rgba(255, 255, 255, .1); border: none; color: #fff;
  padding: 6px 14px; border-radius: 7px; cursor: pointer; font-size: 13px;
  text-decoration: none; font-family: inherit;
}
.lg-topbar .lg-back:first-of-type { margin-left: auto; }
.lg-topbar .lg-back:hover { background: rgba(99, 102, 241, .8); }
.lg-topbar .lg-back.lg-pay {
  background: linear-gradient(160deg, #3B5B8C 0%, #2E4A73 100%);
  box-shadow: 0 1px 4px rgba(46, 74, 115, .3);
}
.lg-topbar .lg-back.lg-pay:hover { background: linear-gradient(160deg, #2E4A73 0%, #24395C 100%); }
.lg-frame { display: block; width: 100%; height: calc(100vh - 48px); border: none; }

/* 签到记录日历格子 */
.sign-cal { display: flex; flex-wrap: wrap; margin: 0 -3px; }
.sign-cell {
  width: calc(14.28% - 6px); margin: 0 3px 6px; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: 6px; padding: 4px 2px;
  text-align: center; font-size: 10px; background: var(--bg);
}
.sign-cell .sc-day { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.sign-cell .sc-mark { font-size: 10px; color: var(--text-3); }
.sign-cell.signed { background: var(--primary-bg); border-color: var(--primary); }
.sign-cell.signed .sc-mark { color: var(--primary); font-weight: 600; }
.sign-cell.today { border-color: #F59E0B; box-shadow: 0 0 0 1px #F59E0B; }

/* 首页已签到状态（灰色完成态） */
.sign-done {
  display: inline-block; text-align: center; white-space: nowrap;
  height: 30px; line-height: 28px; padding: 0 14px; font-size: 12px;
  border-radius: 6px; font-weight: 600;
  background: var(--border); color: var(--text-2); border: 1px solid #CBD5E1;
}

/* 首页签到按钮（金色渐变，可点击） */
.btn-sign {
  display: inline-block; text-align: center; white-space: nowrap;
  height: 30px; line-height: 28px; padding: 0 14px; font-size: 12px;
  border-radius: 6px; font-weight: 600; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 2px 6px rgba(217, 119, 6, .25); transition: all .15s;
}
.btn-sign:hover { background: linear-gradient(135deg, #D97706, #B45309); color: #fff; }

/* 通用 toast 提示（showMsg 用） */
.yx-toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #EF4444;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .18); border-radius: 10px;
  padding: 13px 26px; font-size: 14px; color: #EF4444; font-weight: 500;
  white-space: nowrap; opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.yx-toast.show { opacity: 1; }

/* ================= 福利券卡片 ================= */
.welfare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .welfare-grid { grid-template-columns: 1fr; } }
.welfare-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; transition: box-shadow .15s ease;
}
.welfare-card:hover { box-shadow: var(--shadow); }
.welfare-card.dim { background: #FAFAFC; opacity: .78; }
.welfare-value {
  min-width: 84px; text-align: center; flex-shrink: 0;
  font-size: 24px; font-weight: 800; color: var(--danger);
  border-right: 1px dashed var(--border); padding-right: 14px;
}
.welfare-value small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }
.welfare-info { flex: 1; min-width: 0; }
.welfare-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.welfare-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.welfare-code { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.welfare-action { flex-shrink: 0; }

/* 充值游戏/区服并排（充值中心） */
.recharge-game-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .recharge-game-row { grid-template-columns: 1fr; } }

/* 充值可获得（货币名称与比例） */
.recharge-gain {
  margin-top: 10px; background: var(--primary-bg); border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: var(--text-2);
}


/* 游戏详情页：整页半透明白色遮罩 */
.detail-page {
  background: var(--shade-bg);
  border-radius: 12px;
  padding: 8px 18px 18px;
  margin: 0 -18px;
}

/* 首页：半透明白色遮罩 */
.home-page {
  background: var(--shade-bg);
  border-radius: 12px;
  padding: 8px 18px 18px;
  margin: 0 -18px;
}

/* 通用半透明白色遮罩（游戏大全/开服表/充值中心等） */
.page-shade {
  background: var(--shade-bg);
  border-radius: 12px;
  padding: 8px 18px 18px;
  margin: 0 -18px;
}

/* 开服表紧凑单行（日期 + 游戏·区服 + 进入按钮） */
.open-list { list-style: none; background: var(--surface); border: 1px solid #EEF1F6; border-radius: 10px; overflow: hidden; }
.open-list li { border-bottom: 1px dashed #EEF1F6; }
.open-list li:last-child { border-bottom: none; }
.open-list .bd { display: flex; align-items: center; gap: 14px; padding: 9px 14px; font-size: 13px; }
.open-list .date { color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.open-list .name { flex: 1; min-width: 0; color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.open-list a.name:hover { color: var(--primary); }
.open-list li.yesterday .bd,
.open-list li.old .bd { opacity: .75; }

/* 支付安全码输入框：type=text 防浏览器自动填充密码，用圆点遮罩显示 */
.pay-code-field {
  -webkit-text-security: disc;
  letter-spacing: 4px;
}

/* 6 位安全码分隔输入框（每格 1 位，圆点显示，防浏览器自动填充） */
.sp-box { display: flex; gap: 8px; }
.sp-cell {
  width: 42px; height: 44px; text-align: center; font-size: 18px;
  border: 1px solid var(--border); border-radius: 1px; background: var(--surface); outline: none;
  -webkit-text-security: disc; caret-color: transparent;
  transition: border-color .12s, box-shadow .12s;
}
.sp-cell:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }

/* 充值页：充值账号 + 支付安全码 并排 */
.recharge-account-row { display: flex; gap: 14px; flex-wrap: wrap; }
.recharge-account-row .form-row { flex: 1; min-width: 220px; margin-bottom: 14px; }
@media (max-width: 720px) { .recharge-account-row { flex-direction: column; } }

/* 支付安全码：单输入 + 6 格分隔线 + 左侧红竖线 */
.safepasswd-box { max-width: 280px; }
.safepasswd-label { font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.safepasswd-field {
  position: relative; height: 44px;
  border: 1px solid var(--border); border-left: 3px solid #EF4444; border-radius: 6px;
  background: var(--surface); overflow: hidden;
}
.safepasswd-field input {
  width: 100%; height: 100%; border: none; outline: none; background: transparent;
  font-size: 18px; letter-spacing: 22px; padding: 0 12px;
  -webkit-text-security: disc; caret-color: var(--primary);
  background-image: repeating-linear-gradient(
    to right,
    transparent 0 calc(16.666% - 1px),
    var(--border) calc(16.666% - 1px) 16.666%
  );
}
.safepasswd-field input:focus { box-shadow: 0 0 0 3px rgba(99, 102, 241, .12); }
.safepasswd-tip { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.safepasswd-tip.wrong { color: #EF4444; }

/* 支付安全码 content_safepasswd 结构：红竖线 + 单密码框 + 6 格线 */
.content_safepasswd { position: relative; max-width: 280px; }
.content_safepasswd .blink_d { position: absolute; top: 34px; bottom: 26px; left: 0; }
.content_safepasswd .form_label { font-size: 13px; color: var(--text-2); display: block; margin-bottom: 6px; }
.content_safepasswd .input240 {
  width: 100%; height: 44px; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface);
  font-size: 18px; letter-spacing: 20px; padding: 0 12px; outline: none;
  caret-color: var(--primary);
  background-image: repeating-linear-gradient(
    to right,
    transparent 0 calc(16.666% - 1px),
    var(--border) calc(16.666% - 1px) 16.666%
  );
}
.content_safepasswd .input240:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .12); }
.content_safepasswd .safepasswd-tip { font-size: 12px; color: var(--text-3); margin-top: 6px; display: block; }

/* 支付安全码：6 格显示 + 透明密码输入层（输入一位对应一格圆点） */
.safepasswd-cells {
  position: relative; display: flex;
  border: 1px solid #D5DAE1; border-radius: 0;
  height: 42px; background: var(--surface); overflow: hidden;
}
.safepasswd-cells .sp-cell {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text); border-right: 1px solid #E8EAEE;
}
.safepasswd-cells .sp-cell:last-child { border-right: none; }
.safepasswd-cells input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; border: none; outline: none; cursor: text;
  font-size: 16px;
}
.safepasswd-cells:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .12); }

/* 充值页：充值账号 + 支付安全码 并排 */
.pay-info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 720px) { .pay-info-row { grid-template-columns: 1fr; } }
.pay-info-row .content_safepasswd { max-width: none; }

/* 分页（中奖榜/列表通用） */
.kaifu_page { display: flex; gap: 6px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.kaifu_page a, .kaifu_page span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  font-size: 13px; cursor: pointer; text-decoration: none; transition: all .12s ease;
}
.kaifu_page a:hover { border-color: var(--primary); color: var(--primary); }
.kaifu_page span.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.kaifu_page span:not(.on) { cursor: default; }

/* ================= 养鸡场·农场场景 ================= */
.farm-scene {
  position: relative; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #7DD3FC 0%, #BAE6FD 38%, #86EFAC 38%, #4ADE80 72%, #22C55E 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 4px 16px rgba(15,23,42,.08);
  min-height: 420px; padding: 0;
}
/* 太阳 */
.farm-scene::before {
  content: "☀️"; position: absolute; top: 18px; right: 26px; font-size: 34px;
  filter: drop-shadow(0 0 8px rgba(250,204,21,.8)); animation: sunPulse 4s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
/* 云朵 */
.farm-cloud {
  position: absolute; font-size: 26px; opacity: .85; pointer-events: none;
  animation: cloudDrift linear infinite;
}
@keyframes cloudDrift { from { transform: translateX(-40px); } to { transform: translateX(calc(100vw + 40px)); } }
/* 栅栏（底部草地装饰线） */
.farm-fence {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(120,53,15,.85) 0 10px, transparent 10px 26px);
  opacity: .5;
}
/* 鸡的圈养位 */
.farm-pen {
  position: relative; z-index: 2;
  background: transparent; border: none; border-radius: 0;
  box-shadow: none; padding: 6px 4px 4px; text-align: center;
  transition: transform .15s;
}
.farm-pen:hover { transform: translateY(-3px); }
/* 鸡（直接站在草地上，走动范围更大） */
.farm-chicken {
  display: inline-block; font-size: 62px; line-height: 1; margin: 0 0 2px;
  animation: chickenWalk 2.6s ease-in-out infinite;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 4px 4px rgba(15,23,42,.18));
}
@keyframes chickenWalk {
  0%, 100% { transform: translateX(-14px) rotate(-4deg) translateY(0); }
  20% { transform: translateX(10px) rotate(3deg) translateY(-4px); }
  40% { transform: translateX(-6px) rotate(-2deg) translateY(0); }
  60% { transform: translateX(14px) rotate(4deg) translateY(-3px); }
  80% { transform: translateX(-8px) rotate(-3deg) translateY(0); }
}
/* 鸡名标签：半透明圆角小标，不遮草地 */
.farm-name {
  display: inline-block; margin-top: 2px; padding: 1px 10px;
  background: rgba(255,255,255,.85); border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #334155;
}
.farm-info { font-size: 11px; color: #3F6212; margin-top: 2px; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
/* 操作按钮：半透明浮在草地上 */
.farm-actions { display: flex; gap: 5px; margin-top: 5px; justify-content: center; }
.farm-actions .btn { height: 24px; padding: 0 10px; font-size: 11px; }

/* ---------- 随机走动小鸡（QQ牧场式） ---------- */
.farm-bird {
  position: absolute; z-index: 3; cursor: pointer; user-select: none;
  left: 40%; top: 55%;
  transition: left 2s linear, top 2s linear;
}
.farm-bird .farm-bird-body {
  display: inline-block; line-height: 1;
  filter: drop-shadow(0 4px 4px rgba(15,23,42,.2));
  transform-origin: 50% 90%;
}
/* 走动时：身体上下颠簸 + 腿部迈步交替 */
.farm-bird.walking .farm-bird-body {
  animation: birdBob .28s ease-in-out infinite;
}
@keyframes birdBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.farm-bird .chick-leg {
  transform-box: fill-box; transform-origin: 50% 0%;
}
.farm-bird.walking .chick-leg-a { animation: legStepA .28s ease-in-out infinite; }
.farm-bird.walking .chick-leg-b { animation: legStepB .28s ease-in-out infinite; }
@keyframes legStepA {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(16deg); }
}
@keyframes legStepB {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-16deg); }
}
/* 朝左走时镜像翻转（在 inner 层做镜像，动画在 body 层做颠簸，互不覆盖防"倒着走"） */
.farm-bird.flip .farm-bird-inner { transform: scaleX(-1); }
.farm-bird .farm-bird-inner { display: inline-block; }
/* 头顶等级标签 */
.farm-lv {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.92); color: #334155;
  border-radius: 999px; padding: 0 9px; font-size: 11px; font-weight: 700;
  white-space: nowrap; box-shadow: 0 1px 4px rgba(15,23,42,.15);
}
/* 选中光圈 */
.farm-bird.sel .farm-bird-body {
  animation: birdBob .28s ease-in-out infinite, selPulse 1s ease-in-out infinite;
}
@keyframes selPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(99,102,241,.6)); }
  50% { filter: drop-shadow(0 0 14px rgba(99,102,241,1)); }
}
.farm-bird.sel .farm-lv { background: #6366F1; color: #fff; }
/* 金鸡 */
.farm-bird.golden .farm-bird-body {
  animation: birdBob .28s ease-in-out infinite, goldenGlow 2s ease-in-out infinite;
}
/* 金鸡特效 */
.farm-chicken.golden {
  animation: chickenWalk 3.2s ease-in-out infinite, goldenGlow 2s ease-in-out infinite;
}
@keyframes goldenGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(250,204,21,.7)); }
  50% { filter: drop-shadow(0 0 14px rgba(250,204,21,1)); }
}
/* 产蛋特效：鸡下方蛋跳动 */
.farm-egg-pop {
  display: inline-block; font-size: 20px; animation: eggPop 1.2s ease-in-out infinite;
}
@keyframes eggPop {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-6px) scale(1.15); }
}
/* 鸡位上的经验条 */
.farm-exp { height: 6px; background: rgba(148,163,184,.3); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.farm-exp > div { height: 100%; background: linear-gradient(90deg,#F59E0B,#D97706); border-radius: 3px; }
/* 鸡位小按钮 */
.farm-pen .btn { height: 24px; padding: 0 8px; font-size: 11px; }

/* 地上的蛋（独立固定在地上，鸡走动蛋不动） */
.farm-egg-spot {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 2px;
  filter: drop-shadow(0 2px 2px rgba(15,23,42,.25));
  animation: eggBlink 2s ease-in-out infinite;
  pointer-events: none;
}
.farm-egg-spot b {
  background: #D97706; color: #fff; border-radius: 999px;
  font-size: 10px; line-height: 1; padding: 2px 5px; font-weight: 700;
}
@keyframes eggBlink {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: .75; }
}

/* 点击喂食提示（hover 鸡时显示，点鸡身直接喂食） */
.farm-tap-hint {
  position: absolute; left: 50%; top: -10px; transform: translate(-50%, -100%);
  display: none; z-index: 6;
  background: rgba(99,102,241,.95); color: #fff; border-radius: 999px;
  padding: 3px 10px; font-size: 11px; font-weight: 600;
  white-space: nowrap; box-shadow: 0 2px 8px rgba(99,102,241,.4);
  pointer-events: none;
}
.farm-bird:hover .farm-tap-hint { display: inline-block; }

/* 鸡头顶细经验条 */
.farm-exp-bar-wrap {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 5px; background: rgba(255,255,255,.75);
  border-radius: 3px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.12);
}
.farm-exp-bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, #F59E0B, #D97706); border-radius: 3px;
  transition: width .4s ease;
}

/* ================= 转盘中心 ================= */
.lottery-card { padding: 24px; }
.lottery-wheel-area { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wheel-wrap { position: relative; width: 300px; height: 300px; margin: 0 auto; flex-shrink: 0; }
.wheel {
  position: relative; width: 300px; height: 300px; border-radius: 50%;
  border: 6px solid var(--text); box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
  transition: transform 4s cubic-bezier(.17, .67, .12, .99);
}
.wheel-pointer {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: var(--danger); font-size: 22px; line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
.wheel-seg {
  position: absolute; left: 50%; top: 50%; width: 130px; margin-left: -65px; margin-top: -8px;
  text-align: center;
}
.wheel-seg span { display: block; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); white-space: nowrap; }
.wheel-seg em { display: block; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .85); }
.wheel-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; z-index: 4;
  background: linear-gradient(135deg, var(--primary), #8B5CF6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, .45);
}
.lottery-ctrl { flex: 1; min-width: 260px; }
.lottery-stats { display: flex; gap: 14px; margin-bottom: 16px; }
.lottery-stat { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; background: var(--shade-bg); }
.lottery-stat span { display: block; font-size: 12px; color: var(--text-3); }
.lottery-stat b { font-size: 24px; color: var(--primary); }
.spin-result { min-height: 42px; margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; text-align: center; }
.spin-result.win { background: var(--success-bg); color: var(--success); font-weight: 600; }
.spin-result.fail { background: var(--danger-bg); color: var(--danger); }
.lottery-tip { margin-top: 12px; font-size: 12px; color: var(--text-3); text-align: center; }

.win-list { list-style: none; }
.win-item { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px dashed var(--border); }
.win-item:last-child { border-bottom: none; }
.win-icon { font-size: 16px; }
.win-name { font-weight: 600; }
.win-prize { color: var(--text-2); }
.win-prize em { font-style: normal; color: var(--success); font-weight: 700; }
.win-date { margin-left: auto; color: var(--text-3); font-size: 12px; }

.prize-pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.prize-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.prize-ic { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.prize-ic img { width: 100%; height: 100%; object-fit: contain; }
.prize-info { min-width: 0; }
.prize-info b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prize-info small { color: var(--text-3); font-size: 11px; }

/* ================= 众筹积分 ================= */
.pool-hero { text-align: center; padding: 26px 20px; background: linear-gradient(135deg, #0EA5E9, var(--primary)); color: #fff; }
.pool-title { font-size: 22px; font-weight: 800; }
.pool-sub { margin-top: 8px; font-size: 14px; opacity: .95; }
.pool-sub em { font-style: normal; font-weight: 700; }
.pool-progress { margin: 20px auto 6px; max-width: 560px; }
.pool-bar { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.pool-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #34D399, #22D3EE); transition: width .6s ease; }
.pool-bar-num { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .95); }
.pool-bar-num b { font-size: 16px; }
.pool-join { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px; border: 1px dashed var(--border); border-radius: 12px; background: var(--shade-bg); }
.pool-join .pj-info { font-size: 13px; color: var(--text-2); }
.pool-join .pj-info b { color: var(--primary); font-size: 20px; }
.pool-members { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pool-member { padding: 4px 12px; border-radius: 999px; background: var(--primary-bg); color: var(--primary); font-size: 13px; font-weight: 600; }
.pool-member.slot { background: var(--muted-bg); color: var(--text-3); }
.pool-announce { list-style: none; }
.pool-announce li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px dashed var(--border); }
.pool-announce li:last-child { border-bottom: none; }
.pool-announce .pa-no { font-weight: 700; color: var(--primary); white-space: nowrap; }
.pool-announce .pa-win { flex: 1; color: var(--text-2); }
.pool-announce .pa-win b { color: var(--warning); }
.pool-announce .pa-date { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.pool-rules { line-height: 2; color: var(--text-2); font-size: 13px; list-style: none; }

/* ================= 转盘中心 ================= */
.lottery-card { padding: 24px; }
.lottery-wheel-area { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wheel-wrap { position: relative; width: 300px; height: 300px; margin: 0 auto; flex-shrink: 0; }
.wheel {
  position: relative; width: 300px; height: 300px; border-radius: 50%;
  border: 6px solid var(--text); box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
  transition: transform 4s cubic-bezier(.17, .67, .12, .99);
}
.wheel-pointer {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: var(--danger); font-size: 22px; line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
.wheel-seg {
  position: absolute; left: 50%; top: 50%; width: 130px; margin-left: -65px; margin-top: -8px;
  text-align: center;
}
.wheel-seg span { display: block; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); white-space: nowrap; }
.wheel-seg em { display: block; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .85); }
.wheel-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; z-index: 4;
  background: linear-gradient(135deg, var(--primary), #8B5CF6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, .45);
}
.lottery-ctrl { flex: 1; min-width: 260px; }
.lottery-stats { display: flex; gap: 14px; margin-bottom: 16px; }
.lottery-stat { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; background: var(--shade-bg); }
.lottery-stat span { display: block; font-size: 12px; color: var(--text-3); }
.lottery-stat b { font-size: 24px; color: var(--primary); }
.spin-result { min-height: 42px; margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; text-align: center; }
.spin-result.win { background: var(--success-bg); color: var(--success); font-weight: 600; }
.spin-result.fail { background: var(--danger-bg); color: var(--danger); }
.lottery-tip { margin-top: 12px; font-size: 12px; color: var(--text-3); text-align: center; }

.win-list { list-style: none; }
.win-item { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px dashed var(--border); }
.win-item:last-child { border-bottom: none; }
.win-icon { font-size: 16px; }
.win-name { font-weight: 600; }
.win-prize { color: var(--text-2); }
.win-prize em { font-style: normal; color: var(--success); font-weight: 700; }
.win-date { margin-left: auto; color: var(--text-3); font-size: 12px; }

.prize-pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.prize-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.prize-ic { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.prize-ic img { width: 100%; height: 100%; object-fit: contain; }
.prize-info { min-width: 0; }
.prize-info b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prize-info small { color: var(--text-3); font-size: 11px; }

/* ================= 众筹积分 ================= */
.pool-hero { text-align: center; padding: 26px 20px; background: linear-gradient(135deg, #0EA5E9, var(--primary)); color: #fff; }
.pool-title { font-size: 22px; font-weight: 800; }
.pool-sub { margin-top: 8px; font-size: 14px; opacity: .95; }
.pool-sub em { font-style: normal; font-weight: 700; }
.pool-progress { margin: 20px auto 6px; max-width: 560px; }
.pool-bar { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.pool-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #34D399, #22D3EE); transition: width .6s ease; }
.pool-bar-num { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .95); }
.pool-bar-num b { font-size: 16px; }
.pool-join { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px; border: 1px dashed var(--border); border-radius: 12px; background: var(--shade-bg); }
.pool-join .pj-info { font-size: 13px; color: var(--text-2); }
.pool-join .pj-info b { color: var(--primary); font-size: 20px; }
.pool-members { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pool-member { padding: 4px 12px; border-radius: 999px; background: var(--primary-bg); color: var(--primary); font-size: 13px; font-weight: 600; }
.pool-member.slot { background: var(--muted-bg); color: var(--text-3); }
.pool-announce { list-style: none; }
.pool-announce li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px dashed var(--border); }
.pool-announce li:last-child { border-bottom: none; }
.pool-announce .pa-no { font-weight: 700; color: var(--primary); white-space: nowrap; }
.pool-announce .pa-win { flex: 1; color: var(--text-2); }
.pool-announce .pa-win b { color: var(--warning); }
.pool-announce .pa-date { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.pool-rules { line-height: 2; color: var(--text-2); font-size: 13px; list-style: none; }

/* ================= 转盘中心 ================= */
.lottery-card { padding: 24px; }
.lottery-wheel-area { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wheel-wrap { position: relative; width: 300px; height: 300px; margin: 0 auto; flex-shrink: 0; }
.wheel {
  position: relative; width: 300px; height: 300px; border-radius: 50%;
  border: 6px solid var(--text); box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
  transition: transform 4s cubic-bezier(.17, .67, .12, .99);
}
.wheel-pointer {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: var(--danger); font-size: 22px; line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
.wheel-seg {
  position: absolute; left: 50%; top: 50%; width: 130px; margin-left: -65px; margin-top: -8px;
  text-align: center;
}
.wheel-seg span { display: block; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); white-space: nowrap; }
.wheel-seg em { display: block; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .85); }
.wheel-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; z-index: 4;
  background: linear-gradient(135deg, var(--primary), #8B5CF6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, .45);
}
.lottery-ctrl { flex: 1; min-width: 260px; }
.lottery-stats { display: flex; gap: 14px; margin-bottom: 16px; }
.lottery-stat { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; background: var(--shade-bg); }
.lottery-stat span { display: block; font-size: 12px; color: var(--text-3); }
.lottery-stat b { font-size: 24px; color: var(--primary); }
.spin-result { min-height: 42px; margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; text-align: center; }
.spin-result.win { background: var(--success-bg); color: var(--success); font-weight: 600; }
.spin-result.fail { background: var(--danger-bg); color: var(--danger); }
.lottery-tip { margin-top: 12px; font-size: 12px; color: var(--text-3); text-align: center; }

.win-list { list-style: none; }
.win-item { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px dashed var(--border); }
.win-item:last-child { border-bottom: none; }
.win-icon { font-size: 16px; }
.win-name { font-weight: 600; }
.win-prize { color: var(--text-2); }
.win-prize em { font-style: normal; color: var(--success); font-weight: 700; }
.win-date { margin-left: auto; color: var(--text-3); font-size: 12px; }

.prize-pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.prize-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.prize-ic { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.prize-ic img { width: 100%; height: 100%; object-fit: contain; }
.prize-info { min-width: 0; }
.prize-info b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prize-info small { color: var(--text-3); font-size: 11px; }

/* ================= 众筹积分 ================= */
.pool-hero { text-align: center; padding: 26px 20px; background: linear-gradient(135deg, #0EA5E9, var(--primary)); color: #fff; }
.pool-title { font-size: 22px; font-weight: 800; }
.pool-sub { margin-top: 8px; font-size: 14px; opacity: .95; }
.pool-sub em { font-style: normal; font-weight: 700; }
.pool-progress { margin: 20px auto 6px; max-width: 560px; }
.pool-bar { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.pool-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #34D399, #22D3EE); transition: width .6s ease; }
.pool-bar-num { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .95); }
.pool-bar-num b { font-size: 16px; }
.pool-join { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px; border: 1px dashed var(--border); border-radius: 12px; background: var(--shade-bg); }
.pool-join .pj-info { font-size: 13px; color: var(--text-2); }
.pool-join .pj-info b { color: var(--primary); font-size: 20px; }
.pool-members { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pool-member { padding: 4px 12px; border-radius: 999px; background: var(--primary-bg); color: var(--primary); font-size: 13px; font-weight: 600; }
.pool-member.slot { background: var(--muted-bg); color: var(--text-3); }
.pool-announce { list-style: none; }
.pool-announce li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px dashed var(--border); }
.pool-announce li:last-child { border-bottom: none; }
.pool-announce .pa-no { font-weight: 700; color: var(--primary); white-space: nowrap; }
.pool-announce .pa-win { flex: 1; color: var(--text-2); }
.pool-announce .pa-win b { color: var(--warning); }
.pool-announce .pa-date { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.pool-rules { line-height: 2; color: var(--text-2); font-size: 13px; list-style: none; }
