/*全站公共样式 PC+WAP自适应 */
*{margin:0;padding:0;box-sizing:border-box;outline:none;-webkit-tap-highlight-color:transparent;}
html,body{font-family:"Microsoft Yahei",system-ui,-apple-system;color:#333;font-size:15px;line-height:1.6;}
a{text-decoration:none;color:#1677ff;}
img{max-width:100%;height:auto;border:0;display:block;}
ul,ol{list-style:none;}
input,textarea,select,button{font-family:inherit;font-size:15px;padding:10px 12px;border:1px solid #ddd;border-radius:6px;background:#fff;}
button{cursor:pointer;background:#1677ff;color:#fff;border:0;}
button:hover{background:#0968e2;}
.container{max-width:1200px;margin:0 auto;padding:0 15px;}
/*通用表格样式*/
.table{width:100%;border-collapse:collapse;margin:10px 0;}
.table th,.table td{border:1px solid #e5e7eb;padding:12px;text-align:left;}
.table th{background:#f7f8fa;}
/*消息提示*/
.msg-success{border:1px solid #4cd261;background:#f0fff4;color:#098932;padding:14px;border-radius:6px;margin:12px 0;}
.msg-error{border:1px solid #ff7875;background:#fff2f0;color:#d32f2f;padding:14px;border-radius:6px;margin:12px 0;}
/*分页基础*/
.page{margin:16px 0;display:flex;gap:6px;flex-wrap:wrap;}
.page a,.page span{padding:7px 12px;border:1px solid #ddd;border-radius:4px;}
.page a:hover{background:#f2f3f5;}
/*响应式适配 wap */
@media (max-width:768px){
    html,body{font-size:14px;}
    .table-box{overflow-x:auto;}
    .table{min-width:700px;}
    input,textarea{width:100%;}
}
/* 顶部整体固定置顶 */
.top-header-wrap {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
/* ==========手机端顶部加高放大字体========== */
.title-bar {
  background-color: #40a6f7;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap:12px;
}
.header-logo{
    height:44px;
    width:auto;
    display:block;
}
.title-text {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
  line-height:1;
  font-weight:bold !important;
}
.notice-bar {
  background-color: #ff0000;
  width: 100%;
  overflow: hidden;
}
.scroll-box {
  width: 100%;
  white-space: nowrap;
  padding: 8px 0;
  line-height: 1.1;
}
.scroll-content {
  display: inline-block;
  animation: scrollLeft 5s linear infinite;
}
.scroll-content span {
  color: #fff233;
  font-size: 18px;
}
/* 无缝滚动动画 */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* PC电脑端大屏 窄顶部样式 */
@media screen and (min-width: 768px) {
  .title-bar {
    padding: 9px 0;
  }
  .header-logo{
      height:32px;
  }
  .title-text {
    font-size: 24px;
    line-height:1;
  }
  .scroll-box {
    padding: 5px 0;
  }
  .scroll-content span {
    font-size: 16px;
  }
}
/* 首页轮播Banner 全局自适应样式（wap+PC） */
.banner-box{
    width:100%;
    overflow:hidden;
}
.banner-box img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
}
@media screen and (min-width:1200px){
    .banner-box{
        max-width:1200px;
        margin:0 auto;
    }
}
/* 主体顶部留白（手机适配加高顶部） */
body {
  margin: 0;
  padding-top: 102px;
}
@media screen and (min-width:768px){
  body {
    padding-top: 90px;
  }
}
/*详情卡片样式*/
.box{
    background:#fff;
    padding:24px;
    border-radius:12px;
    box-shadow:0 2px 12px rgba(0,0,0,0.06);
    margin-bottom:20px;
}
.title{
    font-size:26px;
    text-align:center;
    margin-bottom:24px;
    color:#222;
    padding-bottom:15px;
    border-bottom:1px solid #eee;
}
.content p{
    margin:14px 0;
    font-size:16px;
}
.content img{
    max-width:100% !important;
    height:auto !important;
    display:block;
    margin:12px auto;
    border-radius:6;
}
@media screen and (max-width:768px){
    .box{
        padding:18px 14px;
    }
    .title{
        font-size:20px;
        margin-bottom:18px;
    }
}

/* =====================【新版底部Tab导航 替换原有样式】 ===================== */
.tab-bar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#fff;
    display:flex;
    border-top:1px solid #ddd;
    z-index:99;
}
.tab-item{
    flex:1;
    text-align:center;
    padding:8px 0;
    color:#666;
    text-decoration:none;
}
.tab-item.active{
    color:#40a0f5;
}
.tab-item .tab-icon{
    font-size:24px;
    margin-bottom:4px;
}
.tab-sos{
    margin-top:-24px;
}
.tab-sos .circle{
    width:76px;
    height:76px;
    border-radius:50%;
    background:#fff;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:36px;
    color:#e6b020;
    box-shadow:0 0 6px rgba(0,0,0,0.13);
}
/* 手机端底部留白适配，避开悬浮tab */
@media (max-width:768px) {
    body{
        padding-bottom:90px !important;
    }
}
@media (min-width:768px) {
    body{
        padding-bottom:90px !important;
    }
}
