﻿/* ========== 1. BASELINE (PC 默认，min-width:1200) ========== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: #333;
  background: #f5f5f5;
  line-height: 1.7;
}

body {
  min-width: 1200px;
  background: #f5f5f5;
}

.c-wrap {
  width: 1200px;
  margin: 0 auto;
}

.w_ec7fb48::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- 顶栏红条 ---------- */
.c-topbar {
  background: linear-gradient(90deg, #c00000 0%, #d60000 50%, #c00000 100%);
  color: #fff;
  font-size: 12px;
  line-height: 36px;
}

.c-topbar .c-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-topbar .tb-left b {
  color: #ffe95a;
  margin-right: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.c-topbar .tb-right a {
  color: #fff;
  margin-left: 16px;
  text-decoration: none;
  transition: color .2s;
}

.c-topbar .tb-right a:hover {
  color: #ffe95a;
}

/* ---------- 头部：logo + 搜索 + 热线 ---------- */
.c-header {
  background: #fff;
  border-bottom: 3px solid #d60000;
}

.c-header-inner {
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  align-items: center;
  padding: 20px 0;
  gap: 24px;
}

.c-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-logo a {
  display: block;
}

.c-logo img {
  width: 72px;
  height: 72px;
  display: block;
}

.c-logo .lg-name {
  font-size: 26px;
  font-weight: 700;
  color: #c00000;
  letter-spacing: 1px;
  line-height: 1.2;
}

.c-logo .lg-slogan {
  font-family: "KaiTi", "楷体", "STKaiti", serif;
  color: #666;
  font-size: 14px;
  letter-spacing: 4px;
  margin-top: 6px;
}

.c-search {
  display: flex;
  height: 42px;
  border: 2px solid #e60012;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.c-search select,
.c-search input {
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 14px;
  background: transparent;
  color: #444;
}

.c-search select {
  background: #fff6f6;
  border-right: 1px solid #f0e0e0;
  min-width: 84px;
  cursor: pointer;
}

.c-search input {
  flex: 1;
  min-width: 0;
}

.c-search button {
  background: linear-gradient(135deg, #e60012, #c00000);
  color: #fff;
  border: 0;
  padding: 0 28px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  font-size: 15px;
  transition: filter .2s;
}

.c-search button:hover {
  filter: brightness(1.08);
}

.c-header-right {
  text-align: right;
}

.c-header-right .h-num {
  font-size: 28px;
  font-weight: 700;
  color: #c00000;
  font-family: "Arial", "Segoe UI", sans-serif;
  letter-spacing: 1px;
  line-height: 1.1;
}

.c-header-right .h-lbl {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ---------- 主导航 ---------- */
.c-nav {
  background: linear-gradient(90deg, #c00000 0%, #e60012 40%, #e60012 60%, #c00000 100%);
  box-shadow: 0 2px 6px rgba(198, 0, 0, .12);
}

.c-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 52px;
}

.c-nav-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.c-nav-item a {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 52px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background .2s;
}

.c-nav-item:last-child a {
  border-right: 0;
}

.c-nav-item a:hover,
.c-nav-item.active a {
  background: rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

/* ---------- 面包屑 ---------- */
.c-crumb {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.c-crumb .c-wrap {
  padding: 12px 0;
  font-size: 13px;
  color: #777;
}

.c-crumb a {
  color: #555;
  text-decoration: none;
  transition: color .2s;
}

.c-crumb a:hover {
  color: #c00000;
}

.c-crumb .sep {
  display: inline-block;
  margin: 0 8px;
  color: #bbb;
}

.c-crumb .sep::before {
  content: ">";
}

/* ---------- 主体：左侧栏 + 右内容 ---------- */
.c-main {
  padding: 22px 0 36px;
}

.c-main-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

/* ---------- 左侧栏 ---------- */
.c-sidebar>*+* {
  margin-top: 20px;
}

.c-side-block {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  overflow: hidden;
}

.c-side-title {
  background: linear-gradient(135deg, #c00000, #e60012);
  color: #fff;
  padding: 14px 18px;
}

.c-side-title .cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: "SimHei", "黑体", "Microsoft YaHei", sans-serif;
}

.c-side-title .en {
  font-size: 10px;
  opacity: .85;
  margin-top: 3px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.c-side-nav {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.c-side-nav li {
  border-bottom: 1px dashed #f0f0f0;
}

.c-side-nav li:last-child {
  border-bottom: 0;
}

.c-side-nav li a {
  display: block;
  padding: 12px 18px 12px 28px;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  border-left: 3px solid transparent;
  transition: all .2s ease;
  position: relative;
}

.c-side-nav li a::before {
  content: "›";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 16px;
  font-weight: 700;
  transition: all .2s;
}

.c-side-nav li a:hover {
  background: #fff6f6;
  color: #c00000;
  border-left-color: #e60012;
  padding-left: 24px;
}

.c-side-nav li a:hover::before {
  color: #e60012;
  left: 10px;
}

.c-side-nav li.active a {
  background: #fff6f6;
  color: #c00000;
  border-left-color: #c00000;
  font-weight: 700;
}

.c-side-nav li.active a::before {
  color: #c00000;
  left: 10px;
}

/* 左侧热门开奖 */
.c-side-hot {
  list-style: none;
  padding: 10px 16px 16px;
  margin: 0;
  counter-reset: hot;
}

.c-side-hot li {
  counter-increment: hot;
  padding: 9px 0 9px 30px;
  border-bottom: 1px dashed #f0f0f0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.c-side-hot li:last-child {
  border-bottom: 0;
}

.c-side-hot li::before {
  content: counter(hot);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #bbb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-family: "Arial", sans-serif;
}

.c-side-hot li:nth-child(1)::before {
  background: #e60012;
}

.c-side-hot li:nth-child(2)::before {
  background: #d60000;
}

.c-side-hot li:nth-child(3)::before {
  background: #c00000;
}

.c-side-hot li .h-t {
  flex: 1;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}

.c-side-hot li .h-t:hover {
  color: #c00000;
}

.c-side-hot li .h-d {
  flex: 0 0 auto;
  font-size: 12px;
  color: #aaa;
  font-family: "Arial", sans-serif;
}

/* ---------- 右侧主内容 ---------- */
.c-content {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 26px 28px 32px;
  min-height: 760px;
}

/* 标题区 */
.c-content-hd {
  border-bottom: 2px solid #c00000;
  padding-bottom: 14px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.c-content-hd .text h1 {
  margin: 0;
  font-family: "SimHei", "黑体", "Microsoft YaHei", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #222;
  letter-spacing: 2px;
  line-height: 1.2;
}

.c-content-hd .text .en-hd {
  font-size: 12px;
  color: #bbb;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.c-content-hd .tips {
  background: #fff6e9;
  border: 1px solid #ffe0a3;
  color: #a86000;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.c-content-hd .tips b {
  color: #c00000;
  margin: 0 3px;
}

/* 子导航 Tab （阳光开奖下子分类） */
.c-sub-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0;
}

.c-sub-tab .tab {
  padding: 10px 22px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  margin-bottom: -2px;
  background: transparent;
  transition: all .2s;
  cursor: pointer;
}

.c-sub-tab .tab:hover {
  color: #c00000;
  background: #fffaf5;
}

.c-sub-tab .tab.active {
  background: #fff;
  color: #c00000;
  border-color: #f0f0f0;
  border-bottom-color: #fff;
  font-weight: 700;
}

/* 开奖信息提示行 */
.c-lottery-notice {
  background: #fff8ee;
  border: 1px solid #ffd68a;
  border-radius: 4px;
  padding: 12px 18px;
  color: #8a4a00;
  font-size: 13px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.c-lottery-notice::before {
  content: "⚠ 温馨提示";
  font-weight: 700;
  color: #c00000;
  background: #fff;
  border: 1px solid #ffc8c8;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.c-lottery-notice a {
  color: #c00000;
  text-decoration: none;
  font-weight: 600;
  margin: 0 3px;
}

.c-lottery-notice a:hover {
  text-decoration: underline;
}

/* ---------- 开奖卡片（单彩种容器） ---------- */
.c-lottery-card {
  border: 1px solid #ececec;
  border-radius: 6px;
  margin-bottom: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .02);
  transition: box-shadow .25s;
}

.c-lottery-card:hover {
  box-shadow: 0 4px 14px rgba(198, 0, 0, .07);
  border-color: #ffd6d6;
}

/* 卡片头部：彩种名 + 期数 + 奖池 */
.c-lc-hd {
  background: linear-gradient(135deg, #fff7f7 0%, #fff 100%);
  border-bottom: 1px solid #f4e0e0;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
}

.c-lc-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-lc-name .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-family: "SimHei", "黑体", sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.c-lc-name.ssq .icon {
  background: linear-gradient(135deg, #e60012, #a00008);
}

.c-lc-name.kl8 .icon {
  background: linear-gradient(135deg, #d60000, #7b0000);
}

.c-lc-name.fc3d .icon {
  background: linear-gradient(135deg, #c00000, #6a0000);
}

.c-lc-name.qlc .icon {
  background: linear-gradient(135deg, #b3000a, #640006);
}

.c-lc-name .n-text {
  font-family: "SimHei", "黑体", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.c-lc-period {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.c-lc-period b {
  color: #c00000;
  font-size: 17px;
  font-family: "Arial", sans-serif;
  margin: 0 2px;
  letter-spacing: 0.5px;
}

.c-lc-pool {
  text-align: right;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.c-lc-pool .amount {
  color: #c00000;
  font-weight: 700;
  font-family: "Arial", sans-serif;
  font-size: 15px;
  margin-left: 4px;
  letter-spacing: 0.3px;
}

.c-lc-pool .amount::before {
  content: "￥";
  font-size: 13px;
  margin-right: 2px;
}

/* 号码球区 */
.c-lc-balls {
  padding: 22px 22px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.w_ad35f16 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .14), inset 0 -2px 4px rgba(0, 0, 0, .1), inset 0 2px 4px rgba(255, 255, 255, .25);
  position: relative;
  flex-shrink: 0;
}

.w_ad35f16.red {
  background: radial-gradient(circle at 30% 30%, #ff6060, #e60012 60%, #b30000);
}

.w_ad35f16.blue {
  background: radial-gradient(circle at 30% 30%, #5aa9ff, #1976d2 60%, #0a498b);
}

.w_ad35f16.orange {
  background: radial-gradient(circle at 30% 30%, #ffb760, #ff8800 60%, #c55c00);
}

.w_ad35f16.purple {
  background: radial-gradient(circle at 30% 30%, #c98af0, #8e24aa 60%, #54106a);
}

.w_ad35f16.dark {
  background: radial-gradient(circle at 30% 30%, #707070, #3a3a3a 60%, #1d1d1d);
}

.ball-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 700;
  font-size: 20px;
  margin: 0 2px;
  font-family: "Arial", sans-serif;
}

/* 开奖信息：开奖日 + 三按钮 */
.c-lc-ft {
  padding: 14px 22px 18px;
  border-top: 1px dashed #eee;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.c-lc-schedule {
  font-size: 13px;
  color: #666;
}

.c-lc-schedule b {
  color: #c00000;
  font-weight: 700;
  margin: 0 2px;
}

.c-lc-btns {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.c-lc-btns a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all .2s;
  border: 1px solid;
}

.c-lc-btns .btn-primary {
  background: linear-gradient(135deg, #e60012, #c00000);
  color: #fff;
  border-color: #c00000;
}

.c-lc-btns .btn-primary:hover {
  filter: brightness(1.08);
}

.c-lc-btns .btn-line {
  background: #fff;
  color: #c00000;
  border-color: #e69c9c;
}

.c-lc-btns .btn-line:hover {
  background: #fff6f6;
  border-color: #c00000;
}

.c-lc-btns .btn-ghost {
  background: #fff;
  color: #555;
  border-color: #ddd;
}

.c-lc-btns .btn-ghost:hover {
  background: #fafafa;
  color: #c00000;
  border-color: #e69c9c;
}

/* 快乐8 多奖池特殊布局 */
.c-lc-pool.multi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-lc-pool.multi .row {
  font-size: 12.5px;
  line-height: 1.6;
}

.c-lc-pool.multi .amount {
  font-size: 14px;
}

/* 往期开奖公告历史表 */
.c-history-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0 12px;
  border-left: 5px solid #c00000;
  padding-left: 14px;
}

.c-history-hd .t {
  font-family: "SimHei", "黑体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.c-history-hd .more a {
  font-size: 13px;
  color: #c00000;
  text-decoration: none;
  font-weight: 600;
}

.c-history-hd .more a:hover {
  text-decoration: underline;
}

.c-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 16px;
  background: #fff;
}

.c-history-table thead th {
  background: linear-gradient(135deg, #c00000, #d60000);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.c-history-table thead th:last-child {
  border-right: 0;
}

.c-history-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  vertical-align: middle;
}

.c-history-table tbody tr:hover {
  background: #fffaf5;
}

.c-history-table .balls-mini {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.c-history-table .ball-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Arial", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}

.c-history-table .ball-mini.red {
  background: radial-gradient(circle at 30% 30%, #ff5050, #e60012);
}

.c-history-table .ball-mini.blue {
  background: radial-gradient(circle at 30% 30%, #4a9aff, #1976d2);
}

.c-history-table .ball-mini.orange {
  background: radial-gradient(circle at 30% 30%, #ffa040, #ff8800);
}

.c-history-table .ball-mini.purple {
  background: radial-gradient(circle at 30% 30%, #c070e8, #8e24aa);
}

.c-history-table .ball-mini.dark {
  background: radial-gradient(circle at 30% 30%, #666, #333);
}

.c-history-table .op a {
  color: #c00000;
  text-decoration: none;
  font-size: 13px;
  margin-right: 10px;
}

.c-history-table .op a:hover {
  text-decoration: underline;
}

.c-history-table .period {
  font-family: "Arial", sans-serif;
  color: #222;
  font-weight: 600;
}

.c-history-table .date {
  font-family: "Arial", sans-serif;
  color: #888;
  font-size: 13px;
}

/* 列表：eyou:list 数据展示区 */
.c-arc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid #f0f0f0;
}

.c-arc-list li {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed #eee;
  align-items: center;
  transition: background .2s;
}

.c-arc-list li:hover {
  background: #fffaf5;
}

.c-arc-date {
  text-align: center;
  border: 1px solid #ffd6d6;
  border-radius: 4px;
  overflow: hidden;
  background: #fff8f8;
  font-family: "Arial", "SimHei", sans-serif;
}

.c-arc-date .y {
  background: linear-gradient(135deg, #c00000, #e60012);
  color: #fff;
  padding: 3px 0;
  font-size: 12px;
  letter-spacing: 1px;
}

.c-arc-date .md {
  padding: 6px 0;
  background: #fff6f6;
  color: #c00000;
  font-weight: 700;
  line-height: 1.2;
}

.c-arc-date .md .m {
  font-size: 14px;
}

.c-arc-date .md .d {
  font-size: 20px;
}

.c-arc-t .t {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.c-arc-t .t a {
  color: #222;
  text-decoration: none;
  transition: color .2s;
}

.c-arc-t .t a:hover {
  color: #c00000;
}

.c-arc-t .d {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

.c-arc-t .d .tag {
  display: inline-block;
  background: #fff6f6;
  border: 1px solid #ffd6d6;
  color: #c00000;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 3px;
  margin-right: 8px;
  font-weight: 600;
}

.c-arc-ops {
  text-align: right;
}

.c-arc-ops .btn {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e60012, #c00000);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: filter .2s;
}

.c-arc-ops .btn:hover {
  filter: brightness(1.08);
}

/* 分页 */
.c-page {
  text-align: center;
  padding: 22px 0 4px;
}

.c-page .page-info {
  font-size: 12px;
  color: #999;
  margin-right: 14px;
  display: inline-block;
  vertical-align: middle;
}

.c-page .pagination {
  display: inline-block;
  padding: 0;
  margin: 0;
  list-style: none;
  vertical-align: middle;
}

.c-page .pagination li {
  display: inline-block;
  margin: 0 3px;
}

.c-page .pagination li a,
.c-page .pagination li span {
  display: inline-block;
  min-width: 34px;
  line-height: 32px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-family: "Arial", sans-serif;
  transition: all .2s;
}

.c-page .pagination li.active a,
.c-page .pagination li.active span {
  background: linear-gradient(135deg, #e60012, #c00000);
  color: #fff;
  border-color: #c00000;
  font-weight: 700;
}

.c-page .pagination li a:hover {
  border-color: #c00000;
  color: #c00000;
}

.c-page .pagination li.pre a,
.c-page .pagination li.next a {
  font-weight: 700;
}

/* ---------- Footer 区域 ---------- */
.c-footer {
  background: #fff;
  border-top: 3px solid #c00000;
  padding: 30px 0 0;
  margin-top: 10px;
}

.c-foot-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 30px;
  padding-bottom: 26px;
}

.c-foot-copy p {
  font-size: 13px;
  color: #555;
  margin: 0 0 8px;
  line-height: 1.8;
}

.c-foot-copy p b {
  color: #222;
}

.c-foot-copy .c-red {
  color: #c00000;
  font-weight: 700;
}

.c-foot-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.c-foot-logo img {
  height: 40px;
  width: auto;
  display: block;
  border: 1px solid #f0f0f0;
  background: #fff;
  padding: 3px 6px;
  border-radius: 3px;
}

.c-foot-copy a {
  color: #555;
  text-decoration: none;
}

.c-foot-copy a:hover {
  color: #c00000;
}

.c-foot-col h4 {
  font-size: 15px;
  color: #c00000;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.c-foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
}

.c-foot-col ul li {
  padding: 2px 0;
}

.c-foot-col ul li a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color .2s;
}

.c-foot-col ul li a:hover {
  color: #c00000;
}

.c-foot-qr {
  text-align: center;
}

.c-foot-qr img {
  width: 160px;
  height: auto;
  border: 1px solid #f0f0f0;
  padding: 6px;
  background: #fff;
  border-radius: 4px;
}

.c-foot-qr p {
  color: #888;
  margin-top: 8px;
  font-size: 12px;
}

.c-foot-tip {
  background: #fff6e9;
  border: 1px solid #ffe0a3;
  border-radius: 6px;
  padding: 10px 18px;
  text-align: center;
  font-size: 13px;
  color: #a86000;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.c-foot-tip b {
  color: #c00000;
  font-weight: 700;
}

/* ========== 2. PC GUARD >= 1200px 显式锁死 ========== */
@media (min-width: 1200px) {
  body {
    min-width: 1200px !important;
    width: auto !important;
  }

  .c-wrap {
    width: 1200px !important;
    max-width: 1200px !important;
  }

  .c-header-inner {
    grid-template-columns: 300px 1fr 260px !important;
  }

  .c-main-grid {
    grid-template-columns: 260px 1fr !important;
    gap: 22px !important;
  }

  .c-nav-list {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: 52px !important;
  }

  .c-nav-item {
    flex: 1 !important;
    width: auto !important;
    border-bottom: 0 !important;
  }

  .c-foot-main {
    grid-template-columns: 1.2fr 2fr 1fr !important;
  }

  .c-lc-hd {
    grid-template-columns: 180px 1fr auto !important;
  }

  .c-arc-list li {
    grid-template-columns: 110px 1fr 110px !important;
  }

  .w_ad35f16 {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  .c-content-hd .text h1 {
    font-size: 26px !important;
    letter-spacing: 2px !important;
  }
}

/* ========== 3. MOBILE <= 767px cwl H5 流体风格 ========== */
@media (max-width: 767px) {

  html,
  body {
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body {
    font-size: 15px;
    background: #f5f5f5 !important;
  }

  .c-wrap {
    width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* 顶栏堆叠 */
  .c-topbar .c-wrap {
    flex-direction: column !important;
    line-height: 1.7;
    padding: 8px 12px !important;
  }

  .c-topbar .tb-right a {
    margin: 0 6px;
  }

  /* 头部堆叠 */
  .c-header-inner {
    flex-direction: column !important;
    grid-template-columns: 100% !important;
    padding: 14px 12px !important;
    gap: 14px !important;
  }

  .c-logo {
    flex: none;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .c-logo img {
    height: 52px !important;
    width: 52px !important;
  }

  .c-logo .lg-name {
    font-size: 20px;
  }

  .c-logo .lg-slogan {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .c-search {
    max-width: 100%;
  }

  .c-header-right {
    flex: none;
    width: 100%;
    text-align: center !important;
  }

  .c-header-right .h-num {
    font-size: 22px;
  }

  /* 主导航 3 列 */
  .c-nav-list {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    height: auto !important;
    line-height: 44px;
  }

  .c-nav-item {
    flex: 0 0 33.33% !important;
    width: 33.33% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    font-size: 14px;
  }

  .c-nav-item:nth-child(3n) {
    border-right: 0 !important;
  }

  .c-nav-item a {
    line-height: 44px !important;
    font-size: 14px !important;
  }

  /* 面包屑 */
  .c-crumb .c-wrap {
    padding: 10px 12px !important;
    font-size: 13px;
  }

  /* 左右两栏 → 单列堆叠 */
  .c-main {
    padding: 14px 0 24px;
  }

  .c-main-grid {
    grid-template-columns: 100% !important;
    gap: 12px !important;
  }

  .c-sidebar {
    padding: 0 12px;
  }

  .c-content {
    padding: 16px 14px 24px;
    min-height: auto;
    margin: 0 12px;
  }

  /* 内容标题 */
  .c-content-hd {
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .c-content-hd .text h1 {
    font-size: 20px !important;
    letter-spacing: 1px !important;
  }

  .c-content-hd .text .en-hd {
    font-size: 11px;
  }

  /* 子 Tab */
  .c-sub-tab .tab {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* 开奖卡片头部 */
  .c-lc-hd {
    grid-template-columns: 100% !important;
    padding: 14px 16px !important;
    gap: 10px !important;
  }

  .c-lc-pool,
  .c-lc-pool.multi {
    text-align: left !important;
  }

  .c-lc-pool .row {
    display: block;
    line-height: 1.7;
  }

  .c-lc-period {
    font-size: 15px;
  }

  /* 号码球尺寸缩小 */
  .c-lc-balls {
    padding: 16px 12px 12px !important;
    gap: 8px 10px !important;
    justify-content: flex-start;
  }

  .w_ad35f16 {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  .ball-plus {
    font-size: 16px;
  }

  /* 卡片底：两列堆叠 */
  .c-lc-ft {
    grid-template-columns: 100% !important;
    padding: 12px 16px 16px !important;
    gap: 10px !important;
  }

  .c-lc-btns {
    justify-content: flex-start !important;
  }

  .c-lc-btns a {
    padding: 6px 12px !important;
    font-size: 12.5px !important;
  }

  /* 历史表格：横向滑动 */
  .c-history-table-wrap {
    overflow-x: auto;
    margin: 0 -14px;
    padding: 0 14px;
    -webkit-overflow-scrolling: touch;
  }

  .c-history-table {
    min-width: 640px;
    font-size: 13px;
  }

  .c-history-table thead th,
  .c-history-table tbody td {
    padding: 8px 10px !important;
  }

  .c-history-table .ball-mini {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  /* 列表：日期块 inline */
  .c-arc-list li {
    grid-template-columns: 100% !important;
    gap: 8px !important;
    padding: 12px 0;
  }

  .c-arc-date {
    display: inline-flex;
    width: auto;
    border-radius: 20px;
    overflow: hidden;
    align-items: stretch;
  }

  .c-arc-date .y {
    padding: 2px 10px;
    font-size: 11px;
  }

  .c-arc-date .md {
    padding: 2px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .c-arc-date .md .d {
    font-size: 15px;
  }

  .c-arc-t .t {
    font-size: 15px;
  }

  .c-arc-ops {
    text-align: left;
  }

  /* Footer */
  .c-foot-main {
    grid-template-columns: 100% !important;
    gap: 20px !important;
    padding: 0 12px 22px;
    text-align: center;
  }

  .c-foot-logo {
    justify-content: center;
  }

  .c-foot-col ul {
    justify-content: center;
  }

  .c-foot-qr img {
    margin: 0 auto;
  }

  .c-foot-tip {
    margin: 0 12px 20px;
  }

  /* 字号阶梯 */
  h2,
  h3,
  h4 {
    font-size: 17px !important;
  }
}

/* ========== 4. SMALL MOBILE <= 576px ========== */
@media (max-width: 576px) {
  .c-nav-item {
    flex: 0 0 50% !important;
    width: 50% !important;
    font-size: 13px !important;
  }

  .c-nav-item:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .c-nav-item:nth-child(2n) {
    border-right: 0 !important;
  }

  .c-content-hd .text h1 {
    font-size: 18px !important;
  }

  .c-logo .lg-name {
    font-size: 18px;
  }

  .c-header-right .h-num {
    font-size: 20px;
  }

  .w_ad35f16 {
    width: 32px !important;
    height: 32px !important;
    font-size: 13.5px !important;
  }

  .c-lc-name .n-text {
    font-size: 17px;
  }

  .c-lc-period {
    font-size: 14px;
  }

  .c-lc-period b {
    font-size: 15px;
  }

  .c-sub-tab .tab {
    padding: 7px 11px;
    font-size: 12.5px;
  }

  .c-history-hd .t {
    font-size: 16px;
  }

  .c-arc-t .t {
    font-size: 14.5px;
  }
}

/* 1fe42f */
.390f414 {
    line-break: strict;
}
[data-a4c] {
    scroll-behavior: auto;
}
::selection {
    text-rendering: optimizeLegibility;
}
:root {
    tab-size: 4;
}
