/* 前台版块对齐个人中心 Cosmic 皮肤 */
@import url("/themes/default/Members/statics/css/members-cosmic.css?v=20260912f");
@import url("/themes/default/Home/statics/css/passport-login.css?v=20260830");

body.cosmic-layout.front-cosmic {
  margin: 0;
  min-height: 100vh;
  color: var(--cosmic-text, #fff);
  background: var(--cosmic-bg, #151a30);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.front-cosmic .cosmic-sidebar-brand em { color: var(--cosmic-muted); font-style: normal; font-size: 11px; display: block; }
.front-cosmic .cosmic-main { min-height: 100vh; }
.front-cosmic .cosmic-page {
  padding: 18px 20px 40px;
  max-width: 1400px;
}

/* 首页 KPI / 面板 */
.front-cosmic .fc-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.front-cosmic .fc-kpi {
  background: var(--cosmic-card, #222b45);
  border: 1px solid var(--cosmic-border, #2e3a59);
  border-radius: 12px;
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
}
.front-cosmic .fc-kpi:before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c, var(--cosmic-primary));
}
.front-cosmic .fc-kpi .n { font-size: 12px; color: var(--cosmic-muted); }
.front-cosmic .fc-kpi .v { font-size: 22px; font-weight: 700; margin-top: 6px; color: #fff; }
.front-cosmic .fc-kpi .u { font-size: 11px; color: var(--cosmic-muted); margin-top: 4px; }

.front-cosmic .fc-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1.7fr) 260px;
  gap: 14px;
}
.front-cosmic .fc-stack { display: flex; flex-direction: column; gap: 14px; }
.front-cosmic .fc-card {
  background: var(--cosmic-card, #222b45);
  border: 1px solid var(--cosmic-border, #2e3a59);
  border-radius: 12px;
  padding: 14px;
}
.front-cosmic .fc-card-title {
  font-size: 14px;
  color: #d6e0ff;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
  border-left: 3px solid var(--cosmic-primary);
}
.front-cosmic .fc-card-title a { color: var(--cosmic-info, #00c9ff); font-size: 12px; text-decoration: none; }
.front-cosmic .fc-chart { width: 100%; height: 200px; }
.front-cosmic .fc-chart-map { width: 100%; height: 460px; }
.front-cosmic .fc-rank { list-style: none; margin: 0; padding: 0; }
.front-cosmic .fc-rank li {
  display: flex; align-items: center;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: 12px;
}
.front-cosmic .fc-rank .i {
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  border-radius: 6px; background: rgba(161,110,255,.25); margin-right: 8px; color: #d6c6ff;
}
.front-cosmic .fc-rank li:nth-child(-n+3) .i { background: var(--cosmic-primary); color: #1b1b38; font-weight: 700; }
.front-cosmic .fc-rank .nm { flex: 1; color: #e8ecff; }
.front-cosmic .fc-rank .vl { color: var(--cosmic-warning); }
.front-cosmic .fc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.front-cosmic .fc-chip {
  display: inline-block; padding: 8px 12px;
  background: rgba(161,110,255,.12);
  border: 1px solid rgba(161,110,255,.28);
  border-radius: 8px; font-size: 12px; color: #e8ecff; text-decoration: none;
  transition: .15s;
}
.front-cosmic .fc-chip:hover {
  border-color: var(--cosmic-primary);
  background: rgba(161,110,255,.22);
  color: #fff;
}
.front-cosmic .fc-links {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.front-cosmic .fc-foot {
  text-align: center;
  padding: 20px 0 8px;
  font-size: 12px;
  color: var(--cosmic-muted);
}
.front-cosmic .fc-foot a { margin: 0 8px; color: var(--cosmic-info); text-decoration: none; }
.front-cosmic .map-tip { font-size: 11px; color: var(--cosmic-muted); text-align: center; margin-top: 4px; }

/* 频道页内容区：压掉旧浅色壳 */
.front-cosmic .topOne,
.front-cosmic .nav,
.front-cosmic .sy_header,
.front-cosmic .top-search-box { display: none !important; }

.front-cosmic .content,
.front-cosmic .main,
.front-cosmic .page-center-box,
.front-cosmic .seat,
.front-cosmic .news-list,
.front-cosmic .shop-list {
  background: transparent !important;
  color: var(--cosmic-text) !important;
}
.front-cosmic a { color: #c5b3ff; }
.front-cosmic a:hover { color: #fff; }
.front-cosmic h1, .front-cosmic h2, .front-cosmic h3, .front-cosmic h4, .front-cosmic h5 {
  color: #eef1ff !important;
}
.front-cosmic .mod-b,
.front-cosmic .list-item,
.front-cosmic .shop-item,
.front-cosmic table,
.front-cosmic .panel-default {
  background: var(--cosmic-card) !important;
  border-color: var(--cosmic-border) !important;
  color: #e8ecff !important;
  border-radius: 10px;
}
.front-cosmic .mod-ctt h3 a,
.front-cosmic .mob-ctt h3 a { color: #eef1ff !important; }

@media (max-width: 1280px) {
  .front-cosmic .fc-kpis { grid-template-columns: repeat(3, 1fr); }
  .front-cosmic .fc-grid, .front-cosmic .fc-links { grid-template-columns: 1fr; }
  .front-cosmic .fc-chart-map { height: 360px; }
}

/* WAP cosmic */
body.front-cosmic-wap {
  margin: 0;
  background: var(--cosmic-bg, #151a30);
  color: #e8ecff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: 56px;
}
.fcw-head {
  position: sticky; top: 0; z-index: 40;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, #1b1b38, #151a30);
  border-bottom: 1px solid var(--cosmic-border, #2e3a59);
  text-align: center;
}
.fcw-head h1 { font-size: 18px; letter-spacing: 2px; margin: 0; color: #fff; }
.fcw-head p { font-size: 10px; color: var(--cosmic-muted); margin: 4px 0 0; }
.fcw-head .clock { font-size: 11px; color: #c5b3ff; margin-top: 4px; }
.fcw-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.fcw-kpi {
  background: var(--cosmic-card); border: 1px solid var(--cosmic-border);
  border-radius: 10px; padding: 10px; border-left: 3px solid var(--c, var(--cosmic-primary));
}
.fcw-kpi .n { font-size: 12px; color: var(--cosmic-muted); }
.fcw-kpi .v { font-size: 18px; font-weight: 700; margin-top: 2px; }
.fcw-kpi .u { font-size: 10px; color: var(--cosmic-muted); margin-top: 2px; }
.fcw-panel {
  margin: 0 10px 10px; padding: 12px;
  background: var(--cosmic-card); border: 1px solid var(--cosmic-border); border-radius: 12px;
}
.fcw-pt {
  font-size: 14px; color: #d6e0ff; margin-bottom: 8px;
  padding-left: 8px; border-left: 3px solid var(--cosmic-primary);
  display: flex; justify-content: space-between;
}
.fcw-pt a { font-size: 12px; color: var(--cosmic-info); text-decoration: none; }
.fcw-chart { width: 100%; height: 200px; }
.fcw-chart-map { width: 100%; height: 280px; }
.fcw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fcw-chip {
  display: inline-block; padding: 8px 10px;
  background: rgba(161,110,255,.14); border: 1px solid rgba(161,110,255,.28);
  border-radius: 8px; font-size: 12px; color: #e8f4ff; text-decoration: none;
}
.fcw-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 50px; z-index: 50;
  background: #192038; border-top: 1px solid var(--cosmic-border);
  display: flex;
}
.fcw-tabbar a {
  flex: 1; text-align: center; color: var(--cosmic-muted); font-size: 11px;
  padding-top: 8px; text-decoration: none;
}
.fcw-tabbar a.on { color: var(--cosmic-primary); font-weight: 700; }
.fcw-rank { list-style: none; margin: 0; padding: 0; }
.fcw-rank li { display: flex; align-items: center; padding: 7px 2px; border-bottom: 1px dashed rgba(255,255,255,.08); font-size: 12px; }
.fcw-rank .i { width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 4px; background: rgba(161,110,255,.25); margin-right: 8px; font-size: 11px; }
.fcw-rank li:nth-child(-n+3) .i { background: var(--cosmic-primary); color: #1b1b38; font-weight: 700; }
.fcw-rank .nm { flex: 1; }
.fcw-rank .vl { color: var(--cosmic-warning); }
.fcw-notice { margin: 8px 10px; padding: 8px 10px; background: rgba(0,217,119,.2); border: 1px solid rgba(0,217,119,.35); border-radius: 8px; font-size: 12px; }
.fcw-map-tip { font-size: 11px; color: var(--cosmic-muted); text-align: center; margin-top: 4px; }
