/* 琉璃会员首页（按 RP 草图重写）：px 定长 + 琉璃卡风格，与购物车/登录壳一致 */
.el-main {
  padding: 0 !important;
}
/* 压掉基座 element-comment 的白盒（.el-container:nth-child(2) > .el-main #fff，0,3,0）：
   首页琉璃卡片直接浮在 #f6f6fa 上，实名横幅 margin 透出的即该底色 */
.template .el-container:nth-child(2) > .el-main {
  background: transparent;
  border-radius: 0;
}
.home-main {
  background: transparent;
  min-height: calc(100vh - 50px);
}
/* ---- 未实名合规横幅 ---- */
.cc-kyc-banner {
  max-width: 1440px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, #FFF7E8 0%, #FFF1DE 100%);
  border: 1px solid #FFD591;
  border-radius: 12px;
  padding: 12px 18px;
  box-sizing: border-box;
}
.cc-kyc-ico {
  flex: none;
}
.cc-kyc-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #874D00;
}
.cc-kyc-btn {
  flex: none;
  background: linear-gradient(135deg, #FFB84D 0%, #FA8C16 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .2s;
}
.cc-kyc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(250, 140, 22, .5);
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
.home-col,
.home-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* ---- 卡片基底 ---- */
.cc-card {
  background: #fff;
  border: 1px solid #EEF0F5;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -12px rgba(15, 23, 42, .08);
  padding: 18px;
  box-sizing: border-box;
}
.cc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cc-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1D2129;
  margin: 0;
}
.cc-card-extra {
  font-size: 12px;
  color: #86909C;
}
.cc-more {
  font-size: 13px;
  color: #86909C;
  cursor: pointer;
}
.cc-more:hover {
  color: var(--color-primary);
}

/* ---- 介绍 + 公告 ---- */
.cc-intro-banner {
  background: linear-gradient(120deg, #EAF1FF 0%, #F2EEFF 100%);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.cc-intro-title {
  font-size: 15px;
  font-weight: 700;
  color: #16254E;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-intro-badge {
  flex: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 8px;
}
.cc-intro-sub {
  margin-top: 6px;
  font-size: 12px;
  color: #7B86A2;
}
.cc-notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cc-notice-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #F7F8FA;
  border: 1px solid #F2F3F5;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.cc-notice-item:hover {
  border-color: rgba(22, 93, 255, .35);
  background: #F5F8FF;
  transform: translateY(-1px);
}
.cc-notice-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.cc-notice-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #1D2129;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-notice-time {
  flex: none;
  font-size: 12px;
  color: #A8ABB2;
}
.cc-notice-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #A8ABB2;
  font-size: 13px;
  padding: 16px 0;
}

/* ---- 用户信息 ---- */
.cc-user-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cc-avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B8CFF 0%, #165DFF 100%);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-user-body {
  display: flex;
  gap: 22px;
  align-items: center;
}
.cc-avatar {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B8CFF 0%, #165DFF 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #E8F3FF, 0 8px 18px -6px rgba(22, 93, 255, .45);
}
.cc-user-main {
  flex: 1;
  min-width: 0;
}
.cc-user-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cc-user-name {
  font-size: 18px;
  font-weight: 700;
  color: #1D2129;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-id-chip {
  background: #F2F3F5;
  color: #4E5969;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 12px;
}
.cc-level-badge {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 12px;
  cursor: pointer;
}
.cc-level-default {
  background: #F2F3F5;
  color: #86909C;
  cursor: default;
}
.cc-user-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.cc-user-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}
.cc-field-name {
  color: #86909C;
  flex: none;
}
.cc-field-value {
  color: #1D2129;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-cert-pill {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 12px;
}
.cc-cert-ok {
  background: #E8FFEA;
  color: #00B42A;
}
.cc-cert-no {
  background: #FFF7E8;
  color: #FA8C16;
  cursor: pointer;
}
.cc-cert-no:hover {
  background: #FFEFDB;
}
.bule-text {
  color: var(--color-primary);
  cursor: pointer;
}

/* ---- 产品列表 ---- */
.cc-product-table .product-name {
  color: var(--color-primary);
  text-decoration: none;
}
.cc-product-table .red-time {
  color: #F53F3F;
}
.no-product {
  text-align: center;
  padding: 24px 0;
}
.no-product h2 {
  font-size: 16px;
  color: #1D2129;
  margin: 0 0 6px;
}
.no-product p {
  font-size: 13px;
  color: #86909C;
  margin: 0 0 14px;
}

/* ---- 数据概览（主色渐变卡） ---- */
.cc-overview-card {
  background: linear-gradient(135deg, #5B8CFF 0%, #165DFF 60%, #0E42D2 100%);
  border: none;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(22, 93, 255, .5);
}
.cc-overview-card .cc-card-title {
  color: #fff;
}
.cc-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cc-balance-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}
.cc-balance-num {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}
.cc-balance-num .s-24 {
  font-size: 16px;
  font-weight: 600;
}
.cc-recharge-btn {
  flex: none;
  background: #fff;
  color: #165DFF;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.cc-recharge-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .25);
}
.cc-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cc-overview-item {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background .15s;
}
.cc-overview-item:hover {
  background: rgba(255, 255, 255, .26);
}
.cc-ov-name {
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
}
.cc-ov-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
}
.cc-ov-value .s-12 {
  font-size: 12px;
  font-weight: 500;
}

/* ---- 待处理事项 ---- */
.cc-todo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.cc-todo-item {
  background: #F7F8FA;
  border: 1px solid #F2F3F5;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, transform .15s;
}
.cc-todo-item:hover {
  border-color: rgba(22, 93, 255, .35);
  background: #F5F8FF;
  transform: translateY(-1px);
}
.cc-todo-name {
  font-size: 12px;
  color: #86909C;
}
.cc-todo-num {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 800;
  color: #1D2129;
}
.cc-todo-warn {
  color: #F53F3F;
}

/* ---- 最新公告 ---- */
.cc-news-list {
  display: flex;
  flex-direction: column;
}
.cc-news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px dashed #F2F3F5;
  cursor: pointer;
}
.cc-news-item:last-child {
  border-bottom: none;
}
.cc-news-item:hover .cc-news-title {
  color: var(--color-primary);
}
.cc-news-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #1D2129;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-news-time {
  flex: none;
  font-size: 12px;
  color: #A8ABB2;
}

/* ---- 响应式 ---- */
@media screen and (max-width: 1200px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 750px) {
  .cc-notice-grid,
  .cc-overview-grid {
    grid-template-columns: 1fr;
  }
  .cc-todo-grid {
    grid-template-columns: 1fr;
  }
  .cc-user-body {
    flex-direction: column;
  }
}
/* 侧栏不再有任何页面级样式：home.htm 经 clientarea 壳加载 liuli-shell.css，
   原生 asideMenu（后台配置驱动）与 product/account 等页走同一条样式链路（2026-10-07 用户确认
   移除固定四项重建后，原「侧栏琉璃公共导航」整段规则删除，避免与 shell 双份维护漂移） */
