/* 前台站点微调：主导航项较少时不贴右边缘 */
.main-nav .menu-item {
  right: auto;
  left: 380px;
}

.main-nav .menu-item li {
  margin: 0 14px;
  padding: 2px 18px;
}

/* 顶部主导航统一白字，不做选中白底 */
.main-nav .menu-item li a.on,
.main-nav .menu-item li a[class="on"],
.main-nav .menu-item li.current,
.main-nav .menu-item li.current a {
  background: transparent !important;
  color: #fff !important;
}

.logo a.logo_index img.site-logo-img {
  max-height: 36px;
  max-width: 260px;
  width: auto;
  height: auto;
  padding: 6px 0;
}

.site-map-tip {
  margin: 0 0 12px;
  padding: 8px 12px;
  font-size: 12px;
  color: #555;
  background: #f7fbff;
  border: 1px solid #dce8f4;
}

.site-map-tip a {
  color: #005399;
  font-weight: bold;
}

/* PC 彩种频道二级导航（main-nav-hd，layout/pc 未加载 global2.css 时的补全） */
.main-nav-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 960px;
  min-height: 32px;
  margin: 0 auto;
  padding: 6px 12px;
  border: 1px solid #d2d2d2;
  border-top: none;
  background: #fff;
  box-sizing: border-box;
  line-height: 24px;
  font-size: 14px;
}

.main-nav-hd strong {
  flex-shrink: 0;
  margin: 0 10px 0 0;
  font-weight: bold;
}

.main-nav-hd strong a {
  color: #777;
  font-size: 16px;
  text-decoration: none;
}

.main-nav-hd strong a:hover {
  color: #c4161c;
}

.main-nav-hd b {
  flex-shrink: 0;
  font-weight: normal;
  color: #ccc;
  padding: 0 10px;
}

.main-nav-hd > a {
  flex-shrink: 0;
  color: #c4161c;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav-hd > a:hover {
  color: #b21000;
  text-decoration: underline;
}

/* PC 面包屑：避免链接被其它样式加上边框/背景 */
.blkBreadcrumb .blkBreadcrumbNav {
  float: none;
  display: block;
  color: #666;
}

.blkBreadcrumb .blkBreadcrumbNav a,
.blkBreadcrumb .blkBreadcrumbNav span {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.blkBreadcrumb .blkBreadcrumbNav a {
  color: #959595;
  text-decoration: none;
}

.blkBreadcrumb .blkBreadcrumbNav a:hover {
  color: #b21000;
  text-decoration: underline;
}

.blkBreadcrumb .blkBreadcrumbNav span {
  color: #333;
}

.logo a.logo_channel .logo-channel-text {
  display: inline-block;
  padding: 8px 0 0;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  line-height: 32px;
  font-family: Microsoft YaHei, SimHei, sans-serif;
}

/* 资讯汇总页 /news */
.news-hub-intro {
  margin: 8px 0 14px;
  line-height: 1.8;
  color: #444;
  font-size: 13px;
}
.news-hub-tool-table {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: collapse;
  background: #f7fafc;
  border: 1px solid #d9e2ea;
}
.news-hub-tool-table td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid #e3ebf3;
  font-size: 13px;
}
.news-hub-tool-table a {
  color: #005399;
}
.news-hub-tool-table a:hover {
  color: #b21000;
}
.news-hub-section {
  margin-bottom: 22px;
  border: 1px solid #d9e2ea;
  background: #fff;
}
.news-hub-h2 {
  margin: 0;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: normal;
  color: #005399;
  background: linear-gradient(to bottom, #f3f8fd, #e8f1f9);
  border-bottom: 1px solid #d9e2ea;
  font-family: "Microsoft YaHei", SimSun, sans-serif;
}
.news-hub-h3 {
  margin: 0;
  padding: 8px 14px 4px;
  font-size: 14px;
  font-weight: normal;
}
.news-hub-h3 a {
  color: #005399;
}
.news-hub-tabs {
  padding: 8px 14px 4px;
  font-size: 12px;
  border-bottom: 1px dashed #d9e2ea;
}
.news-hub-tabs a {
  color: #005399;
  margin-right: 14px;
}
.news-hub-tabs a:hover {
  color: #b21000;
}
.news-hub-subsection {
  border-top: 1px dashed #e8eef3;
}
.news-hub-subsection:first-of-type {
  border-top: 0;
}
.news-hub-list {
  margin: 0;
  padding: 6px 8px 10px;
}
.news-hub-list li {
  display: flex;
  align-items: center;
  height: 26px;
  line-height: 26px;
  font-size: 12px;
}
.news-hub-list .dian {
  flex: 0 0 12px;
  color: #888;
}
.news-hub-list .article2 {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.news-hub-list .article2 a {
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.news-hub-list .article2 a:hover {
  color: #b21000;
}
.news-hub-list .date {
  flex: 0 0 42px;
  text-align: right;
  color: #999;
  font-size: 12px;
}
.news-hub-intro-m {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  background: #f8f8f8;
}
.yuce-m-cats {
  padding: 8px 6px;
  background: #fff;
}
.yuce-m-cats-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.yuce-m-cat {
  flex: 1 1 calc(25% - 4px);
  min-width: calc(25% - 4px);
  margin: 2px;
  padding: 10px 4px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  box-sizing: border-box;
}
.yuce-m-cat.bg1 { background: #b472dd; font-size: 14px; }
.yuce-m-cat.bg2 { background: #74d4d2; }
.yuce-m-cat.bg3 { background: #72cbe9; }
.yuce-m-cat.bg4 { background: #4c95ff; }
.yuce-m-cat.bg5 { background: #76e46a; }
.yuce-m-cat.bg6 { background: #feb735; }
.yuce-m-cat.bg7 { background: #fd92cc; }
.news-hub-m-tabs {
  padding: 4px 12px 8px;
  font-size: 12px;
}
.news-hub-m-tabs a {
  color: #005399;
  margin-right: 12px;
  text-decoration: none;
}
.news-hub-m-section {
  margin: 10px 0;
  background: #fff;
  border-top: 1px solid #ddd;
}
.news-hub-m-section h2,
.news-hub-m-section h3 {
  padding: 10px 12px 6px;
  font-size: 15px;
  color: #005399;
  font-weight: normal;
}
.news-hub-m-section h3 {
  font-size: 14px;
  padding-top: 6px;
}
.news-hub-m-section .newlist li {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.news-hub-m-section .newlist li span {
  color: #999;
  font-size: 12px;
  margin-left: 8px;
  flex-shrink: 0;
}

/* 字谜汇总页 /zimi */
.zimi-hub-united {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}
.zimi-hub-united .united-left {
  width: auto;
  float: none;
  border-right: 0;
  padding: 0 8px 8px;
}
.zimi-hub-united .united-bd {
  width: 100%;
  border-top: 1px solid #ccc;
}
.zimi-hub-united .united-left .united-bd ul {
  width: 48%;
  min-height: 120px;
}
.home-bottom-blocks .news-hub-section {
  margin-bottom: 14px;
}
.home-bottom-blocks {
  margin-top: 8px;
}
.notice-m {
  padding: 8px 12px;
  font-size: 12px;
  color: #666;
  background: #fff8e6;
  border-bottom: 1px solid #f0e6c8;
}

/* 会员登录 / 注册 */
.auth-page {
  padding: 20px 0 30px;
}
.auth-panel {
  width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d9e2ea;
  padding: 20px;
}
.auth-panel-wide {
  width: 520px;
}
.auth-side {
  float: left;
  width: 360px;
  margin-left: 30px;
  padding: 10px 0 0 20px;
  color: #555;
  line-height: 1.8;
  font-size: 13px;
}
.auth-side h2 {
  font-size: 16px;
  color: #005399;
  margin: 0 0 10px;
}
.auth-side ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.auth-links {
  margin: 12px 25px 0;
  font-size: 12px;
}
.auth-links a {
  color: #005399;
}
.auth-btn-submit {
  display: inline-block;
  padding: 8px 24px;
  background: #e60012;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}
.auth-btn-outline {
  display: inline-block;
  margin-left: 12px;
  padding: 7px 20px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 13px;
}
.reg_box_form .auth-btn-submit {
  margin-top: 4px;
}
.user-center {
  width: 640px;
  margin: 0 auto;
}
.user-center-h1 {
  font-size: 18px;
  color: #005399;
  margin: 0 0 16px;
  font-weight: normal;
}
.user-center-card {
  background: #fff;
  border: 1px solid #d9e2ea;
  padding: 20px 24px;
}
.user-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.user-info-table th,
.user-info-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 13px;
}
.user-info-table th {
  width: 120px;
  color: #666;
  font-weight: normal;
}
.user-msg-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.user-msg-list li {
  border: 1px solid #e3ebf3;
  margin-bottom: 10px;
  padding: 12px 14px;
  background: #fff;
}
.user-msg-list li.unread {
  background: #fffbf0;
}
.msg-title {
  margin: 0 0 8px;
  font-size: 13px;
}
.msg-date {
  color: #999;
  font-weight: normal;
  margin-left: 8px;
}
.msg-body {
  margin: 0;
  font-size: 12px;
  color: #444;
  line-height: 1.7;
}
.user-empty {
  color: #999;
  padding: 20px 0;
}
.m-user-link {
  position: absolute;
  right: 12px;
  top: 14px;
  font-size: 13px;
  color: #005399;
}
.auth-m-section {
  padding: 12px;
}
.auth-m-form label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}
.auth-m-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.auth-m-links {
  margin-top: 10px;
  font-size: 13px;
}
.auth-m-links a {
  color: #005399;
}
.user-m-info {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  font-size: 14px;
  line-height: 2;
}

.auth-tabs {
  margin: 0 25px 12px;
  border-bottom: 1px solid #e3ebf3;
}
.auth-tab {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 4px;
  color: #666;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.auth-tab.on {
  color: #e60012;
  border-bottom-color: #e60012;
  font-weight: bold;
}
.sms-code-cell {
  white-space: nowrap;
}
.sms-code-input {
  width: 100px !important;
  display: inline-block;
  vertical-align: middle;
}
.sms-send-btn {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid #005399;
  background: #f3f8fd;
  color: #005399;
  cursor: pointer;
  vertical-align: middle;
}
.sms-send-btn:disabled {
  color: #999;
  border-color: #ccc;
  cursor: not-allowed;
}
.auth-m-tabs {
  margin: 0 0 12px;
  font-size: 14px;
}
.auth-m-tabs a {
  margin-right: 16px;
  color: #666;
  text-decoration: none;
}
.auth-m-tabs a.on {
  color: #e60012;
  font-weight: bold;
}
.sms-m-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sms-m-code {
  flex: 1;
  min-width: 100px;
}
.sms-m-btn {
  flex-shrink: 0;
  padding: 8px 12px !important;
  font-size: 13px !important;
  width: auto !important;
}

/* 开奖页分页：ThinkPHP Bootstrap 驱动，横向样式 */
.kj-lottery-page .pages {
  clear: both;
  text-align: center;
  padding: 12px 0 16px;
  font-family: Tahoma, Arial, sans-serif;
  line-height: 20px;
}

.kj-lottery-page .pages .pagination,
.kj-lottery-page .pages .pager {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kj-lottery-page .pages .pagination li,
.kj-lottery-page .pages .pager li {
  display: inline-block;
  margin: 0 3px;
  vertical-align: middle;
}

.kj-lottery-page .pages .pagination li a,
.kj-lottery-page .pages .pagination li span,
.kj-lottery-page .pages .pager li a,
.kj-lottery-page .pages .pager li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  line-height: 22px;
  padding: 0 9px;
  border: 1px solid #e5d6be;
  background: #fffdfa;
  color: #444;
  text-decoration: none;
  border-radius: 2px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.kj-lottery-page .pages .pagination li a:hover {
  background: #fff6ea;
  border-color: #e6c79d;
  color: #333;
  text-decoration: none;
}

.kj-lottery-page .pages .pagination li.active span {
  border-color: #efc486;
  background: #fff3e1;
  color: #333;
  font-weight: bold;
}

.kj-lottery-page .pages .pagination li.disabled span {
  border-color: #e5d6be;
  background: #fffdfa;
  color: #b6a792;
}

.kj-lottery-page .pages .pagination li:first-child a,
.kj-lottery-page .pages .pagination li:first-child span,
.kj-lottery-page .pages .pagination li:last-child a,
.kj-lottery-page .pages .pagination li:last-child span {
  min-width: 70px;
}

/* 大乐透/3D/排列三等 kjls 表格（style.css 兜底 + 覆盖 global2 的 td 重置） */
.kj-lottery-page table.kjls,
.kj-lottery-page table.kjly {
  width: 960px;
  text-align: center;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: "Microsoft YaHei", SimSun, Arial, sans-serif;
  font-size: 13px;
}

.kj-lottery-page table.kjls td,
.kj-lottery-page table.kjly td {
  border: 1px solid #d1e2f3 !important;
  height: 30px;
  padding: 4px 6px;
}

.kj-lottery-page table.kjls .thead td,
.kj-lottery-page table.kjly .thead td {
  background-color: #e4f4ff !important;
  background-image: linear-gradient(to bottom, #f3f9fd, #dceefb) !important;
  color: #075198 !important;
}

.kj-lottery-page table.kjls .thead2 td,
.kj-lottery-page table.kjly .thead2 td {
  color: #075198 !important;
}

.kj-lottery-page table.kjls .list-tr td,
.kj-lottery-page table.kjly .list-tr td {
  background: #fff;
}

.kj-lottery-page table.kjls .tr-blue td,
.kj-lottery-page table.kjly .tr-blue td {
  background: #e4f4ff !important;
  color: #075198;
}

.kj-lottery-page table.kjls .tr-over td,
.kj-lottery-page table.kjly .tr-over td {
  background: #fffde5 !important;
  color: #bc5e2b;
  cursor: pointer;
}

.kj-lottery-page table.kjls td.red a {
  color: #f00 !important;
  text-decoration: underline;
  font-size: 15px;
}

.kj-lottery-page table.kjls td.red a:hover {
  color: #f00 !important;
}

.kj-lottery-page table.kjls td.red a i {
  font-style: normal;
  color: #0066ff !important;
}

.kj-lottery-page table.kjls td.red a em {
  font-style: normal;
  color: #00f !important;
}

.kj-lottery-page table.kjls .list-tr td.tip,
.kj-lottery-page table.kjly .list-tr td.tip {
  background: #fffde5;
  color: #333;
  text-align: left;
  text-indent: 2em;
  line-height: 24px;
}

/* 首页彩种区块：与 /news 一致（yuce_ychz.css），仅补顶部间距 */
.main > .fc3D,
.main > .ssq,
.main > .pl3,
.main > .dlt,
.main > .other {
  margin-top: 10px;
}

/* 本站推荐标签云 */
.home-recommend-tags {
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #f8fbff;
  border: 1px solid #dce8f4;
}
.home-recommend-hd h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #1a5a9e;
}
.home-tag-cloud {
  line-height: 2;
}
.home-tag-cloud-limited {
  max-height: 52px;
  overflow: hidden;
  line-height: normal;
  padding-left: 16px;
  padding-right: 8px;
  margin-top: 2px;
  box-sizing: border-box;
}
/* 首页彩种左栏：tags 与左侧边框留出间距（与栏目标题缩进一致） */
.ticket-ssq-modern .ssq-l-bot .home-tag-cloud-limited {
  padding-left: 18px;
  padding-right: 10px;
  margin-bottom: 4px;
}
.channel-section .home-tag-cloud-limited {
  padding-left: 16px;
  padding-right: 8px;
}
.home-tag-cloud-main {
  padding: 4px 0;
}
a.home-tag {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 2px 10px;
  font-size: 12px;
  color: #336699;
  background: #fff;
  border: 1px solid #c5d9ea;
  border-radius: 2px;
  text-decoration: none;
}
a.home-tag:hover {
  color: #fff;
  background: #409eff;
  border-color: #409eff;
}
.channel-section {
  margin-bottom: 16px;
}
.channel-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.channel-section-hd h2 {
  margin: 0;
  font-size: 15px;
}
.channel-more {
  font-size: 12px;
  color: #336699;
}
ul.channel-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.channel-article-list li {
  line-height: 26px;
  border-bottom: 1px dashed #e8e8e8;
}
ul.channel-article-list li .t {
  float: right;
  color: #999;
  font-size: 12px;
}

/* 开奖页底部三栏（中奖公告 / 字谜 / 杀码等，有内容才显示） */
.kj-lottery-page .pages {
  width: 960px;
  margin: 8px auto 0;
  clear: both;
}
.kj-bottom-lists {
  margin-top: 10px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.kj-bottom-lists .list {
  float: none;
}
.kj-bottom-lists.kj-cols-1 .list { width: 960px; margin-right: 0; }
.kj-bottom-lists.kj-cols-1 .list-bd { width: 958px; }
.kj-bottom-lists.kj-cols-2 .list { width: 474px; margin-right: 10px; }
.kj-bottom-lists.kj-cols-2 .list-bd { width: 472px; }
.kj-bottom-lists.kj-cols-2 .list.list-right { margin-right: 0; }
.kj-bottom-lists.kj-cols-4 .list { width: 234px; margin-right: 8px; }
.kj-bottom-lists.kj-cols-4 .list-bd { width: 232px; }
.kj-bottom-lists.kj-cols-4 .list.list-right { margin-right: 0; }
.kj-bottom-lists .list-hd {
  background: linear-gradient(to bottom, #f7fafc, #e9f0f6);
  border: 1px solid #d5dee8;
  border-bottom: none;
}
.kj-bottom-lists .list-hd .list-hd-title {
  color: #1a5a9e;
}
.kj-bottom-lists .list-bd li a {
  color: #333;
}
.kj-bottom-lists .list-bd li a:hover {
  color: #900;
}
.kj-lottery-page .mp-footer {
  margin-top: 16px;
}

/* 栏目页标签筛选 */
.category-tag-bar {
  margin: 10px 0 16px;
  padding: 8px 10px;
  background: #fffdf6;
  border: 1px solid #f0e6d2;
  line-height: 1.8;
}
.category-tag-bar a {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 2px 12px;
  border: 1px solid #e5d6be;
  border-radius: 2px;
  background: #fff;
  color: #444;
  text-decoration: none;
}
.category-tag-bar a:hover {
  background: #fff6ea;
  color: #900;
}
.category-tag-bar a.on {
  background: #fcd007;
  border-color: #e6b800;
  color: #333;
  font-weight: bold;
}
.article-m-list li span {
  float: right;
  color: #999;
  font-size: 12px;
}

