/* 目标站上半屏 1:1 布局（自另存页 CSS 还原） */

.sd-page-head {
  width: 100%;
  height: 44px;
  background: #f8f8f8;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 980;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}
.sd-page-head__title {
  font-size: 16px;
  font-weight: 600;
  color: #222121;
  text-align: center;
}

.sd-header-sticky {
  position: sticky;
  top: 44px;
  z-index: 970;
  height: 46px;
  background: #cf4b4a;
}
.sd-header-top {
  width: 100%;
  height: 46px;
  background: #cf4b4a;
  position: relative;
  overflow: hidden;
}
/* 与目标站一致：width:100%; height:40px; top:5px —— 完整显示，不 cover 裁切 */
.sd-header-top img.sd-header-img {
  width: 100%;
  height: 40px;
  top: 5px;
  position: relative;
  display: block;
  object-fit: fill;
}
.sd-windmill {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 4px;
  right: 16px;
  animation: sd-rotate 3s linear infinite;
  z-index: 2;
  pointer-events: none;
}
.sd-windmill img {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes sd-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(1turn); }
}

.sd-banner {
  width: 100%;
  display: block;
  margin: 0;
  vertical-align: top;
}

/* 功能导航：原 .nav 10 项 → 红钮 2×5 */
.sd-href-container {
  width: 100%;
  padding: 10px 2px 2px;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  background: #fff;
}
.sd-href-container .sd-href-child {
  width: 20%;
  padding: 0 3px;
  box-sizing: border-box;
}
.sd-href-container .sd-href-child a,
.sd-href-container .sd-href-child .sd-href-child-text {
  display: block;
  line-height: 24px;
  color: #fff !important;
  text-align: center;
  border-radius: 20px;
  background: #840100;
  font-size: 14px;
  width: 100%;
  margin: 0 0 4px;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
}

/* 域名区 */
.sd-tipUrl-container {
  width: 100%;
  display: block;
  background: #fff;
}
.sd-tipUrl-title {
  width: 100%;
  font-weight: 600;
  font-size: 17px;
  line-height: 40px;
  text-align: center;
  background: #26688a;
  color: #ffff05;
}
.sd-tipUrl-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.sd-tipUrl-list-item {
  width: 50%;
  line-height: 30px;
  font-weight: 600;
  text-align: center;
  background: #ffff05;
  font-size: 15px;
  box-sizing: border-box;
}
.sd-tipUrl-list-item:nth-child(1) {
  color: #d91eb5;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}
.sd-tipUrl-list-item:nth-child(2) {
  color: #d91eb5;
  border-bottom: 2px solid #ccc;
}
.sd-tipUrl-list-item:nth-child(3) {
  color: #050384;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}
.sd-tipUrl-list-item:nth-child(4) {
  color: #0b0101;
  border-bottom: 2px solid #ccc;
}
.sd-tipUrl-list-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* 绿条标题（开奖区上方） */
.sd-tips-btn {
  margin: 6px 4px;
}
.sd-tips-btn .sd-green-bar {
  display: block;
  width: 100%;
  height: 28px;
  line-height: 28px;
  text-align: center;
  color: #fff;
  background-color: #5ac725;
  border: 1px solid #5ac725;
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
}

/* 开奖 iframe 容器（对齐目标站 padding:0 10px; margin-top:1px） */
.sd-kj-wrap {
  padding: 0 10px;
  margin-top: 1px;
  background: #fff;
  box-sizing: border-box;
}
.sd-kj-wrap iframe {
  width: 100%;
  height: 148px;
  border: 0;
  display: block;
  background: #fff;
}

/* 正文区背景对齐目标站 */
body.sd-home {
  background: #fff;
  background-image: none;
}
body.sd-home .k3.not {
  background: #fff;
}
