/* 公告弹窗可读性修复：去掉空图片、放大正文、改成奶油金卡片 */
body .uv-overlay{
  background:rgba(18,11,2,.62)!important;
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
body .uv-popup__content.center{
  border-radius:22px!important;
  background:#fffdf7!important;
  overflow:hidden!important;
}
body .uv-modal{
  width:min(88vw,380px)!important;
  max-height:86vh!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fffdf7 0%,#fff8e7 100%)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.32),inset 0 0 0 1px rgba(255,193,68,.42)!important;
  overflow:hidden!important;
}
body .uv-modal__title{
  flex:none!important;
  padding:16px 20px 6px!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:2.5px!important;
  color:#a87818!important;
  text-align:center!important;
  background:linear-gradient(180deg,#fff3cb 0%,#fff9e9 100%)!important;
}
body .uv-modal__title span{opacity:.92}
body .uv-modal__content{
  padding:4px 20px 8px!important;
  min-height:0!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
  background:transparent!important;
}
body .auto-notice-content{padding:0!important;background:transparent!important}
body .auto-notice-image{display:none!important;height:0!important;margin:0!important;padding:0!important}
body .auto-notice-time{display:none!important}
body .auto-notice-title{
  margin:4px 0 10px!important;
  padding:0 2px!important;
  font-size:19px!important;
  line-height:1.45!important;
  font-weight:800!important;
  color:#5b3b12!important;
  text-align:center!important;
  letter-spacing:.3px!important;
}
body .auto-notice-body{
  display:block!important;
  max-height:46vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:6px 4px 2px!important;
  font-size:14px!important;
  line-height:1.8!important;
  color:#4c3a23!important;
  text-align:left!important;
  -webkit-overflow-scrolling:touch;
}
body .auto-notice-body::-webkit-scrollbar{width:0;height:0}
body .auto-notice-body p{margin:0 0 7px!important;padding:0!important}
body .auto-notice-body strong{color:#8a560d!important;font-weight:800!important}
body .auto-notice-body .notice-tip{
  margin-top:12px!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  background:#fff0c7!important;
  color:#6b4409!important;
  text-align:center!important;
}
body .uv-line{
  margin:0 18px!important;
  border-bottom:1px solid #eddab2!important;
  transform:none!important;
}
body .uv-modal__button-group{
  flex:none!important;
  height:auto!important;
  padding:12px 18px 16px!important;
  background:transparent!important;
}
body .uv-modal__button-group__wrapper{
  height:46px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffbd32 0%,#ff9900 100%)!important;
  box-shadow:0 7px 18px rgba(255,153,0,.28)!important;
}
body .uv-modal__button-group__wrapper__text{
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  letter-spacing:1px!important;
}
@media (max-width:480px){
  body .uv-modal{width:88vw!important;max-height:84vh!important}
  body .uv-modal__content{padding:2px 18px 6px!important}
  body .auto-notice-title{font-size:18px!important;margin-bottom:8px!important}
  body .auto-notice-body{font-size:14px!important;max-height:43vh!important;line-height:1.75!important}
  body .uv-modal__button-group{padding:10px 16px 14px!important}
  body .uv-modal__button-group__wrapper{height:45px!important}
}

/* 首页黄色公告条：铃铛换成奶龙，公告文字循环横向滚动 */
body .notice-wrap .notice-left{
  width:34px!important;
  min-width:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
body .notice-wrap .notice-icon{
  display:block!important;
  width:clamp(24px,7.5vw,30px)!important;
  height:clamp(24px,7.5vw,30px)!important;
  min-width:24px!important;
  background:url("/h5v3/notice/naidong_notice_head.png?v=20261124j") center center / contain no-repeat!important;
  filter:drop-shadow(0 2px 3px rgba(125,76,0,.18));
}
body .notice-wrap .notice-icon span{display:none!important}
body .notice-wrap .notice-center{
  overflow:hidden!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 93%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 93%,transparent 100%);
}
body .notice-wrap .notice-text{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  top:50%!important;
  width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;
  animation:xyNoticeMarquee 10s linear infinite!important;
  will-change:transform;
}
@keyframes xyNoticeMarquee{
  0%{transform:translateX(100vw) translateY(-50%)}
  100%{transform:translateX(calc(-100% - 24px)) translateY(-50%)}
}
@media (prefers-reduced-motion:reduce){
  body .notice-wrap .notice-text{animation:none!important;transform:translateY(-50%)!important}
}
