/* 4955 导航站主题：仿站蓝色（对齐临时1站1 #0070C0） */
:root {
  --theme-1: #0070c0;
  --theme-2: #73b0dc;
  --theme-3: #8cbfe3;
  --theme-text: #ffffff;
}

.header .logo img,
.logo img,
.logo-t img,
img.logo-img {
  width: auto !important;
  height: 50px !important;
  max-height: 50px !important;
  max-width: 72vw !important;
  object-fit: fill !important;
  display: block;
  border: 0;
  vertical-align: top;
}
.header .logo,
.logo,
.logo-box {
  height: 50px !important;
  min-height: 50px;
  overflow: hidden !important;
  padding: 0 !important;
}
.header.zl-head,
.header {
  background-image: none;
  background-color: var(--theme-1);
  height: 50px;
}
.zl-head .clearfix {
  height: auto !important;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.box {
  background-image: linear-gradient(
    to right,
    var(--theme-2),
    var(--theme-1),
    var(--theme-2)
  ) !important;
  background-color: var(--theme-1) !important;
  filter: none !important;
}

.riqi {
  font-size: 19pt !important;
  text-align: center !important;
  font-weight: bold !important;
  margin: 5px 0 !important;
  color: #ffffff !important;
  width: 100% !important;
  line-height: 1.35 !important;
}
.riqi b,
.riqi span {
  font-size: inherit !important;
  line-height: inherit !important;
}
@media screen and (max-width: 610px) {
  .riqi {
    font-size: 15pt !important;
  }
}
@media screen and (max-width: 505px) {
  .riqi {
    font-size: 12pt !important;
  }
}
@media screen and (max-width: 409px) {
  .riqi {
    font-size: 11pt !important;
  }
}
@media screen and (max-width: 374px) {
  .riqi {
    font-size: 10pt !important;
  }
}

/* 开奖块促销标题 */
#yxym .list-title.kj-promo-title {
  font-size: 18px;
  text-align: center;
}
@media screen and (max-width: 610px) {
  #yxym .list-title.kj-promo-title {
    font-size: 16px;
  }
}
@media screen and (max-width: 505px) {
  #yxym .list-title.kj-promo-title {
    font-size: 14px;
  }
}
@media screen and (max-width: 409px) {
  #yxym .list-title.kj-promo-title {
    font-size: 12px;
  }
}
#kj.kj-frames,
.kj-frames {
  width: 100%;
}
#kj.kj-frames iframe,
.kj-frames iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* 澳彩外壳：顶栏蓝底标题；黄底+绿色网址用主题蓝边框住 */
.am-aocai-box {
  padding: 0 !important;
  border-radius: 5px;
  overflow: hidden;
  box-sizing: border-box;
}
/* 块顶标题：蓝底白字（显式背景，不许被吃掉） */
.am-aocai-box > .am-sites-title,
.am-sites-title {
  text-align: center;
  color: #fff !important;
  font-size: 16pt;
  font-weight: bold;
  padding: 8px 4px 6px;
  margin: 0;
  text-shadow: 1px 1px 1px #333;
  background-image: linear-gradient(
    to right,
    var(--theme-2),
    var(--theme-1),
    var(--theme-2)
  ) !important;
  background-color: var(--theme-1) !important;
}
/* 网址区：左右下 2px 露出 .box 主题蓝 = 蓝框包住黄底+绿色列表 */
.am-aocai-box .am-aocai-body {
  margin: 0 2px 2px 2px;
  padding: 0;
  width: auto;
  box-sizing: border-box;
  background-color: #00ac56;
  overflow: hidden;
}
.am-aocai-box .am-sites-official-url {
  margin: 0 !important;
  border-radius: 0 !important;
  display: block;
}
.am-aocai-box .g-nav-refresh {
  padding: 15px;
}
.am-aocai-box .g-nav-refresh.them-5 {
  background-color: #00ac56;
  padding: 9px;
  background-size: 100% 100%;
  box-shadow: none;
  max-width: none;
  width: 100%;
  margin: 0 !important;
  border-radius: 0;
  box-sizing: border-box;
}
.am-aocai-box .g-nav-refresh .nav-list {
  border-radius: 8px;
  padding: 0;
  margin: 0;
  box-shadow: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.am-aocai-box .g-nav-refresh .nav-item {
  flex: 1;
  flex-direction: column;
  margin: 4px 3px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: bold;
  overflow: hidden;
  background-color: #ffffff;
  box-sizing: border-box;
  padding: 0;
  line-height: 0;
}
.am-aocai-box .g-nav-refresh .nav-item .nav-item-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  overflow: hidden;
  border: 0;
  margin: 0;
  padding: 0;
}
@media (max-width: 600px) {
  .am-aocai-box .g-nav-refresh .nav-item {
    border-radius: 10px;
  }
}
@media screen and (max-width: 420px) {
  .am-sites-title {
    font-size: 13pt;
  }
}

.footer-declare {
  background: #fff !important;
  background-image: none !important;
  margin: 12px 0 24px;
  padding: 10px 8px;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* LX6-TREE-LAYOUT：只改列宽，不改字体 */
#yxym .qxtable.lx6-tree {
  table-layout: fixed;
  width: 100%;
}
/* 默认/宽屏：左报码类型 62px（+10），右报码类型 67px（+15） */
#yxym .qxtable.lx6-tree col.lx6-type:nth-child(1),
#yxym .qxtable.lx6-tree td.lx6-type:nth-child(1) {
  width: 50px;
  max-width: 50px;
  white-space: nowrap;
}
#yxym .qxtable.lx6-tree col.lx6-type:nth-child(3),
#yxym .qxtable.lx6-tree td.lx6-type:nth-child(3) {
  width: 52px;
  max-width: 52px;
  white-space: nowrap;
}
/* 左边报码（肖内容）收一点 */
#yxym .qxtable.lx6-tree col.lx6-val:nth-child(2),
#yxym .qxtable.lx6-tree td.lx6-val:nth-child(2) {
  width: 34%;
}
/* 窄屏：再收左边报码 */
@media screen and (max-width: 520px) {
  #yxym .qxtable.lx6-tree col.lx6-val:nth-child(2),
  #yxym .qxtable.lx6-tree td.lx6-val:nth-child(2) {
    width: 28%;
  }
}
