@charset "utf-8";
/* 金榜高手详情页（jbgs_detail.php），与全站 style.css 并存 */

body.jbgs-page {
  background: linear-gradient(180deg, #ebe4d4 0%, #f2efe6 120px, #f7f5f0 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* 固定顶栏 .header 高 50px，用 padding 占位，避免与 sub-nullbox 叠用时的外边距塌陷导致正文被挡 */
  padding-top: calc(50px + env(safe-area-inset-top, 0px));
  box-sizing: border-box;
}

/* 本页已用 body padding-top 预留顶栏，取消原 50px 占位条，防止重复或塌陷 */
body.jbgs-page .sub-nullbox {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 顶栏固定 50px：原 logo 宽 207px + height:auto 易超高，改为 flex 居中并限制 max-height */
body.jbgs-page .header {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

body.jbgs-page .header .clearfix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

body.jbgs-page .header .logo {
  float: none;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

body.jbgs-page .header .logo img {
  width: auto;
  max-width: min(207px, calc(100vw - 72px));
  max-height: 42px;
  height: auto;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

body.jbgs-page .header .bank {
  float: none;
  flex: 0 0 auto;
}

.jbgs-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 10px 24px;
  box-sizing: border-box;
}

.jbgs-promo-shell {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(90, 60, 30, 0.12);
}

.jbgs-promo-shell > .box {
  margin-bottom: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.box.article_content.jbgs-detail {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(60, 40, 20, 0.1);
  margin-bottom: 14px;
  border: 1px solid rgba(180, 160, 120, 0.35);
}

.jbgs-detail .content_hd_media {
  background: linear-gradient(135deg, #faf7f0 0%, #f0ebe0 100%);
  border-bottom: 1px solid rgba(180, 150, 100, 0.25);
  padding: 14px 16px;
}

.jbgs-detail .content_hd_media .meta_info {
  margin-top: 0;
}

.jbgs-detail .content_hd_media .meta_info .date {
  height: auto;
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #5c5346;
}

.jbgs-rating-label {
  font-weight: 600;
  color: #6b5d4a;
}

.jbgs-rating-crowns {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  background: linear-gradient(180deg, #fff9e6, #ffe8a8);
  border-radius: 999px;
  border: 1px solid rgba(200, 150, 50, 0.35);
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.jbgs-detail .remarks {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #7a2e0e;
  background: rgba(255, 235, 200, 0.65);
  border-left: 4px solid #c45c28;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.jbgs-detail .content_bd {
  padding: 0;
  background: #fffef9;
}

.jbgs-card-body {
  padding: 16px 14px 18px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #2a2520;
  word-break: break-word;
}

.jbgs-card-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px auto;
  display: block;
}

.jbgs-card-body p {
  margin: 0.65em 0;
}

.jbgs-slogan-wrap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(160, 140, 100, 0.45);
}

.jbgs-footer-slot {
  margin-top: 8px;
}

.jbgs-footer-slot > .box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(60, 40, 20, 0.08);
  border: 1px solid rgba(180, 160, 120, 0.3);
  margin-bottom: 12px !important;
}

.jbgs-footer-slot .box .box {
  margin: 14px 12px 0 !important;
  border-radius: 10px;
  border: 1px solid rgba(180, 160, 120, 0.22);
  box-shadow: none;
  overflow: hidden;
}

.jbgs-footer-slot .title {
  background: linear-gradient(90deg, #8b4513, #a0522d);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.jbgs-footer-slot .cont {
  padding: 14px 16px !important;
  font-size: 14px;
  line-height: 1.7;
  color: #3d3528 !important;
  background: #fdfcfa;
}

.jbgs-footer-slot .cont.center {
  text-align: center;
}
