/* ============================================================
   一野电竞 · UI v3.2（深空黑 + 高级红 + 电竞质感）
   ============================================================ */
:root {
  --bg: #08090F;
  --bg-2: #0B0D15;
  --side: #090A11;
  --panel: #11131D;
  --panel-2: #161925;
  --panel-3: #1D2130;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F5F9;
  --text-2: #AAB1C2;
  --text-3: #6E7688;
  --red: #FF3B30;
  --red-2: #FF5B4D;
  --red-deep: #B01414;
  --gold: #FFC857;
  --orange: #FF8A3C;
  --purple: #A78BFA;
  --pink: #FF6BA8;
  --cyan: #23D3EE;
  --green: #34D399;
  --blue: #5B9BFF;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .45);
  --side-w: 228px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1100px 560px at 12% -8%, rgba(255, 59, 48, .12), transparent 60%),
    radial-gradient(900px 520px at 100% -6%, rgba(91, 155, 255, .09), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 0%, #000 30%, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
img, svg { display: block; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .13); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: rgba(255, 59, 48, .4); }

/* ---------------- 外壳 ---------------- */
.app-shell { display: flex; min-height: 100vh; position: relative; z-index: 1; }

/* 侧边栏 */
.sidebar {
  width: var(--side-w); flex: none; position: sticky; top: 0; height: 100vh;
  background: linear-gradient(180deg, rgba(255, 59, 48, .045), transparent 22%), var(--side);
  border-right: 1px solid var(--line);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 8px 22px rgba(255, 59, 48, .32); }
.brand b { display: block; font-size: 18px; letter-spacing: 1px; font-weight: 900; }
.brand span { display: block; font-size: 9px; color: var(--text-3); letter-spacing: 2.4px; margin-top: 2px; }
.brand .demo-pill {
  margin-left: auto; font-size: 9px; font-weight: 800; color: #FFD9D6;
  background: rgba(255, 59, 48, .14); border: 1px solid rgba(255, 91, 77, .32);
  padding: 2px 6px; border-radius: 999px;
}
.quick-order {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; border-radius: 12px; font-weight: 900; font-size: 14.5px; letter-spacing: .5px;
  background: linear-gradient(135deg, #FF5B4D, #E01F1B 55%, #A80F0F);
  color: #fff; box-shadow: 0 10px 26px rgba(255, 59, 48, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.quick-order:hover { filter: brightness(1.07); }
.side-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.side-item {
  display: flex; align-items: center; gap: 11px; height: 44px; padding: 0 12px;
  border-radius: 11px; color: var(--text-2); font-size: 14px; font-weight: 600;
  transition: .15s; position: relative;
}
.side-item svg { width: 18px; height: 18px; opacity: .85; }
.side-item:hover { background: rgba(255, 255, 255, .045); color: var(--text); }
.side-item.active {
  color: #fff; background: linear-gradient(90deg, rgba(255, 59, 48, .18), rgba(255, 59, 48, .04) 72%, transparent);
}
.side-item.active::before {
  content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #FF7A6E, #E01F1B); box-shadow: 0 0 12px rgba(255, 59, 48, .7);
}
.side-item.active svg { opacity: 1; color: #FFB4AE; }
.side-stats {
  margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px;
}
.side-stats .row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-3); }
.side-stats .row b { font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.side-stats .row .live { display: inline-flex; align-items: center; gap: 4px; color: var(--green); }
.side-stats .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 1px; padding-top: 10px; border-top: 1px solid var(--line); }
.side-foot a { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; color: var(--text-3); }
.side-foot a:hover { color: var(--text-2); background: rgba(255, 255, 255, .04); }
.helper {
  display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 59, 48, .12), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 91, 77, .18); font-size: 11px; color: var(--text-2); line-height: 1.5;
}
.helper img { width: 32px; height: 32px; border-radius: 9px; }

/* 主区 */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 66px; flex: none; display: flex; align-items: center; gap: 18px;
  padding: 0 22px; background: rgba(8, 9, 15, .78); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.tb-left { display: flex; align-items: center; gap: 10px; }
.mobile-brand { display: none; align-items: center; gap: 8px; }
.mobile-brand img { width: 30px; height: 30px; border-radius: 9px; }
.mobile-brand b { font-size: 15.5px; font-weight: 900; letter-spacing: .5px; }
.coin-btn {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
  border-radius: 999px; background: linear-gradient(135deg, rgba(255, 200, 87, .16), rgba(255, 200, 87, .05));
  border: 1px solid rgba(255, 200, 87, .35); font-size: 12.5px; font-weight: 800; color: var(--gold);
}
.coin-btn:hover { border-color: rgba(255, 200, 87, .6); }
.sign-btn {
  height: 34px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  color: #FFD9A8; background: rgba(255, 138, 60, .12); border: 1px solid rgba(255, 138, 60, .32);
}
.sign-btn:hover { background: rgba(255, 138, 60, .18); }
.searchbar {
  flex: 1; max-width: 480px; margin: 0 auto; height: 38px; display: flex; align-items: center;
  gap: 9px; padding: 0 6px 0 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line);
  color: var(--text-3); transition: .18s;
}
.searchbar:focus-within { border-color: rgba(255, 91, 77, .45); background: rgba(255, 255, 255, .06); }
.searchbar input { flex: 1; border: 0; outline: none; background: transparent; font-size: 12.5px; color: var(--text); }
.searchbar input::placeholder { color: var(--text-3); }
.searchbar button {
  height: 28px; padding: 0 15px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: linear-gradient(135deg, #FF5B4D, #D41E1B); color: #fff; letter-spacing: .5px;
}
.tb-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.invite-btn {
  height: 32px; padding: 0 13px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(255, 59, 48, .13); color: #FFB4AE; border: 1px solid rgba(255, 91, 77, .28);
}
.invite-btn:hover { background: rgba(255, 59, 48, .2); }
.tb-icons { display: flex; gap: 2px; }
.tb-icon {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--text-3); transition: .15s;
}
.tb-icon:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.msg-btn {
  display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px;
  border-radius: 999px; background: rgba(91, 155, 255, .12); color: #A9C6FF;
  border: 1px solid rgba(91, 155, 255, .28); font-size: 12px; font-weight: 800;
}
.msg-btn:hover { background: rgba(91, 155, 255, .2); }
.avatar-wrap { position: relative; }
.avatar-me {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 3px rgba(255, 59, 48, .12);
}
.avatar-menu {
  position: absolute; right: 0; top: 46px; width: 196px; padding: 8px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow); display: none; z-index: 50;
}
.avatar-menu.open { display: block; }
.avatar-menu .am-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.avatar-menu .am-head b { font-size: 13.5px; }
.avatar-menu .am-head span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.avatar-menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 10px;
  border-radius: 9px; font-size: 12.5px; color: var(--text-2);
}
.avatar-menu button:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.avatar-menu .am-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

/* 内容区 */
.content { flex: 1; width: 100%; max-width: 1580px; margin: 0 auto; padding: 20px 22px 52px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 20px; align-items: start; }
.col-main { min-width: 0; }

/* ---------------- Banner ---------------- */
.banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden; height: 322px;
  background: #0C0E16; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}
.banner-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { flex: none; width: 100%; height: 100%; position: relative; scroll-snap-align: center; overflow: hidden; }
.banner-bg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.banner-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, .94) 0%, rgba(5, 6, 10, .72) 38%, rgba(5, 6, 10, .18) 72%, rgba(5, 6, 10, .55) 100%),
    linear-gradient(0deg, rgba(5, 6, 10, .7), transparent 55%);
}
.banner-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 46px; gap: 10px; max-width: 66%; }
.banner-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: #FFD9D6;
  background: rgba(255, 59, 48, .16); border: 1px solid rgba(255, 91, 77, .38);
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.banner-title { font-size: 40px; font-weight: 900; letter-spacing: 1.5px; line-height: 1.15; text-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
.banner-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FFE9B8, #FFC857 60%, #F0A63C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.banner-sub { font-size: 13.5px; color: #D6DAE4; letter-spacing: .4px; }
.banner-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.banner-cta {
  height: 40px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: 13.5px; letter-spacing: .4px;
  background: linear-gradient(135deg, #FF5B4D, #D41E1B); color: #fff;
  box-shadow: 0 10px 28px rgba(255, 59, 48, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.banner-cta:hover { filter: brightness(1.06); }
.banner-note { font-size: 11.5px; color: var(--text-3); }
.banner-note b { color: var(--gold); }
.banner-art { position: absolute; right: 42px; top: 50%; transform: translateY(-50%); width: 240px; height: 240px; }
.banner-art .glow {
  position: absolute; inset: -20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 48, .38), transparent 62%);
  filter: blur(6px); animation: pulse 3.6s ease-in-out infinite;
}
.banner-art img {
  position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
}
.banner-art .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); border-style: dashed;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.banner-dots { position: absolute; bottom: 16px; left: 46px; display: flex; gap: 6px; }
.banner-dots i { width: 6px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .28); transition: .25s; }
.banner-dots i.on { width: 22px; background: var(--red); box-shadow: 0 0 10px rgba(255, 59, 48, .7); }

/* 三块推广卡 */
.promo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.promo {
  border-radius: 14px; padding: 12px 14px; position: relative; overflow: hidden;
  border: 1px solid var(--line); min-height: 100px; background: var(--panel);
  transition: .18s;
}
.promo:hover { transform: translateY(-2px); border-color: var(--line-2); }
.promo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.promo.a::before { background: linear-gradient(90deg, #FF3B30, transparent); }
.promo.b::before { background: linear-gradient(90deg, #A78BFA, transparent); }
.promo.c::before { background: linear-gradient(90deg, #FFC857, transparent); }
.promo.a { background: linear-gradient(135deg, rgba(255, 59, 48, .14), rgba(17, 19, 29, .4) 60%), var(--panel); }
.promo.b { background: linear-gradient(135deg, rgba(167, 139, 250, .13), rgba(17, 19, 29, .4) 60%), var(--panel); }
.promo.c { background: linear-gradient(135deg, rgba(255, 200, 87, .12), rgba(17, 19, 29, .4) 60%), var(--panel); }
.promo-head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .3px; }
.promo-head svg { opacity: .9; }
.promo-head .more { margin-left: auto; font-size: 10.5px; color: var(--text-3); font-weight: 400; }
.promo-main { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.avatar-stack { display: flex; flex: none; }
.avatar-stack img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--panel); margin-left: -9px;
}
.avatar-stack img:first-child { margin-left: 0; }
.promo-txt { min-width: 0; flex: 1; }
.promo-txt b { display: block; font-size: 12px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-txt span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-badge {
  flex: none; font-size: 9.5px; font-weight: 900; letter-spacing: .4px; padding: 3px 8px; border-radius: 6px;
  background: rgba(255, 59, 48, .18); color: #FFB4AE; border: 1px solid rgba(255, 91, 77, .3);
}
.promo-badge.gold { background: rgba(255, 200, 87, .16); color: var(--gold); border-color: rgba(255, 200, 87, .32); }
.rank-stack { display: flex; align-items: center; gap: 6px; }
.rank-stack .rk { position: relative; }
.rank-stack .rk img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--panel); }
.rank-stack .rk i {
  position: absolute; left: -3px; top: -4px; width: 14px; height: 14px; border-radius: 5px;
  font-size: 8.5px; font-style: normal; font-weight: 900; display: flex; align-items: center; justify-content: center;
  color: #3A1D00; background: linear-gradient(135deg, #FFE9B8, #FFC857);
}

/* 筛选条 */
.section-bar { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; }
.section-title { font-size: 18px; font-weight: 900; letter-spacing: .6px; display: flex; align-items: center; gap: 9px; }
.section-title::before {
  content: ""; width: 4px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, #FF7A6E, #D41E1B); box-shadow: 0 0 12px rgba(255, 59, 48, .55);
}
.section-hint { font-size: 11.5px; color: var(--text-3); }
.section-bar .right { margin-left: auto; display: flex; gap: 4px; align-items: center; background: rgba(255, 255, 255, .04); padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.sort-btn { font-size: 11.5px; color: var(--text-3); height: 26px; padding: 0 12px; border-radius: 999px; font-weight: 600; transition: .15s; }
.sort-btn:hover { color: var(--text); }
.sort-btn.active { color: #fff; background: linear-gradient(135deg, #FF5B4D, #C2181A); box-shadow: 0 4px 14px rgba(255, 59, 48, .3); }

.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.fchip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px;
  border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--text-2); transition: .15s;
}
.fchip img { width: 18px; height: 18px; border-radius: 5px; }
.fchip:hover { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .06); }
.fchip.active {
  background: linear-gradient(135deg, #FF5B4D, #D41E1B); border-color: rgba(255, 122, 110, .7);
  color: #fff; box-shadow: 0 8px 22px rgba(255, 59, 48, .32);
}
.tag-row { display: flex; gap: 16px; overflow-x: auto; margin-top: 12px; padding-bottom: 2px; scrollbar-width: none; }
.tag-row::-webkit-scrollbar { display: none; }
.tag-link { flex: none; font-size: 11.5px; color: var(--text-3); transition: .15s; }
.tag-link:hover, .tag-link.active { color: #FF8A72; }

/* ---------------- 打手卡 ---------------- */
.god-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.god-card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; transition: .2s;
}
.god-card:hover {
  transform: translateY(-4px); border-color: rgba(255, 91, 77, .4);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 59, 48, .1);
}
.god-photo { position: relative; aspect-ratio: 1 / 1.1; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); background: #0A0C12; }
.god-photo > img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.god-card:hover .god-photo > img { transform: scale(1.06); }
.god-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 15, .12) 38%, rgba(8, 9, 15, .9) 96%);
}
.god-status {
  position: absolute; left: 9px; top: 9px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 9.5px; font-weight: 800; color: #fff;
  background: rgba(8, 9, 15, .62); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12);
}
.god-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.god-status.serving .dot { background: var(--red); box-shadow: 0 0 7px var(--red); }
.god-status.moyu .dot { background: var(--text-3); box-shadow: none; }
.god-rank {
  position: absolute; right: 9px; top: 9px; z-index: 2; display: flex; align-items: center; gap: 3px;
  height: 20px; padding: 0 8px; border-radius: 6px; font-size: 9.5px; font-weight: 900; letter-spacing: .3px;
  color: #3A1D00; background: linear-gradient(135deg, #FFE9B8, #FFC857);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.god-tags { position: absolute; left: 9px; right: 9px; bottom: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; }
.ptag {
  font-size: 9.5px; font-weight: 800; padding: 2.5px 8px; border-radius: 6px; line-height: 15px;
  color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); backdrop-filter: blur(2px);
}
.ptag.red { background: linear-gradient(135deg, #FF5B4D, #C2181A); }
.ptag.orange { background: linear-gradient(135deg, #FFB04D, #D97706); color: #2B1600; }
.ptag.gold { background: linear-gradient(135deg, #FFE9B8, #E8A22B); color: #3A1D00; }
.ptag.green { background: linear-gradient(135deg, #4ADE80, #129B58); }
.ptag.purple { background: linear-gradient(135deg, #B79CFF, #6D3BE8); }
.ptag.blue { background: linear-gradient(135deg, #7FB3FF, #2B62D9); }
.ptag.cyan { background: linear-gradient(135deg, #5EEAF8, #0891B2); color: #04252B; }
.god-body { padding: 11px 13px 13px; }
.god-name-row { display: flex; align-items: center; gap: 6px; }
.god-name { font-size: 15px; font-weight: 900; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.god-lv {
  flex: none; font-size: 9.5px; font-weight: 800; color: #C9CFFF; background: rgba(167, 139, 250, .16);
  border: 1px solid rgba(167, 139, 250, .34); padding: 1px 6px; border-radius: 5px;
}
.god-score { margin-left: auto; color: var(--gold); font-weight: 900; font-size: 11.5px; display: flex; align-items: center; gap: 2px; flex: none; }
.god-meta { font-size: 10.5px; color: var(--text-3); margin-top: 5px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.god-meta .sep { opacity: .5; }
.god-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.god-price { font-size: 20px; font-weight: 900; color: var(--gold); letter-spacing: .2px; line-height: 1; }
.god-price small { font-size: 9.5px; font-weight: 500; color: var(--text-3); margin-left: 2px; letter-spacing: 0; }
.god-price .coin { color: rgba(255, 200, 87, .75); font-size: 12px; margin-right: 1px; }
.god-btn {
  margin-left: auto; flex: none; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 12.5px; font-weight: 900;
  background: linear-gradient(135deg, #FF5B4D, #D41E1B); color: #fff;
  box-shadow: 0 6px 18px rgba(255, 59, 48, .28); transition: .15s;
}
.god-btn:hover { filter: brightness(1.08); box-shadow: 0 8px 22px rgba(255, 59, 48, .4); }

/* ---------------- 俱乐部卡 ---------------- */
.club-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.club-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: .2s;
}
.club-card:hover { transform: translateY(-4px); border-color: rgba(255, 91, 77, .4); box-shadow: 0 22px 44px rgba(0, 0, 0, .5); }
.club-cover { position: relative; aspect-ratio: 1 / 0.92; overflow: hidden; background: #0A0C12; }
.club-cover > img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.club-card:hover .club-cover > img { transform: scale(1.05); }
.club-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 15, 0) 42%, rgba(8, 9, 15, .82)); }
.club-top-left {
  position: absolute; left: 9px; top: 9px; z-index: 2; font-size: 9px; font-weight: 900; letter-spacing: .3px;
  color: #fff; padding: 3px 8px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 91, 77, .95), rgba(194, 24, 26, .95));
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.club-top-right {
  position: absolute; right: 9px; top: 9px; z-index: 2; font-size: 10px; font-weight: 900; color: var(--gold);
  background: rgba(8, 9, 15, .55); backdrop-filter: blur(6px); padding: 2px 8px; border-radius: 999px;
  display: flex; align-items: center; gap: 3px; border: 1px solid rgba(255, 200, 87, .22);
}
.club-logo {
  position: absolute; left: 11px; bottom: 11px; z-index: 2; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px;
  color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 8px 18px rgba(0, 0, 0, .55);
}
.club-body { padding: 11px 13px 13px; display: flex; flex-direction: column; min-height: 112px; }
.club-name { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-name .self {
  flex: none; font-size: 8.5px; font-weight: 900; color: #FFD9A8; background: rgba(255, 200, 87, .14);
  border: 1px solid rgba(255, 200, 87, .38); padding: 1px 5px; border-radius: 4px;
}
.club-meta { font-size: 10px; color: var(--text-3); margin-top: 5px; display: flex; gap: 10px; }
.club-meta .cnt { color: #C9CFFF; display: inline-flex; align-items: center; gap: 2px; }
.club-desc { font-size: 10.5px; color: var(--text-3); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-btns { display: flex; gap: 7px; margin-top: auto; padding-top: 11px; }
.club-btns button { flex: 1; height: 30px; border-radius: 8px; font-size: 11.5px; font-weight: 800; transition: .15s; }
.club-btns .visit { background: rgba(255, 255, 255, .05); color: var(--text-2); border: 1px solid var(--line); }
.club-btns .visit:hover { background: rgba(255, 255, 255, .09); }
.club-btns .find { background: linear-gradient(135deg, #FF5B4D, #D41E1B); color: #fff; box-shadow: 0 6px 16px rgba(255, 59, 48, .25); }
.club-btns .find:hover { filter: brightness(1.08); }

/* ---------------- 右侧栏 ---------------- */
.rail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.panel-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; }
.panel-head h3 { margin: 0; font-size: 13.5px; font-weight: 900; letter-spacing: .4px; }
.panel-head .more { margin-left: auto; font-size: 10.5px; color: var(--text-3); font-weight: 400; }
.panel-head .more:hover { color: var(--text-2); }
.panel-body { padding: 0 16px 12px; }
.news-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 11.8px; color: var(--text-2); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { color: var(--text); }
.news-item .arrow { color: var(--red); font-size: 10px; opacity: .9; }
.news-item .txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item .date { color: var(--text-3); font-size: 10px; flex: none; }
.join-panel {
  position: relative; padding: 16px; overflow: hidden;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(255, 59, 48, .22), transparent 70%),
    linear-gradient(135deg, #15111A, #1B1116 60%, #241016);
  border-color: rgba(255, 91, 77, .16);
}
.join-panel::after {
  content: "野"; position: absolute; right: -8px; bottom: -26px; font-size: 96px; font-weight: 900;
  color: rgba(255, 255, 255, .035); line-height: 1;
}
.join-panel h3 { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: .6px; }
.join-panel h3 span { color: var(--gold); }
.join-panel p { margin: 4px 0 0; font-size: 10.5px; color: var(--text-2); }
.join-panel .join-btn {
  margin-top: 12px; height: 34px; padding: 0 18px; border-radius: 9px; font-size: 12.5px; font-weight: 900;
  background: linear-gradient(135deg, #FF5B4D, #D41E1B); color: #fff;
  box-shadow: 0 8px 22px rgba(255, 59, 48, .32);
}
.join-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; position: relative; z-index: 2; }
.join-links a {
  display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 9px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .05);
  font-size: 10.5px; color: var(--text-2); transition: .15s;
}
.join-links a:hover { background: rgba(255, 255, 255, .09); color: var(--text); }
.join-links a svg { width: 14px; height: 14px; color: #FFB4AE; }
.support-card { display: flex; gap: 10px; align-items: center; padding: 13px 15px; }
.support-card img { width: 38px; height: 38px; border-radius: 10px; }
.support-card b { font-size: 12.5px; display: block; }
.support-card span { font-size: 10px; color: var(--text-3); }
.support-card .btn-mini {
  margin-left: auto; height: 28px; padding: 0 13px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(255, 59, 48, .13); color: #FFB4AE; border: 1px solid rgba(255, 91, 77, .28);
}

/* 页面切换、Tab */
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.page-tabs { display: flex; gap: 22px; }
.page-tab { font-size: 15px; font-weight: 800; color: var(--text-3); padding: 9px 0; position: relative; }
.page-tab:hover { color: var(--text-2); }
.page-tab.active { color: var(--text); }
.page-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #FF7A6E, #D41E1B); box-shadow: 0 0 10px rgba(255, 59, 48, .5);
}

/* 空状态 */
.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 20px; text-align: center; color: var(--text-3); }
.placeholder .ph-icon {
  width: 78px; height: 78px; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 59, 48, .14), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 91, 77, .2); color: #FFB4AE; margin-bottom: 16px;
}
.placeholder h2 { color: var(--text); font-size: 18px; margin: 0 0 6px; }
.placeholder p { margin: 0; font-size: 12px; }

/* ---------------- 移动端底部导航 ---------------- */
.tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(8, 9, 15, .96); backdrop-filter: blur(18px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar .tab-item {
  flex: 1; height: 58px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; color: var(--text-3); font-size: 10px;
}
.tabbar .tab-item svg { width: 21px; height: 21px; }
.tabbar .tab-item.active { color: var(--red); font-weight: 800; }
.tabbar .tab-item.active svg { filter: drop-shadow(0 0 8px rgba(255, 59, 48, .55)); }

/* ---------------- 星星币购买 ---------------- */
.buy-head { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.buy-head .bal { margin: 0; font-size: 11.5px; color: var(--text-3); }
.buy-head .bal b { color: var(--gold); }
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.buy-item {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 10px; text-align: center; cursor: pointer; transition: .15s;
}
.buy-item:hover { border-color: rgba(255, 91, 77, .4); background: rgba(255, 59, 48, .06); }
.buy-item.active { border-color: rgba(255, 91, 77, .75); background: rgba(255, 59, 48, .12); box-shadow: 0 0 0 1px rgba(255, 59, 48, .2) inset; }
.buy-item .num { font-size: 16px; font-weight: 900; color: var(--gold); }
.buy-item .num small { font-size: 10px; color: var(--text-3); margin-left: 2px; font-weight: 500; }
.buy-item .price { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.buy-pay { display: flex; gap: 8px; margin-top: 14px; }
.buy-pay button {
  flex: 1; height: 40px; border-radius: 10px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-2);
}
.buy-pay button.active { border-color: rgba(91, 155, 255, .55); background: rgba(91, 155, 255, .12); color: #BBD5FF; }
.buy-submit {
  margin-top: 14px; width: 100%; height: 44px; border-radius: 11px; font-weight: 900; font-size: 14px;
  background: linear-gradient(135deg, #FF5B4D, #D41E1B); color: #fff;
  box-shadow: 0 12px 30px rgba(255, 59, 48, .35);
}
.buy-note { margin-top: 9px; text-align: center; font-size: 10px; color: var(--text-3); }

/* 深色弹层 */
.overlay { background: rgba(0, 0, 0, .66); backdrop-filter: blur(3px); }
.sheet { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 18px; }
.sheet-title { color: var(--text); }
.sheet .icon-btn { color: var(--text-2); }
.toast { background: rgba(22, 25, 37, .97); border: 1px solid var(--line-2); color: var(--text); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1380px) {
  .god-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .club-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
  .rail { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .club-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .banner-art { width: 200px; height: 200px; right: 24px; }
}
@media (max-width: 900px) {
  :root { --side-w: 0px; }
  .sidebar { display: none; }
  .topbar { flex-wrap: wrap; height: auto; padding: 8px 12px 10px; gap: 8px; }
  .mobile-brand { order: 1; display: flex; }
  .mobile-brand b { font-size: 15.5px; white-space: nowrap; }
  .tb-left { display: none; }
  .tb-right { order: 2; margin-left: auto; }
  .tb-icons, .msg-btn, .invite-btn { display: none; }
  .searchbar { order: 3; flex: 1 0 100%; height: 36px; }
  .searchbar button { height: 26px; padding: 0 11px; font-size: 11.5px; flex: none; }
  .content { padding: 12px 12px 92px; }
  .banner { height: 196px; border-radius: 16px; }
  .banner-copy { padding: 0 20px; gap: 6px; max-width: 78%; }
  .banner-title { font-size: 23px; letter-spacing: .8px; }
  .banner-sub { font-size: 11px; }
  .banner-actions { margin-top: 6px; gap: 8px; }
  .banner-cta { height: 32px; padding: 0 14px; font-size: 12px; }
  .banner-note { font-size: 10px; }
  .banner-art { width: 130px; height: 130px; right: 6px; opacity: .85; }
  .banner-dots { bottom: 12px; left: 20px; }
  .promo-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-top: 12px; }
  .promo-row::-webkit-scrollbar { display: none; }
  .promo { flex: none; width: 258px; min-height: 94px; }
  .section-bar { flex-wrap: wrap; gap: 6px 8px; margin: 16px 0 10px; }
  .section-hint { display: none; }
  .section-title { white-space: nowrap; font-size: 16px; }
  .section-bar .right { margin-left: auto; gap: 2px; padding: 2px; }
  .sort-btn { height: 24px; padding: 0 9px; font-size: 11px; }
  .god-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
  .god-name { font-size: 14.5px; }
  .god-price { font-size: 18px; }
  .god-btn { height: 32px; padding: 0 11px; font-size: 12px; }
  .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail { display: none; }
  .tabbar { display: flex; }
  .page-head .section-hint { display: none; }
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
  .content { padding-bottom: 92px; }
}
@media (max-width: 380px) {
  .god-grid { gap: 8px; }
  .god-name { font-size: 13.5px; }
  .god-btn { padding: 0 9px; font-size: 11.5px; }
}

/* v3.2 细节 */
.brand { flex-wrap: nowrap; }
.brand b { font-size: 17px; white-space: nowrap; letter-spacing: .5px; }
.brand span { font-size: 8.5px; letter-spacing: 1.6px; white-space: nowrap; }
.brand .demo-pill { display: none; }
.promo-main .avatar-stack img { width: 26px; height: 26px; border-width: 2px; }
.promo-main .rank-stack .rk img { width: 26px; height: 26px; }
.promo-txt b { font-size: 11.5px; }
.promo-txt span { font-size: 10px; }
.promo-badge { font-size: 9px; padding: 2px 7px; }
.god-price { white-space: nowrap; }
.god-price small { font-size: 9px; letter-spacing: 0; }
.god-foot { gap: 6px; }
.god-btn { height: 33px; padding: 0 12px; }

/* 标签不要被斜切裁掉 */
.god-tags { left: 9px; right: auto; max-width: calc(100% - 20px); bottom: 14px; }
.god-tags .ptag { padding: 2px 7px; font-size: 9px; }

.club-logo { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; left: 10px; bottom: 10px; }
