:root {
  --ran-module-color1: #5fa358
}
.ran-info-module-box a:hover{
  text-decoration: none!important;
}
.ran-info-module-box,
.ran-info-module-box * {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1em !important;
  border: 0 !important;
  width: auto !important;
  height: auto !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  list-style: none !important;
  max-width: none !important;
  max-height: none !important;
  line-height: 1 !important;
}

.ran-info-module-box {
  margin: .2em 0 .1em 0 !important;
}


.ran-info-module-box{
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ran-info-module-btn {
  display: inline-flex !important;
  height: 2.4em !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1em !important;
  border-radius: 100px !important;
  background-color: var(--ran-module-color1) !important;
  color: #fff !important;
  transition: all .35s ease 0s !important
}



.ran-info-module-btn1 {
  display: inline-flex !important;
  height: 2.4em !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1em !important;
  border-radius: 4px !important;
  background-color: var(--ran-module-color1) !important;
  color: #fff !important;
  transition: all .35s ease 0s !important
}

.ran-info-module-btn:hover {
  opacity: .9 !important;
  color: #fff !important;
  text-decoration: underline !important;
}
.ran-info-module-btn1:hover{
  text-decoration: underline !important;
}
.ran-info-module-btn1:hover {
  opacity: .9 !important;
  color: #fff !important
}
.ran-info-module-warning-tips {
  color: #a94442 !important;
  background-color: #f2dede !important;
  border: 1px solid #ebccd1 !important;
  display: flex !important;
  align-items: flex-start !important;
  padding: 1em 1.5em !important;
  border-radius: 5px !important
}
.ran-info-module-shop-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important
}
.ran-info-module-shop-box>a {
  display: flex !important;
  align-items: center !important
}
.ran-info-module-imgbox img {
  aspect-ratio: 1;
  width: 100% !important;
  border: 0 !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  border-radius: 5px !important;
  margin-top: 5px !important;
}
.ran-info-module-shop1-box>a {
  background-color: rgba(0, 0, 0, .04) !important;
  border-radius: 5px !important;
  padding: 1em !important;
  flex: auto !important;
  max-width: 600px !important;
  align-items: stretch !important
}
.ran-info-module-shop2-box>a {
  background-color: rgba(0, 0, 0, .04) !important;
  border-radius: 5px !important;
  padding: 1em !important;
  flex: auto !important;
  flex-direction: column !important;
  max-width: 400px !important
}
.ran-info-module-shop1-box .ran-info-module-imgbox {
  max-width: 200px !important;
  flex: none !important
}
.ran-info-module-shop1-box .ran-info-module-imgtxt {
  flex: auto !important;
  margin: 0 0 0 1.5em !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important
}
.ran-info-module-txt-title {
  font-size: 1.25em !important;
  line-height: 1.4 !important;
  max-height: 2.8em !important;
  margin: 0 0 .5em 0 !important;
  overflow: hidden !important;
  flex: none !important;
  font-weight: 700;
}
.ran-info-module-txt-title .credit{
  font-size: 14px!important;
  color:#5fa358!important;
  padding-left: 10px!important;
}
.ran-info-module-txt-info {
  opacity: .6 !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  flex: auto !important;
  display: block !important;
  font-size: 14px !important;
  text-indent: 0em !important;
  color:#096457!important;
}
.ran-info-module-imgtxt-span {
  display: flex !important;
  align-items: center !important;
  flex: none !important;
  margin: 1em 0 0 0 !important
}
.ran-info-module-imgtxt-span span.ran-info-module-price {
  flex: auto !important;
  font-size: 1.2em !important;
  color: red !important;
  font-weight: 700 !important
}
.ran-info-module-imgtxt-span span.ran-info-module-btn {
  flex: none !important
}
.ran-info-module-btn1 {
  flex: none !important
}
.ran-info-module-shop2-box .ran-info-module-imgtxt {
  flex: auto !important;
  width: 100% !important;
  margin: 1.5em 0 0 0 !important;
  display: flex !important;
  flex-direction: column !important
}
.ran-info-module-down1-box>section {
  background-color: #f8f8f8 !important;
  border-radius: 5px !important;
  padding: 1em !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}
.ran-info-module-down1-box .ran-info-module-imgbox {
  width: 4.2em !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  flex: none !important
}
.ran-info-module-down1-box .ran-info-module-down-txt {
  flex: auto !important;
  margin-top: 5px!important;
  padding: 0 0 0 1.5em !important
}
.ran-info-module-down1-box .ran-info-module-btn {
  height: 2.6em !important;
  font-size: 1.1em !important;
  padding: 0 2em !important;
  background-color: #5fa358 !important;
  margin: 0 0 0 1em !important;
  flex: none !important;
  text-decoration: none;
  width: 19% !important;
}
.ran-info-module-btn1 {
  height: 2.6em !important;
  font-size: 1.1em !important;
  padding: 0 2em !important;
  background-color: #333 !important;
  margin: 0 0 0 1em !important;
  flex: none !important;
  text-decoration: none;
}
.ran-info-post-txt1-box,
.ran-info-post-txt2-box {
  background-color: rgba(0, 0, 0, .04) !important;
  padding: 1em 1.5em !important;
  border-left: 4px solid rgba(0, 0, 0, .1) !important
}
.ran-info-post-txt1-box li {
  line-height: 2 !important;
  height: 2em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important
}
.ran-info-post-txt2-box li {
  line-height: 1.4 !important;
  padding: .4em 0 !important
}
.ran-info-post-img1-box li {
  padding: .6em 0 !important
}
.ran-info-post-img1-box li>a {
  display: flex !important;
  align-items: center !important
}
.ran-info-post-img1-box li .ran-info-module-imgbox {
  width: 8em !important;
  height: 6em !important;
  overflow: hidden !important;
  flex: none !important;
  margin: 0 1em 0 0 !important
}
.ran-info-post-img1-box li .ran-info-module-imgbox img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important
}
.ran-info-post-img1-box .ran-info-module-txt-info,
.ran-info-post-img1-box .ran-info-module-txt-title {
  line-height: 1.4 !important;
  max-height: 2.8em !important;
  overflow: hidden !important
}
.ran-info-post-img2-box ul {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -.5em !important;
  margin-right: -.5em !important
}
.ran-info-post-img2-box ul li {
  width: 25% !important;
  padding: 0 .5em !important;
  margin: .5em 0 !important
}
.ran-info-post-img2-box li .ran-info-module-imgbox {
  overflow: hidden !important;
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-top: 70% !important
}
.ran-info-post-img2-box li .ran-info-module-imgbox img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  font-size: 0 !important;
  z-index: 1 !important;
  object-fit: cover !important
}
.ran-info-post-img2-box li section {
  line-height: 1.4 !important;
  height: 2.8em !important;
  overflow: hidden !important;
  margin: .3em 0 0 0 !important
}

/* 全局顶部广告容器样式 */
.top-app-ad-global-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  padding: 10px 0 !important;
}

/* header内部广告容器样式 */
.top-app-ad-header-container {
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  padding: 10px 0 !important;
  margin-bottom: 10px !important;
}

.top-app-ad-wrapper {
  max-width: 700px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: center !important;
}

/* 调整全局顶部广告中的单个广告项 */
.top-app-ad-global-container .ran-info-module-box {
  margin: 0 !important;
  flex: 0 0 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.top-app-ad-global-container .ran-info-module-down1-box > section {
  padding: 0.8em !important;
  background-color: rgba(248, 248, 248, 0.9) !important;
  border: 1px solid #eee !important;
}

.top-app-ad-global-container .ran-info-module-imgbox {
  width: 3.5em !important;
}

.top-app-ad-global-container .ran-info-module-btn {
  height: 2.2em !important;
  font-size: 1em !important;
  padding: 1em 2em !important;
  width: auto !important;
}

.top-app-ad-global-container .ran-info-module-txt-title {
  font-size: 1em !important;
  margin: 0 0 0.3em 0 !important;
}



/* 为页面内容添加顶部间距，避免被固定广告遮挡 */
body {
  padding-top: 0 !important;
}

body.has-top-ad {
  padding-top: 0 !important;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .top-app-ad-wrapper {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .top-app-ad-global-container .ran-info-module-box {
    min-width: 100% !important;
    max-width: 100% !important;
  }
  
}


@media screen and (max-width:720px) {
  .ran-info-post-img2-box ul li {
    width: 50% !important
  }

  .ran-info-module-txt-title{
    font-size: 1em !important;
    margin: 0 0 .2em 0 !important;
  }

  .ran-info-module-down1-box>section {
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    padding: .6em !important;
  }

  .ran-info-module-down1-box .ran-info-module-imgbox {
    width:3em!important;
    position: absolute !important;
    left: 1em !important;
    top: .6em !important
  }

  .ran-info-module-down1-box .ran-info-module-down-txt {
    margin: 0 !important;
    padding-left: 3.9em !important;
    margin-top:5px!important;
  }

  .ran-info-module-down1-box .ran-info-module-btn {
    margin: .5em 0 !important;
    padding: 0 !important;
    font-size: 1em!important;
    width: 30% !important;
  }

  .ran-info-module-down1-box .ran-info-module-btn1 {
    margin: 1em 0 0 0 !important;
    flex: auto !important;
    padding: 0 !important;
  }

  .ran-info-module-shop1-box .ran-info-module-imgbox {
    max-width: 30vw !important
  }

  .ran-info-module-shop1-box .ran-info-module-txt-info {
    display: none !important
  }
}

@media screen and (max-width:320px) {
  .ran-info-module-shop1-box>a {
    flex-direction: column !important;
    align-items: flex-start !important
  }

  .ran-info-module-shop1-box .ran-info-module-imgbox,
  .ran-info-module-shop1-box .ran-info-module-imgtxt {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important
  }

  .ran-info-module-shop1-box .ran-info-module-imgtxt {
    margin: .8em 0 0 0 !important
  }
}