/* =========================
   Conan UI Tune
   只做前端排版微调
   ========================= */


/* =========================
   1. 首页“最新上架”卡片优化
   ========================= */

.yu-home .yu-common .yu-service-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:10px 12px 16px;
}

.yu-home .yu-common .yu-service-row{
  align-items:stretch;
  min-height:200px;
  padding:14px;
  border:1px solid #edf0f4;
  border-radius:16px;
  background:#fff;
  box-shadow:0 1px 4px rgba(17,36,72,.03);
}

.yu-home .yu-common .yu-service-row .yu-row-copy{
  display:flex;
  flex-direction:column;
  width:100%;
  min-height:100%;
}

.yu-home .yu-common .yu-service-row .yu-row-copy strong{
  display:block;
  font-size:16px;
  line-height:1.4;
  color:#16284a;
  margin-top:2px;
}

.yu-home .yu-common .yu-service-row .yu-row-copy small{
  display:block;
  margin-top:8px;
  font-size:12px;
  line-height:1.6;
  color:#7b8798;
  min-height:38px;
}

.yu-home .yu-common .yu-service-row .yu-card-stats{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:14px;
  font-size:13px;
  line-height:1.5;
  color:#7d8797;
}

.yu-home .yu-common .yu-service-row .yu-card-flame{
  font-size:16px;
  line-height:1;
}

.yu-home .yu-common .yu-service-row .yu-card-footer{
  margin-top:auto;
  padding-top:14px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:100%;
}

.yu-home .yu-common .yu-service-row .yu-card-category{
  display:none !important;
}

.yu-home .yu-common .yu-service-row .yu-card-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  height:34px;
  padding:0 14px;
  border-radius:999px;
  background:#f8d928;
  color:#1e2430;
  font-size:13px;
  font-weight:700;
  box-shadow:0 2px 6px rgba(248,217,40,.22);
}

.yu-home .yu-common .yu-service-row > svg:last-child{
  display:none;
}


/* =========================
   2. 消息中心整体压缩优化
   ========================= */

.mc-page{
  padding-bottom:88px;
}

.mc-list-page{
  padding-top:0 !important;
}

.mc-list-heading{
  padding:16px 16px 8px !important;
  min-height:auto !important;
  align-items:center !important;
}

.mc-list-heading h1{
  font-size:20px !important;
  line-height:1.35 !important;
  margin:0 !important;
}

.mc-back{
  width:34px;
  height:34px;
  font-size:26px !important;
  line-height:34px !important;
}

#mc-read-all{
  font-size:12px !important;
  padding:4px 0 !important;
}

.mc-sound-line{
  padding:0 16px 10px !important;
  min-height:auto !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
}

.mc-sound-line button{
  font-size:12px !important;
  line-height:1.4 !important;
  color:#8c96a3 !important;
}

#mc-content{
  padding:0 16px !important;
}

.mc-conversations{
  display:flex;
  flex-direction:column;
  gap:0;
}

.mc-conversation{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 0 !important;
  min-height:auto !important;
}

.mc-conversation + .mc-conversation{
  border-top:1px solid #eef1f4;
}

.mc-conversation-avatar{
  width:58px !important;
  height:58px !important;
  flex-shrink:0;
}

.mc-conversation-copy{
  min-width:0;
  flex:1;
}

.mc-conversation-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.mc-conversation-top strong{
  font-size:16px !important;
  line-height:1.4 !important;
  color:#18284a !important;
}

.mc-conversation-top time{
  font-size:12px !important;
  color:#a1a8b3 !important;
}

.mc-conversation-preview{
  display:block;
  margin-top:5px !important;
  font-size:13px !important;
  line-height:1.5 !important;
  color:#8b93a0 !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mc-feedback{
  padding:0 16px 10px !important;
}

.mc-feedback-row{
  padding:14px 0 !important;
  gap:12px !important;
}

.mc-feedback-symbol{
  width:52px !important;
  height:52px !important;
  flex-shrink:0;
}

.mc-empty{
  padding:20px 16px !important;
}


/* =========================
   3. 手机端进一步微调
   ========================= */

@media (max-width:700px){
  .yu-home .yu-common .yu-service-list{
    gap:10px;
    padding:8px 10px 14px;
  }

  .yu-home .yu-common .yu-service-row{
    min-height:184px;
    padding:12px;
    border-radius:14px;
  }

  .yu-home .yu-common .yu-service-row .yu-row-copy strong{
    font-size:15px;
  }

  .yu-home .yu-common .yu-service-row .yu-row-copy small{
    font-size:12px;
    min-height:34px;
  }

  .yu-home .yu-common .yu-service-row .yu-card-stats{
    margin-top:12px;
    font-size:12px;
  }

  .yu-home .yu-common .yu-service-row .yu-card-cta{
    min-width:78px;
    height:32px;
    padding:0 12px;
    font-size:12px;
  }

  .mc-list-heading{
    padding:14px 14px 6px !important;
  }

  .mc-sound-line{
    padding:0 14px 8px !important;
  }

  #mc-content{
    padding:0 14px !important;
  }

  .mc-conversation{
    gap:12px;
    padding:12px 0 !important;
  }

  .mc-conversation-avatar{
    width:54px !important;
    height:54px !important;
  }

  .mc-conversation-top strong{
    font-size:15px !important;
  }

  .mc-conversation-preview{
    font-size:12px !important;
  }
}
