*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;background:#05070d;background-image:radial-gradient(#354052 1px,transparent 1px);background-size:8px 8px;color:#222}.page{width:min(1120px,100%);margin:0 auto;background:#fff;min-height:100vh}.top-banner{height:80px;background:linear-gradient(90deg,#18a657,#35b35d);display:flex;align-items:center;justify-content:center;gap:24px;color:#ffe3a4}.brand-badge{width:76px;height:76px;border-radius:50%;border:5px solid #fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}.brand-title{font-size:42px;font-weight:800;text-shadow:0 2px 1px #5d3000}.brand-title b{font-size:48px;margin-left:18px}.menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 30px;padding:8px 64px 24px;background:#fff}.menu-item{text-align:center;text-decoration:none;color:#ff3b30;font-size:22px}.menu-icon,.menu-icon-img{width:60px;height:60px;border-radius:10px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;object-fit:cover}.menu-icon{background:linear-gradient(#6ee7ff,#27b8e8);font-size:32px;box-shadow:inset 0 -5px 10px rgba(0,0,0,.12)}.menu-item:nth-child(2n) .menu-icon{background:linear-gradient(#ff9abb,#e73769)}.menu-item:nth-child(3n) .menu-icon{background:linear-gradient(#ffc78e,#f17942)}.menu-item:nth-child(4n) .menu-icon{background:linear-gradient(#fff36f,#f1c40f)}.black-strip{background:#000;color:#d8ff00;text-align:center;padding:3px 10px 5px}.happy{font-size:30px;font-weight:800}.notice{font-size:19px;color:#00ff28;font-weight:800}.ad{font-weight:700;text-align:center}.ad-blue{background:linear-gradient(90deg,#7532ef,#00a7db);color:#fff;font-size:30px;padding:22px}.ad-purple{height:90px;background:linear-gradient(90deg,#2b8ce5,#b329c4);color:#fff;font-size:30px;padding-top:25px}.banner-image{width:100%;display:block;max-height:220px;object-fit:cover}.domain-box{text-align:center;font-size:26px;line-height:2;padding:12px}.domain{color:#e11}.draw-card{border:5px solid #2ebd4c;border-radius:8px;margin:0 5px 8px;background:#fff}.tabs{display:grid;grid-template-columns:repeat(6,1fr);border-bottom:1px solid #f28a2a}.tabs span{text-align:center;padding:10px;border-right:1px solid #aaa;color:#999;font-size:19px}.tabs .active{color:#ff6800;font-weight:700;border:2px solid #ff6800;border-bottom:0}.draw-title{font-size:28px;padding:10px}.draw-title b{color:#ff1717}.balls{display:flex;align-items:flex-start;gap:10px;padding:2px 12px 12px}.ball-wrap{flex:1;text-align:center}.ball{height:60px;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:800;background:#0dc91c}.blue-ball{background:#12b4ec}.red-ball{background:#f10b0b}.zod{margin-top:8px;border-radius:7px;background:#0dc91c;color:#fff;font-size:20px;padding:3px}.plus{align-self:center;background:#ff6a00;color:#fff;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800}.judge-tip{margin:0 10px 6px;color:#2867c7;font-size:16px}.next-draw{font-size:22px;color:#777;padding:4px 10px 10px}.live-btn{margin:0 8px 12px;text-align:center;background:linear-gradient(#2d9df0,#9838cb);padding:16px;border-radius:8px;color:#ff3a22;font-size:26px}.section-yellow{background:#fff600;color:#ff3030;text-align:center;font-size:23px;padding:13px}.section-red{background:#ff0d0d;color:#fff;text-align:center;font-size:24px;font-weight:700;padding:14px}.material-index{background:#4658b6}.index-row{display:block;text-decoration:none;border-bottom:1px solid #1d2456;padding:7px 16px;font-size:22px}.red{color:#ff1717}.green{color:#00ff32}.cyan{color:#00e9ff}.yellow{color:#ffef00}.blue{color:#0028ff}.gray{color:#999}.status-good{color:#00a725;font-weight:800}.status-bad{color:#fff;background:#e11919;padding:1px 5px;border-radius:3px;font-weight:800}.category-title{background:#2f9d5c;color:#fff;text-align:center;font-size:32px;padding:28px 10px;border:3px solid #ddd}.history-row{padding:14px 8%;border-bottom:1px dashed #ccc;text-align:center;font-size:23px}.history-head{margin-bottom:10px}.history-sub{margin-bottom:10px}.number-line{color:#ff1717;font-weight:700;line-height:1.9}.hit{background:#fff600;color:#00a725;padding:0 2px}.num{color:#ff1717}.article-block{font-size:22px}.article-real-img{width:100%;height:auto;display:block}.placeholder-img,.placeholder-big{height:520px;background:linear-gradient(#e8f8ff,#fff0d5);display:flex;align-items:center;justify-content:center;font-size:48px;color:#777}.article-text{padding:18px 0;line-height:1.9}.truth{display:inline-block;background:#fff500;color:#006b19;padding:0 4px}.image-page img{display:block;width:100%;height:auto}.poem-list{background:#eee;padding:8px}.poem-row{display:grid;grid-template-columns:auto 80px 1fr auto auto;gap:8px;align-items:center;border:1px solid #666;border-radius:7px;padding:14px 10px;margin-bottom:5px;background:linear-gradient(#fff,#e6e6e6);font-size:22px}.tag{background:#ff1000;color:#ffe900;border-radius:11px;padding:6px 10px}.new{color:#ff16cb;font-weight:800}.flash{background:#fff1b8;color:#7d5600;padding:10px;text-align:center}
@media(max-width:700px){.top-banner{height:64px}.brand-badge{width:52px;height:52px;font-size:10px}.brand-title{font-size:24px}.brand-title b{font-size:28px;margin-left:6px}.menu-grid{padding:10px 12px 20px;gap:14px 8px}.menu-item{font-size:16px}.menu-icon,.menu-icon-img{width:48px;height:48px;font-size:26px}.happy{font-size:22px}.notice{font-size:14px}.ad-blue{font-size:18px;padding:14px}.domain-box{font-size:18px}.tabs span{font-size:14px;padding:8px 2px}.draw-title{font-size:20px}.balls{gap:4px;padding:2px 4px 8px}.ball{height:44px;font-size:24px;border-radius:8px}.zod{font-size:13px}.plus{width:24px;height:24px;font-size:18px}.next-draw{font-size:16px}.live-btn{font-size:18px;padding:12px}.category-title{font-size:24px;padding:20px 8px}.history-row{font-size:18px;padding:12px 4%}.poem-row{grid-template-columns:auto 60px 1fr auto;font-size:16px}.poem-row .gray{display:none}}


/* V3 首页同类资料分区 */
.materials-start{background:#000;color:#d9ff00;text-align:center;font-size:28px;font-weight:800;padding:10px 8px;border-top:3px solid #fff}
.material-group{background:#fff;border-top:4px solid #111}
.group-title{display:block;background:#2f9d5c;color:#fff!important;text-align:center;font-size:31px;font-weight:700;padding:22px 10px;text-decoration:none;border:2px solid #eee}
.group-more{text-align:right;padding:9px 14px;background:#fafafa;border-top:1px solid #eee}
.group-more a{color:#4475c4;text-decoration:none}
.blue-material-area{background:#4658b6}
.blue-row{padding:8px 14px;border-bottom:1px solid #243474;font-size:21px;font-weight:700;line-height:1.35}
.blue-row .green{color:#00ff2a}
.blue-row .yellow{color:#fff400;margin-left:8px}
.blue-hit{background:#ff1717;color:#fff500;padding:1px 4px;margin-left:8px}
.blue-miss{color:#fff;background:#222;padding:1px 4px;margin-left:8px}
.green-text{color:#169c2c}
.article-green{color:#098b29}
.simple-row{padding:12px 18px;border-bottom:1px dashed #ccc;font-size:20px}
.group-history .group-title,.group-numbers .group-title,.group-article .group-title,.group-image .group-title,.group-list .group-title{background:#2f9d5c}
.material-group .history-row{padding-top:16px;padding-bottom:16px}
.material-group .article-block{border-bottom:10px solid #f5f5f5}
.material-group .poem-list{padding:8px 12px}

@media(max-width:700px){
  .materials-start{font-size:21px}
  .group-title{font-size:24px;padding:17px 8px}
  .blue-row{font-size:17px;padding:7px 9px}
  .group-more{font-size:13px}
}

.reference-page-title{background:#2f9d5c;color:#fff;text-align:center;font-size:30px;font-weight:700;padding:22px 10px}
.reference-nav{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:#f4f4f4;border-bottom:1px solid #ddd}
.reference-nav a{background:#fff;border:1px solid #ddd;border-radius:5px;padding:7px 12px;color:#1e6bb8;text-decoration:none}
.front-reference-table{border-bottom:10px solid #ededed;background:#fff}.front-ref-title{display:block;text-align:center;background:#fff500;color:#e01818;font-size:24px;font-weight:700;padding:10px;text-decoration:none;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
.front-ref-desc{padding:8px 14px;color:#777;text-align:center;background:#fafafa}.front-ref-rows{padding:4px 10px 12px}
.front-ref-rows.single-table{padding-top:10px}.front-ref-row{display:grid;grid-template-columns:120px 1fr;border-bottom:1px dashed #ccc;padding:9px 8px;font-size:19px;line-height:1.55}
.front-ref-row b{color:#e31919}.front-ref-row span{color:#075bb8;word-break:break-all}
@media(max-width:700px){.reference-page-title{font-size:23px}.front-ref-title{font-size:20px}.front-ref-row{grid-template-columns:90px 1fr;font-size:16px}.reference-nav{gap:5px}.reference-nav a{font-size:13px;padding:6px 8px}}

.ref-note{display:block;color:#888;font-size:13px;margin-top:3px}


/* =========================================================
   V7：永远在前台内容最底部的“全年属性知识大全”
   ========================================================= */
.knowledge-footer{
  background:var(--kf-outer-bg);
  border:4px solid var(--kf-border);
  border-radius:8px 8px 0 0;
  margin-top:18px;
  padding:3px;
  overflow:hidden;
  color:var(--kf-value-color);
}
.kf-title{
  background:linear-gradient(to bottom,var(--kf-title-bg),#fff);
  color:var(--kf-title-color);
  text-align:center;
  font-size:32px;
  line-height:1.2;
  font-weight:900;
  padding:10px 8px 8px;
  border-bottom:1px solid #a9a9a9;
}
.kf-subtitle{
  background:var(--kf-subtitle-bg);
  color:var(--kf-subtitle-color);
  text-align:center;
  font-size:17px;
  padding:7px 8px;
  border-bottom:1px solid #d0c69a;
}
.kf-zodiac-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  padding:8px 18px 10px;
  background:var(--kf-row-bg);
}
.kf-zodiac-card{
  min-height:84px;
  padding:10px 14px 8px;
}
.kf-zodiac-name{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:18px;
  white-space:nowrap;
}
.kf-zodiac-name small{
  font-size:15px;
  color:var(--kf-value-color);
}
.kf-animal{
  font-size:34px;
  line-height:1;
}
.kf-number-line{
  display:flex;
  gap:3px;
  flex-wrap:wrap;
  margin-top:6px;
}
.kf-num{
  display:inline-flex;
  min-width:25px;
  height:25px;
  padding:0 3px;
  align-items:center;
  justify-content:center;
  font-weight:800;
  line-height:25px;
  color:var(--kf-default-text);
  background:var(--kf-default-bg);
  margin:1px;
}
.kf-num-red{background:var(--kf-red-bg);color:var(--kf-red-text)}
.kf-num-blue{background:var(--kf-blue-bg);color:var(--kf-blue-text)}
.kf-num-green{background:var(--kf-green-bg);color:var(--kf-green-text)}
.kf-num-default{background:var(--kf-default-bg);color:var(--kf-default-text)}
.kf-section-title{
  background:var(--kf-section-bg);
  color:var(--kf-section-color);
  text-align:center;
  font-size:17px;
  padding:7px 8px;
  border-top:1px solid #d8cda3;
  border-bottom:1px solid #d8cda3;
}
.kf-section-rows{background:var(--kf-row-bg)}
.kf-row{
  display:grid;
  grid-template-columns:84px 1fr;
  align-items:center;
  min-height:43px;
  border-bottom:1px solid #dbcda5;
  background:var(--kf-row-bg);
}
.kf-label{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid #dbcda5;
  color:var(--kf-label-color);
  font-size:17px;
  padding:6px 4px;
}
.kf-values{
  padding:6px 10px;
  font-size:17px;
  line-height:1.6;
  color:var(--kf-value-color);
}
.kf-properties .kf-row{
  grid-template-columns:1fr;
  text-align:center;
  min-height:44px;
}
.kf-properties .kf-label{
  border-right:0;
  display:inline;
  height:auto;
  padding:8px 4px 0;
  font-size:17px;
}
.kf-properties .kf-values{
  display:inline;
  padding:0 5px 8px;
  font-size:17px;
}
.kf-properties .kf-row{
  display:block;
}
.kf-note{
  display:block;
  color:#888;
  font-size:12px;
  margin-top:3px;
}

@media(max-width:700px){
  .knowledge-footer{border-width:3px;margin-top:12px}
  .kf-title{font-size:25px}
  .kf-subtitle,.kf-section-title{font-size:15px}
  .kf-zodiac-grid{grid-template-columns:repeat(2,1fr);padding:5px}
  .kf-zodiac-card{padding:8px 7px;min-height:77px}
  .kf-zodiac-name{font-size:15px}
  .kf-zodiac-name small{font-size:12px}
  .kf-animal{font-size:27px}
  .kf-num{min-width:22px;height:22px;line-height:22px;font-size:13px}
  .kf-row{grid-template-columns:72px 1fr}
  .kf-label,.kf-values,.kf-properties .kf-label,.kf-properties .kf-values{font-size:14px}
}
@media(max-width:430px){
  .kf-zodiac-grid{grid-template-columns:1fr 1fr}
  .kf-zodiac-name{white-space:normal}
}


/* =========================================================
   V8 新版开奖区域：按参考图重做
   ========================================================= */
.lottery-tabs-bar{
  display:flex;
  gap:4px;
  align-items:flex-end;
  padding:16px 20px 0;
  border-top:4px solid #0fa12c;
  border-bottom:3px solid #e21a2d;
  background:#fff;
}
.lottery-tabs-bar a{
  display:block;
  padding:14px 25px;
  border:1px solid #cbd1da;
  border-bottom:0;
  background:#f7f8fa;
  color:#8b95a3;
  font-size:21px;
  font-weight:500;
  text-decoration:none;
}
.lottery-tabs-bar a.active{
  background:#fff;
  color:#e62229;
  border-color:#ef3641;
  font-weight:800;
}

.draw-disclaimer{
  background:#111;
  color:#fff;
  padding:11px 18px;
  text-align:center;
  font-size:16px;
  letter-spacing:.2px;
}

.modern-draw{
  background:#fff;
  padding:18px 22px 20px;
  border-bottom:2px solid #e1dc33;
}
.modern-draw-head{
  display:grid;
  grid-template-columns:240px 1fr 250px;
  align-items:center;
  gap:16px;
  margin-bottom:22px;
}
.countdown-box{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:64px;
  padding:8px 14px;
  background:#fffbed;
  border:1px solid #e7bb3d;
  border-radius:12px;
  color:#7a4f00;
  font-weight:800;
}
.countdown-box span{font-size:18px}
.countdown-box b{
  font-family:Consolas,monospace;
  font-size:21px;
  letter-spacing:1px;
}
.modern-draw-title{
  text-align:center;
  font-size:34px;
  line-height:1.2;
  color:#0d1626;
  font-weight:900;
  white-space:nowrap;
}
.modern-draw-title span{color:#ef202d}
.draw-tools{
  display:flex;
  justify-content:flex-end;
  gap:9px;
}
.tool-btn{
  width:72px;
  height:64px;
  background:#fff;
  border-radius:11px;
  font-size:18px;
  line-height:1.05;
  font-weight:800;
  cursor:pointer;
}
.blue-tool{border:1.5px solid #2c5cff;color:#1c40e7}
.gold-tool{border:1.5px solid #d89a09;color:#9a5a00}
.red-tool{border:1.5px solid #ff2b3c;color:#ee1d2c}

.modern-balls{
  display:grid;
  grid-template-columns:1fr 48px 154px;
  align-items:center;
  gap:12px;
}
.normal-balls{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}
.modern-ball-card{
  min-height:188px;
  border:1px solid #e0e4eb;
  border-radius:15px;
  background:#fff;
  box-shadow:0 6px 14px rgba(27,38,60,.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.ring-ball{
  width:86px;
  height:86px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ring-ball:before{
  content:"";
  width:62px;
  height:62px;
  background:#fff;
  border-radius:50%;
  position:absolute;
}
.ring-ball{position:relative}
.ring-red{background:#ef2525}
.ring-blue{background:#2b82de}
.ring-green{background:#18b93e}
.ring-number{
  position:relative;
  z-index:2;
  color:#0b0b0b;
  font-size:30px;
  font-weight:900;
}
.ball-meta{
  margin-top:12px;
  font-size:20px;
  color:#1d1d1d;
  font-weight:700;
}
.special-separator{
  font-size:48px;
  font-weight:900;
  color:#b77b00;
  text-align:center;
}
.special-card{
  min-height:188px;
  border:3px solid #daa718;
  border-radius:16px;
  background:#fff8d8;
  box-shadow:0 6px 14px rgba(127,92,0,.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  padding-top:12px;
}
.special-label{
  position:absolute;
  top:-3px;
  left:50%;
  transform:translateX(-50%);
  background:#c89110;
  color:#fff;
  border-radius:0 0 8px 8px;
  padding:5px 11px;
  font-weight:800;
  white-space:nowrap;
}
.draw-time-lines{
  margin-top:14px;
  line-height:1.5;
  font-size:18px;
  color:#657082;
  font-weight:600;
}
.draw-time-lines .next-time{color:#7f5d00}
.copy-draw-btn{
  margin-top:12px;
  border:0;
  background:#176cc9;
  color:#fff;
  border-radius:8px;
  box-shadow:0 4px 8px rgba(23,108,201,.24);
  padding:12px 18px;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
}
.modern-no-draw{
  min-height:170px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px dashed #d5dce6;
  border-radius:12px;
  color:#6d7787;
  font-size:20px;
}
.modern-no-draw b{
  color:#101827;
  font-size:28px;
}

@media(max-width:900px){
  .modern-draw-head{
    grid-template-columns:1fr;
    gap:10px;
  }
  .countdown-box{max-width:280px;margin:0 auto}
  .modern-draw-title{font-size:27px;white-space:normal}
  .draw-tools{justify-content:center}
  .modern-balls{grid-template-columns:1fr 34px 132px}
  .normal-balls{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:700px){
  .lottery-tabs-bar{padding:10px 6px 0;gap:2px}
  .lottery-tabs-bar a{flex:1;text-align:center;padding:10px 3px;font-size:15px}
  .draw-disclaimer{font-size:13px;padding:8px}
  .modern-draw{padding:12px 8px 15px}
  .modern-draw-title{font-size:22px}
  .countdown-box{min-height:50px}
  .countdown-box span{font-size:15px}
  .countdown-box b{font-size:17px}
  .tool-btn{width:60px;height:54px;font-size:15px}
  .modern-balls{
    grid-template-columns:1fr;
    gap:8px;
  }
  .normal-balls{
    grid-template-columns:repeat(3,1fr);
    gap:7px;
  }
  .modern-ball-card{
    min-height:128px;
    border-radius:11px;
  }
  .ring-ball{width:62px;height:62px}
  .ring-ball:before{width:44px;height:44px}
  .ring-number{font-size:21px}
  .ball-meta{font-size:14px;margin-top:7px}
  .special-separator{font-size:30px;line-height:1}
  .special-card{
    min-height:135px;
    width:130px;
    margin:0 auto;
  }
  .draw-time-lines{font-size:14px}
  .copy-draw-btn{font-size:15px}
}


/* V9 开奖工具 / 历史 / 挑码 / 走势图 */
.draw-tools .tool-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  padding:6px;
}

.feature-icon-nav{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  border-top:16px solid #36c43a;
  border-bottom:1px solid #ef8f34;
  background:#fff;
}
.feature-icon-nav a{
  text-decoration:none;
  color:#333;
  text-align:center;
  padding:12px 3px 9px;
  font-size:16px;
}
.feature-icon-nav a span{
  display:flex;
  width:48px;height:48px;
  border-radius:50%;
  align-items:center;justify-content:center;
  margin:0 auto 5px;
  background:#4d8ee8;
  color:#fff;
  font-size:23px;
}
.feature-icon-nav a:nth-child(2) span{background:#4ecb39}
.feature-icon-nav a:nth-child(3) span{background:#ff9d47}
.feature-icon-nav a:nth-child(4) span{background:#12a5d8}
.feature-icon-nav a:nth-child(5) span{background:#df58c7}
.feature-icon-nav a:nth-child(6) span{background:#e85c76}
.feature-icon-nav a:nth-child(7) span{background:#8f69d9}
.feature-icon-nav a.active{color:#e65b19;text-decoration:underline;font-weight:700}

.feature-source-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid #ef8f34;
  background:#fff;
}
.feature-source-tabs a{
  padding:10px;
  text-align:center;
  text-decoration:none;
  color:#777;
  border-right:1px solid #ddd;
}
.feature-source-tabs a.active{color:#e62229;font-weight:800}

.feature-page{
  background:#f2f4f7;
  padding:14px 18px 26px;
}
.feature-page h1{
  margin:0 0 14px;
  font-size:27px;
  color:#152035;
}
.feature-help{
  background:#fff7d9;
  border:1px solid #f0d786;
  padding:10px 12px;
  margin-bottom:12px;
  color:#765b00;
}

.front-filter,.trend-controls,.picker-mode-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:end;
  background:#fff;
  padding:12px;
  border:1px solid #e0e5ec;
  margin-bottom:12px;
}
.front-filter input,.trend-controls select,.picker-mode-row select{
  padding:9px 10px;border:1px solid #ccd4df;border-radius:4px;background:#fff
}
.front-filter button,.trend-controls button,.picker-submit{
  padding:9px 16px;border:0;background:#1684e8;color:#fff;border-radius:4px;font-weight:700;cursor:pointer
}
.front-filter a,.picker-reset{
  padding:9px 14px;border:1px solid #ccd4df;background:#fff;color:#555;text-decoration:none;border-radius:4px
}
.trend-controls label,.picker-mode-row label{display:grid;gap:4px;font-size:14px}

.history-list-front{display:grid;gap:10px}
.history-draw-row{
  background:#fff;border:1px solid #dfe4ea;border-radius:9px;padding:12px;
  display:grid;grid-template-columns:185px 1fr;gap:12px;align-items:center
}
.history-issue b{display:block;font-size:18px;color:#17253a}
.history-issue span{display:block;color:#7e8794;margin-top:6px;font-size:13px}
.history-mini-balls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.history-mini-wrap{text-align:center;min-width:54px}
.history-mini-wrap small{display:block;color:#a07800;font-size:11px}
.history-mini-ball{
  width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin:0 auto;color:#fff;font-weight:800;font-size:17px
}
.history-mini-wrap em{font-style:normal;display:block;font-size:11px;margin-top:3px;color:#555}
.history-plus{font-size:28px;color:#a87500}
.front-pagination{display:flex;justify-content:center;gap:15px;padding:18px}
.front-pagination a{background:#fff;border:1px solid #ccd4df;padding:7px 13px;text-decoration:none;color:#1766aa}

.picker-groups{display:grid;gap:9px}
.picker-group-table{background:#fff;border:1px solid #dfe4ea;border-radius:7px}
.picker-group-table summary{padding:11px 14px;font-weight:800;cursor:pointer;background:#f8fafc}
.picker-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px}
.picker-check-grid label{
  display:block;border:1px solid #e3e7ed;padding:8px;border-radius:5px;cursor:pointer
}
.picker-check-grid label b{margin-left:5px;color:#1769c2}
.picker-check-grid label span{display:block;font-size:11px;color:#888;margin:5px 0 0 22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.picker-result-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 8px}
.picker-result-head h2{margin:0}
.picker-result-head button{border:0;background:#1675d1;color:#fff;padding:9px 14px;border-radius:5px}
.selected-condition{background:#fff;padding:9px;margin-bottom:8px;border:1px solid #e2e6ec}
.selected-condition span{display:inline-block;background:#eaf3ff;color:#1763a8;padding:4px 7px;margin:2px;border-radius:4px}
.picker-result-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.picker-number{
  min-height:92px;border:2px solid transparent;border-radius:9px;background:#fff;cursor:pointer;
  box-shadow:0 2px 5px rgba(0,0,0,.07)
}
.picker-number b{
  width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin:5px auto;color:#fff;font-size:19px
}
.picker-number.ring-red b{background:#ef2525}
.picker-number.ring-blue b{background:#2b82de}
.picker-number.ring-green b{background:#18b93e}
.picker-number span{font-size:12px;color:#555}
.picker-number.picked{border-color:#f0a900;background:#fff9df;transform:translateY(-1px)}

.feature-section-heading{
  background:#fff;border:1px solid #dfe4ea;border-top:4px solid #a97700;
  margin:12px 0 0;padding:14px 16px;font-size:20px
}
.trend-caption{background:#fff;color:#758092;padding:0 16px 10px;border-left:1px solid #dfe4ea;border-right:1px solid #dfe4ea}
.trend-chart-box{background:#fff;border:1px solid #dfe4ea;overflow:hidden}
.trend-axis-row{display:grid;grid-template-columns:130px 1fr;height:46px;border-bottom:1px solid #ddd;align-items:center}
.trend-axis-issue{text-align:center}
.trend-axis-plot{position:relative;height:100%}
.trend-axis-plot span{position:absolute;top:12px;transform:translateX(-50%);font-weight:700}
.trend-body{display:grid;grid-template-columns:130px 1fr}
.trend-issues>div{
  height:58px;display:flex;align-items:center;justify-content:center;font-weight:700;border-bottom:1px solid #e0e5ea
}
.trend-plot{position:relative;overflow:hidden}
.trend-row-bg{position:absolute;left:0;right:0;height:58px;border-bottom:1px solid #d9e2e8;background:#fff}
.trend-row-bg.alt{background:#ddf4ff}
.trend-lines{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2;pointer-events:none}
.trend-point{
  position:absolute;z-index:3;width:36px;height:36px;border-radius:50%;transform:translateX(-50%);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:800;
  box-shadow:0 2px 5px rgba(0,0,0,.18)
}
.trend-point.ring-red{background:#f5222d}
.trend-point.ring-blue{background:#2495e8}
.trend-point.ring-green{background:#00b933}

.stats-grid-49,.omission-grid{
  display:grid;grid-template-columns:repeat(7,1fr);gap:8px;background:#fff;padding:10px;border:1px solid #dfe4ea
}
.stat-number-card,.omission-card{
  border:1px solid #dfe4ea;border-top:4px solid #66768b;border-radius:7px;padding:6px;text-align:center;background:#fff
}
.stat-number-card b,.omission-card b{display:block;font-size:18px}
.stat-number-card span,.omission-card span{font-size:13px;color:#687489}
.omission-card span strong{color:#a96d00;font-size:17px}
.wave-top-red{border-top-color:#ef2731!important}
.wave-top-blue{border-top-color:#2a83dc!important}
.wave-top-green{border-top-color:#18b23b!important}
.omission-heading{margin-top:16px}
.omission-grid.zodiac12{grid-template-columns:repeat(6,1fr)}
.omission-grid.element5{grid-template-columns:repeat(5,1fr)}
.category-stat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;background:#fff;padding:10px;border:1px solid #dfe4ea}
.category-stat-grid.five{grid-template-columns:repeat(5,1fr)}
.category-stat-grid.three{grid-template-columns:repeat(3,1fr)}
.category-stat-grid>div{border:1px solid #dfe4ea;border-top:4px solid #66768b;border-radius:6px;padding:10px;text-align:center}
.category-stat-grid b{display:block;font-size:18px}
.category-stat-grid span{color:#9a6900}
.front-history-table{background:#fff;border:1px solid #dfe4ea;overflow:auto}
.front-history-table table{width:100%;border-collapse:collapse}
.front-history-table th,.front-history-table td{padding:10px;border-bottom:1px solid #e1e5ea;text-align:center}
.empty-feature{background:#fff;border:1px dashed #cbd3dd;padding:34px;text-align:center;color:#778294}

@media(max-width:800px){
  .feature-icon-nav{grid-template-columns:repeat(4,1fr)}
  .history-draw-row{grid-template-columns:1fr}
  .picker-check-grid{grid-template-columns:repeat(2,1fr)}
  .picker-result-grid{grid-template-columns:repeat(4,1fr)}
  .stats-grid-49,.omission-grid{grid-template-columns:repeat(4,1fr)}
  .omission-grid.zodiac12{grid-template-columns:repeat(4,1fr)}
  .omission-grid.element5,.category-stat-grid.five{grid-template-columns:repeat(3,1fr)}
  .category-stat-grid{grid-template-columns:repeat(4,1fr)}
  .trend-axis-row,.trend-body{grid-template-columns:100px 1fr}
}
@media(max-width:480px){
  .feature-icon-nav{grid-template-columns:repeat(3,1fr)}
  .feature-icon-nav a{font-size:13px}
  .feature-icon-nav a span{width:40px;height:40px}
  .picker-check-grid{grid-template-columns:1fr}
  .picker-result-grid{grid-template-columns:repeat(3,1fr)}
  .stats-grid-49,.omission-grid,.omission-grid.zodiac12{grid-template-columns:repeat(3,1fr)}
  .category-stat-grid{grid-template-columns:repeat(3,1fr)}
  .trend-axis-row,.trend-body{grid-template-columns:84px 1fr}
  .trend-issues>div{font-size:12px}
}


/* V9.1：工具页面统一“返回首页”按钮 */
.feature-page-titlebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.feature-page-titlebar h1{
  margin:0;
}
.back-home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:10px 18px;
  background:#1684e8;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-size:16px;
  font-weight:800;
  box-shadow:0 2px 5px rgba(22,132,232,.18);
}
.back-home-btn:hover{
  background:#0d6fc7;
  color:#fff;
}
@media(max-width:600px){
  .feature-page-titlebar{
    align-items:flex-start;
  }
  .feature-page-titlebar h1{
    font-size:22px;
  }
  .back-home-btn{
    padding:8px 11px;
    font-size:13px;
    white-space:nowrap;
  }
}


/* V10.2：首页域名区域。电脑每行两项，手机自动改为单列。 */
.domain-box{
  width:100%;
  padding:12px 18px 16px;
  background:#fff;
}
.domain-grid{
  width:min(900px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:44px;
  row-gap:4px;
  align-items:center;
}
.domain-line{
  min-width:0;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:10px;
  text-align:center;
  line-height:1.8;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.domain-line:last-child:nth-child(odd){
  grid-column:1 / -1;
}
.domain-label{
  flex:0 0 auto;
  white-space:nowrap;
}
.domain-value{
  min-width:0;
}
a.domain-value{
  text-decoration:none;
}
a.domain-value:hover{
  text-decoration:underline;
}

@media(max-width:700px){
  .domain-box{
    padding:9px 10px 12px;
  }
  .domain-grid{
    grid-template-columns:1fr;
    gap:1px;
  }
  .domain-line,
  .domain-line:last-child:nth-child(odd){
    grid-column:auto;
    font-size:18px!important;
    line-height:1.7;
  }
}

/* V9.6 通用组合资料展示 */
.combo-material-list{background:#fff;border:2px solid #2fdc43;border-radius:8px;overflow:hidden}
.combo-material-item{border-bottom:1px solid #d6d6d6;background:#fff}
.combo-material-item:last-child{border-bottom:0}
.combo-material-head{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px 12px;background:linear-gradient(#69f36e,#e8ffe9);font-size:22px;font-weight:800}
.combo-issue{color:#071a86}
.combo-title{color:#111}
.combo-wait{color:#0b24d8}
.combo-material-body{padding:7px 12px 10px;background:#fafafa}
.combo-material-line{text-align:center;padding:5px 4px;font-size:21px;font-weight:700;line-height:1.55;white-space:pre-wrap;word-break:break-word;border-top:1px solid #ededed}
.combo-material-line:first-child{border-top:0}
.combo-subtitle{text-align:center;padding:6px;color:#555;background:#fff}
.combo-hit{background:#fff600;color:red;padding:0 2px}
.combo-material-item.is-good .combo-material-head{box-shadow:inset 5px 0 #0da83e}
.combo-material-item.is-bad .combo-material-head{box-shadow:inset 5px 0 #e22727}
@media(max-width:700px){
  .combo-material-head{font-size:17px;gap:7px;padding:8px 6px}
  .combo-material-line{font-size:16px;padding:5px 2px}
}


/* V9.8 分层独立判定 */
.combo-layer-line{display:grid;grid-template-columns:minmax(240px,1fr) minmax(230px,1fr) 120px;align-items:center;gap:12px;text-align:left;padding:9px 14px}
.combo-layer-main,.combo-layer-related{min-width:0}
.combo-layer-label,.combo-layer-related b{color:#071a86}
.combo-layer-values,.combo-layer-related span{color:#111}
.combo-layer-result{text-align:right;font-weight:900;white-space:nowrap}
.combo-layer-line.layer-good{box-shadow:inset 4px 0 #0da83e}
.combo-layer-line.layer-bad{box-shadow:inset 4px 0 #e22727}
.combo-layer-line .combo-hit{font-weight:900}
@media(max-width:700px){
  .combo-layer-line{grid-template-columns:1fr;gap:3px;text-align:center;padding:7px 5px}
  .combo-layer-result{text-align:center}
}

.status-layer{color:#0b24d8;font-weight:900}


/* V9.10 滚动周期资料 */
.rolling-material-list{background:#fff;border:2px solid #263a9b;border-radius:7px;overflow:hidden}
.rolling-material-item{border-bottom:2px solid #263a9b;background:#fff}
.rolling-material-item:last-child{border-bottom:0}
.rolling-material-line{padding:10px 12px;font-size:24px;font-weight:800;line-height:1.45;word-break:break-word}
.rolling-summary{background:#fff;color:#111;border-bottom:1px solid #ccc}
.rolling-current{background:#fff;color:#111}
.rolling-material-item.is-good .rolling-current{color:#087a28}
.rolling-material-item.is-bad .rolling-current{color:#c82222}
.rolling-stopped{text-align:right;padding:4px 10px 8px;font-size:13px;color:#999}
@media(max-width:600px){.rolling-material-line{font-size:17px;padding:8px 7px}}

/* =========================================================
   V9.11 顶部整图模式 + 自由广告位
   ========================================================= */
.top-banner.top-banner-image-mode{
  height:var(--brand-desktop-height,80px);
  padding:0;
  gap:0;
  overflow:hidden;
  background:#fff;
}
.brand-image-link{display:block;width:100%;height:100%;}
.brand-header-image{display:block;width:100%;height:100%;object-position:center;}
.front-ad-wrap{width:100%;margin:0;padding:0;background:#fff;overflow:hidden;}
.front-ad-wrap:empty{display:none;}
.front-ad-wrap a{display:block;text-decoration:none;}
.front-ad-wrap .banner-image{width:100%;height:auto;max-height:none;display:block;object-fit:cover;}
.banner-text-link{color:inherit;text-decoration:none;}
.ad-flexible{padding:16px 12px;background:linear-gradient(90deg,#2b8ce5,#9c35c5);color:#fff;font-size:26px;line-height:1.3;}
.slot-before-category,.slot-after-category{border-left:2px solid transparent;border-right:2px solid transparent;}
@media(max-width:700px){
  .top-banner.top-banner-image-mode{height:var(--brand-mobile-height,64px);}
  .ad-flexible{font-size:19px;padding:12px 8px;}
}

/* =========================================================
   V9.12：所有前台上传图片统一电脑 / 手机自适应
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
.page{width:100%;max-width:1120px}
.page img,.responsive-upload-image{max-width:100%;box-sizing:border-box}

/* 顶部整张品牌图：默认保持完整比例，随页面宽度等比缩放。 */
.top-banner.top-banner-image-mode.top-banner-responsive{
  height:auto!important;
  min-height:0;
  display:block;
  line-height:0;
  background:#fff;
  overflow:hidden;
}
.top-banner-responsive .brand-image-link{display:block;width:100%;height:auto!important;line-height:0}
.top-banner-responsive .brand-header-image{
  display:block;
  width:100%;
  max-width:100%;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center;
}

/* 首页上传图标：保持正方形但尺寸使用 clamp 自动缩放，不再硬裁切图片。 */
.menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.menu-icon,.menu-icon-img{
  width:clamp(44px,5.4vw,60px);
  height:clamp(44px,5.4vw,60px);
}
.menu-icon-img{object-fit:contain;background:transparent}

/* 所有自由广告图片：按容器宽度等比例缩放，永不固定高度、永不强制裁切。 */
.front-ad-wrap,.front-ad-wrap>a{display:block;width:100%;max-width:100%}
.front-ad-wrap .banner-image,.banner-image{
  display:block;
  width:100%;
  max-width:100%;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center;
}

/* 资料中的图片 / 大图：电脑最大跟随正文宽度，手机自动缩到屏幕内。 */
.article-real-img,.image-page img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto!important;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
.article-block,.image-page{max-width:100%;overflow:hidden}

/* 进一步照顾窄屏手机，避免上传图片和入口区域造成横向滚动。 */
@media(max-width:700px){
  .page{width:100%;margin:0}
  .menu-grid{padding-left:8px;padding-right:8px;gap:12px 6px}
  .menu-icon,.menu-icon-img{width:clamp(40px,12vw,50px);height:clamp(40px,12vw,50px)}
  .front-ad-wrap .banner-image,.article-real-img,.image-page img,.brand-header-image{max-width:100vw}
}
@media(max-width:380px){
  .menu-grid{gap:10px 4px;padding-left:4px;padding-right:4px}
  .menu-item{font-size:14px}
}

/* V10.1 预录 / 逐号开奖 */
.live-draw-state{
  display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;
  padding:9px 12px;background:#fffaf0;border-bottom:1px solid #f0dfbd;font-size:14px;color:#555;
}
.live-draw-state span{font-weight:700;color:#d97706}
.live-draw-state b{color:#111}
.live-draw-state em{font-style:normal;color:#666}
.ring-ball.ring-pending{border-color:#c8c8c8;background:#f4f4f4;color:#999}
.ring-ball.ring-pending:before{border-color:#d7d7d7;background:#fff}
.ring-ball.ring-pending .ring-number{color:#999}
.pending-meta{color:#999}
@media(max-width:640px){
  .live-draw-state{gap:8px;padding:7px 8px;font-size:12px}
}

/* =========================================================
   V10.6 手机优先前台：主要针对 320-480px 手机重新排版
   说明：不改变业务数据和后台逻辑，只重做前台响应式展示。
   ========================================================= */

/* 基础：所有前台模块允许真正收缩，避免某个长内容把整页撑宽。 */
.page,
.page *{min-width:0}
img,video,canvas,svg{max-width:100%;height:auto}
body{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* 手机端尽量把有效宽度全部用于内容。 */
@media(max-width:700px){
  body{background:#fff;background-image:none}
  .page{max-width:none;width:100%;min-height:100vh}

  /* 顶部文字品牌：不再按桌面固定字号压缩，允许域名自然换行。 */
  .top-banner:not(.top-banner-image-mode){
    min-height:58px;height:auto;padding:7px 8px;gap:8px;
  }
  .brand-badge{flex:0 0 46px;width:46px;height:46px;border-width:3px;font-size:9px}
  .brand-title{min-width:0;font-size:clamp(20px,6.4vw,27px);line-height:1.15;text-align:center;overflow-wrap:anywhere}
  .brand-title b{font-size:clamp(22px,7vw,30px);margin-left:4px;white-space:normal}

  /* 首页入口：手机主站按四列紧凑展示，极窄屏自动两列，文字不被截断。 */
  .menu-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:9px 5px 13px;gap:9px 3px}
  .menu-item{font-size:clamp(12px,3.7vw,15px);line-height:1.2;overflow-wrap:anywhere}
  .menu-icon,.menu-icon-img{width:clamp(38px,11.5vw,48px);height:clamp(38px,11.5vw,48px);margin-bottom:5px;border-radius:9px}

  /* 顶部黑条进一步压缩高度。 */
  .black-strip{padding:4px 6px 5px}
  .happy{font-size:clamp(19px,5.6vw,23px);line-height:1.2}
  .notice{font-size:clamp(12px,3.5vw,14px);line-height:1.35}

  /* 广告和顶部整图始终完整显示，不裁切。 */
  .front-ad-wrap,.front-ad-wrap>a,.top-banner-responsive,.top-banner-responsive .brand-image-link{width:100%;overflow:hidden}
  .front-ad-wrap .banner-image,.top-banner-responsive .brand-header-image{width:100%;height:auto!important;object-fit:contain!important}

  /* 域名：用户要求的“左一个右一个”在手机也保留，两列紧凑排列。 */
  .domain-box{padding:7px 5px 9px}
  .domain-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:4px;row-gap:2px}
  .domain-line,.domain-line:last-child:nth-child(odd){grid-column:auto;font-size:clamp(13px,3.8vw,17px)!important;gap:3px;line-height:1.5;justify-content:center;flex-wrap:wrap}
  .domain-label{white-space:nowrap}
  .domain-value{overflow-wrap:anywhere;word-break:break-word}
  .domain-line:last-child:nth-child(odd){grid-column:1/-1}

  /* 彩种标签：保持一行，三种彩票在手机上也完整可点。 */
  .lottery-tabs-bar{padding:7px 3px 0;gap:2px;border-top-width:3px;border-bottom-width:2px}
  .lottery-tabs-bar a{min-height:42px;display:flex;align-items:center;justify-content:center;padding:6px 2px;font-size:clamp(13px,3.8vw,16px);line-height:1.15}
  .draw-disclaimer{padding:6px 5px;font-size:12px;line-height:1.35}

  /* 开奖区手机重构：标题优先，倒计时和三个工具紧凑；7个球尽量同一横排。 */
  .modern-draw{padding:9px 5px 11px}
  .modern-draw-head{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:9px}
  .modern-draw-title{order:1;flex:0 0 100%;font-size:clamp(18px,5.4vw,23px);line-height:1.25;white-space:normal;text-align:center}
  .countdown-box{order:2;flex:1 1 42%;max-width:none;min-height:44px;margin:0;padding:5px 6px;gap:5px;border-radius:8px}
  .countdown-box span{font-size:clamp(12px,3.3vw,14px)}
  .countdown-box b{font-size:clamp(14px,4vw,17px)}
  .draw-tools{order:3;flex:1 1 52%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;justify-content:stretch}
  .tool-btn{width:auto;height:44px;min-height:44px;border-radius:8px;font-size:clamp(12px,3.2vw,14px);line-height:1.05;padding:3px!important}

  .live-draw-state{margin:0 0 7px;padding:6px 5px;gap:5px;font-size:11px;line-height:1.25}

  .modern-balls{display:grid;grid-template-columns:minmax(0,1fr) 14px 46px;align-items:center;gap:3px}
  .normal-balls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
  .modern-ball-card{min-height:76px;padding:4px 1px;border-radius:7px;box-shadow:none;border-color:#e5e8ed}
  .ring-ball{width:clamp(34px,9.2vw,42px);height:clamp(34px,9.2vw,42px)}
  .ring-ball:before{width:72%;height:72%}
  .ring-number{font-size:clamp(15px,4.4vw,19px)}
  .ball-meta{margin-top:4px;font-size:clamp(9px,2.8vw,12px);line-height:1.1;white-space:normal;text-align:center}
  .special-separator{font-size:21px;line-height:1}
  .special-card{width:46px;min-height:76px;margin:0;padding:13px 1px 3px;border-width:2px;border-radius:8px;box-shadow:none}
  .special-card .ring-ball{width:clamp(34px,9.2vw,40px);height:clamp(34px,9.2vw,40px)}
  .special-label{top:-2px;padding:2px 3px;border-radius:0 0 5px 5px;font-size:8px;line-height:1.1}
  .special-card .ball-meta{font-size:9px}
  .draw-time-lines{margin-top:8px;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
  .copy-draw-btn{display:block;width:100%;margin-top:8px;padding:10px 8px;font-size:14px}
  .modern-no-draw{min-height:110px;padding:10px;font-size:15px}
  .modern-no-draw b{font-size:20px;text-align:center}

  /* 资料标题/内容：手机以阅读为主，减少大字号和无意义左右空白。 */
  .materials-start{font-size:clamp(18px,5.2vw,22px);padding:7px 5px}
  .material-group{border-top-width:2px}
  .group-title{font-size:clamp(20px,5.7vw,25px);line-height:1.25;padding:12px 6px;border-width:1px}
  .blue-row{padding:7px 6px;font-size:clamp(15px,4.4vw,18px);line-height:1.45;overflow-wrap:anywhere}
  .blue-row .yellow{margin-left:3px}
  .simple-row{padding:8px 7px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
  .history-row{padding:9px 5px;font-size:clamp(16px,4.6vw,19px);line-height:1.45}
  .history-head,.history-sub{margin-bottom:5px}
  .number-line{font-size:clamp(17px,5vw,20px);line-height:1.55;overflow-wrap:anywhere}
  .article-block{font-size:16px}
  .article-text{padding:10px 7px;line-height:1.65;overflow-wrap:anywhere}
  .combo-material-list,.rolling-material-list{border-width:1px;border-radius:4px}
  .combo-material-head{font-size:clamp(15px,4.3vw,18px);line-height:1.35;gap:4px;padding:7px 4px}
  .combo-material-body{padding:4px 3px 6px}
  .combo-material-line{font-size:clamp(14px,4.1vw,17px);line-height:1.45;padding:5px 2px;overflow-wrap:anywhere}
  .combo-layer-line{padding:6px 4px}
  .rolling-material-line{font-size:clamp(15px,4.3vw,18px);line-height:1.45;padding:7px 5px}

  /* 玄机列表：避免 4~5 列在小屏挤成一团。 */
  .poem-list{padding:5px}
  .poem-row{display:grid;grid-template-columns:auto 52px minmax(0,1fr);gap:4px;padding:9px 6px;font-size:14px}
  .poem-row .new{justify-self:end}
  .poem-row .gray{display:none}
  .tag{padding:4px 6px;border-radius:7px}

  /* 工具页：按钮和筛选控件在手机上占满行，不再挤在一起。 */
  .feature-page{padding:9px 6px 16px}
  .feature-page h1{font-size:21px}
  .feature-icon-nav{grid-template-columns:repeat(4,minmax(0,1fr));border-top-width:8px}
  .feature-icon-nav a{padding:8px 2px 7px;font-size:12px;line-height:1.2}
  .feature-icon-nav a span{width:38px;height:38px;font-size:19px}
  .feature-source-tabs a{padding:9px 3px;font-size:14px}
  .front-filter,.trend-controls,.picker-mode-row{display:grid;grid-template-columns:1fr 1fr;align-items:end;padding:8px;gap:7px}
  .front-filter input,.trend-controls select,.picker-mode-row select,.front-filter button,.trend-controls button,.picker-submit,.front-filter a,.picker-reset{width:100%;min-height:42px;font-size:16px}
  .history-draw-row{padding:9px;gap:7px}
  .history-mini-balls{gap:4px;justify-content:center}
  .history-mini-wrap{min-width:39px}
  .history-mini-ball{width:35px;height:35px;font-size:14px}
  .history-plus{font-size:20px}
  .picker-result-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  .picker-number{min-height:78px}
  .stats-grid-49,.omission-grid,.omission-grid.zodiac12,.category-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px}
  .omission-grid.element5,.category-stat-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat-number-card,.omission-card,.category-stat-grid>div{padding:5px 2px}
  .trend-chart-box{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .trend-axis-row,.trend-body{min-width:520px;grid-template-columns:80px 1fr}
  .front-history-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .front-history-table table{min-width:640px}

  /* 底部知识大全：手机保持两列生肖，属性表减少字号和边距。 */
  .knowledge-footer{margin-top:8px;border-width:2px;border-radius:5px 5px 0 0;padding:1px}
  .kf-title{font-size:clamp(21px,6vw,25px);padding:8px 4px 6px}
  .kf-subtitle,.kf-section-title{font-size:13px;padding:5px 4px}
  .kf-zodiac-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:3px}
  .kf-zodiac-card{min-height:68px;padding:6px 4px}
  .kf-zodiac-name{font-size:13px;gap:2px}
  .kf-zodiac-name small{font-size:10px}
  .kf-animal{font-size:24px}
  .kf-number-line{gap:1px;margin-top:4px}
  .kf-num{min-width:20px;height:20px;line-height:20px;font-size:11px;margin:1px;padding:0 2px}
  .kf-row{grid-template-columns:62px minmax(0,1fr);min-height:36px}
  .kf-label,.kf-values,.kf-properties .kf-label,.kf-properties .kf-values{font-size:12px;line-height:1.45}
  .kf-values{padding:5px 6px;overflow-wrap:anywhere}
}

/* 375px及以下再压一档，兼容常见 360 / 375 宽手机。 */
@media(max-width:375px){
  .menu-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 2px}
  .domain-line,.domain-line:last-child:nth-child(odd){font-size:13px!important}
  .modern-balls{grid-template-columns:minmax(0,1fr) 12px 42px;gap:2px}
  .normal-balls{gap:1px}
  .modern-ball-card{min-height:70px}
  .ring-ball{width:33px;height:33px}
  .special-card{width:42px;min-height:70px}
  .special-card .ring-ball{width:33px;height:33px}
  .ring-number{font-size:15px}
  .ball-meta{font-size:9px}
  .group-title{font-size:20px}
  .feature-icon-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
  .picker-result-grid,.stats-grid-49,.omission-grid,.omission-grid.zodiac12,.category-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* 极窄屏：只有真正不足 340px 时才把域名改成单列，以防域名断得过碎。 */
@media(max-width:339px){
  .domain-grid{grid-template-columns:1fr}
  .domain-line,.domain-line:last-child:nth-child(odd){grid-column:auto}
  .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .modern-balls{grid-template-columns:1fr}
  .normal-balls{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
  .special-separator{line-height:.7}
  .special-card{width:100%;max-width:95px;min-height:74px;justify-self:center}
  .front-filter,.trend-controls,.picker-mode-row{grid-template-columns:1fr}
}


/* =========================================================
   V10.6.1 手机开奖前10分钟自动切换 + 等待开奖专版
   ========================================================= */
.mobile-predraw-view,
.mobile-regular-fallback{display:none}
.mobile-wait-note{display:none}
.waiting-full-draw-btn{
  margin-top:10px;border:1px solid #b8c2cf;background:#e5eaf0;color:#7c8795;
  border-radius:9px;padding:10px 16px;font-size:15px;font-weight:800;cursor:not-allowed;
}

@media(max-width:700px){
  /* 默认：没有进入10分钟窗口时，正常显示已开奖内容。 */
  .modern-draw.mobile-stage-scheduled:not(.predraw-mobile-active) .draw-stage-view{display:none}
  .modern-draw.mobile-stage-scheduled:not(.predraw-mobile-active) .mobile-regular-fallback{display:block}

  /* 距离开奖 <= 10分钟：统一切到“等待开奖”卡片。 */
  .modern-draw.mobile-auto-predraw.predraw-mobile-active .draw-stage-view,
  .modern-draw.mobile-auto-predraw.predraw-mobile-active .mobile-regular-fallback{display:none}
  .modern-draw.mobile-auto-predraw.predraw-mobile-active .mobile-predraw-view{display:block}

  /* 真正开始逐号放号后，live_draw 状态变为 running，页面刷新并直接显示当前进度。 */
  .modern-draw:not(.mobile-stage-scheduled) .draw-stage-view{display:block}
  .mobile-wait-note{display:block;margin-top:8px;color:#9a6500;font-size:13px;font-weight:800;line-height:1.45}
  .waiting-full-draw-btn{display:block;width:auto;min-width:120px;margin:9px 0 0;padding:9px 13px;font-size:13px}

  /* 等待开奖时进一步贴近参考布局：一行7格、标题/倒计时/工具不占过多高度。 */
  .mobile-predraw-view .modern-draw-head{margin-bottom:8px}
  .mobile-predraw-view .modern-balls{margin-top:1px}
  .mobile-predraw-view .modern-ball-card,
  .mobile-predraw-view .special-card{background:#fff}
  .mobile-predraw-view .ring-pending{background:#fff;border:2px dashed #cbd3dc}
  .mobile-predraw-view .ring-pending:before{background:#fff;border:0}
  .mobile-predraw-view .ring-pending .ring-number{color:#aeb8c4;font-size:18px}
  .mobile-predraw-view .pending-meta{color:#9aa4b1;font-size:9px;white-space:nowrap}
  .mobile-predraw-view .special-card{background:#fff9df;border-color:#d8a817}
  .mobile-predraw-view .special-label{font-size:9px;background:#c99109}
  .mobile-predraw-time{margin-top:4px}

  /* 资料展示继续采用手机优先：长号码/长标题不撑宽，图片和广告完整缩放。 */
  .material-group,.combo-material-list,.rolling-material-list,.article-block,.image-page{max-width:100%;overflow:hidden}
  .group-title,.blue-row,.simple-row,.combo-material-line,.rolling-material-line,.article-text{
    white-space:normal;overflow-wrap:anywhere;word-break:break-word;
  }
  .article-real-img,.image-page img,.front-ad-wrap img{width:100%;height:auto;object-fit:contain}
  .material-group table{max-width:100%}
}

@media(max-width:390px){
  .modern-draw{padding-left:4px;padding-right:4px}
  .modern-draw-title{font-size:clamp(17px,5.2vw,21px)}
  .countdown-box{min-height:41px;padding:4px}
  .tool-btn{height:41px;min-height:41px;font-size:12px}
  .modern-balls{grid-template-columns:minmax(0,1fr) 11px 41px}
  .normal-balls{gap:1px}
  .modern-ball-card{min-height:68px;padding:3px 0}
  .ring-ball{width:32px;height:32px}
  .special-card{width:41px;min-height:68px;padding-top:12px}
  .special-card .ring-ball{width:32px;height:32px}
  .ball-meta{font-size:8.5px}
}


/* =========================================================
   V10.7 手机主站精修：开奖区参考布局 + 资料内容紧凑/均分换行
   ========================================================= */
@media(max-width:700px){
  .modern-draw{padding:9px 8px 12px!important}
  .modern-draw-head{
    display:grid!important;
    grid-template-columns:minmax(132px,.92fr) minmax(0,1.48fr)!important;
    grid-template-areas:"title title" "countdown tools"!important;
    align-items:stretch!important;
    column-gap:7px!important;
    row-gap:8px!important;
    margin-bottom:12px!important;
  }
  .modern-draw-title{
    grid-area:title!important;order:initial!important;width:100%!important;
    font-size:clamp(18px,5.15vw,21px)!important;line-height:1.2!important;
    white-space:nowrap!important;text-align:center!important;letter-spacing:-.35px;
  }
  .draw-head-spacer{display:none!important}
  .countdown-box{
    grid-area:countdown!important;order:initial!important;width:100%!important;max-width:none!important;
    min-height:49px!important;margin:0!important;padding:5px 7px!important;gap:5px!important;border-radius:8px!important;
    flex-wrap:nowrap!important;white-space:nowrap!important;
  }
  .countdown-box span{font-size:clamp(11px,3.15vw,13px)!important;line-height:1.08!important;white-space:nowrap!important}
  .countdown-box b{font-size:clamp(14px,4vw,17px)!important;line-height:1!important;white-space:nowrap!important;letter-spacing:.3px!important}
  .draw-tools{
    grid-area:tools!important;order:initial!important;width:100%!important;display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important;
  }
  .tool-btn{
    width:100%!important;height:49px!important;min-height:49px!important;padding:3px 2px!important;border-radius:8px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
    font-size:clamp(12px,3.35vw,14px)!important;line-height:1.04!important;white-space:normal!important;
  }
  .modern-balls{display:grid!important;grid-template-columns:minmax(0,1fr) 16px 53px!important;gap:4px!important;align-items:center!important;width:100%!important}
  .normal-balls{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important}
  .modern-ball-card{min-height:92px!important;padding:7px 1px 5px!important;border-radius:8px!important;box-shadow:0 2px 7px rgba(27,38,60,.06)!important}
  .ring-ball{width:clamp(36px,10vw,42px)!important;height:clamp(36px,10vw,42px)!important}
  .ring-ball:before{width:72%!important;height:72%!important}
  .ring-number{font-size:clamp(16px,4.5vw,19px)!important}
  .ball-meta{margin-top:6px!important;font-size:clamp(9px,2.75vw,11px)!important;line-height:1.12!important;white-space:nowrap!important}
  .special-separator{font-size:24px!important;line-height:1!important}
  .special-card{width:53px!important;min-height:92px!important;padding:16px 1px 5px!important;margin:0!important;border-width:2px!important;border-radius:9px!important;box-shadow:0 2px 7px rgba(127,92,0,.06)!important}
  .special-card .ring-ball{width:clamp(36px,9.7vw,41px)!important;height:clamp(36px,9.7vw,41px)!important}
  .special-label{top:-2px!important;padding:3px 4px!important;border-radius:0 0 6px 6px!important;font-size:9px!important;line-height:1.05!important}
  .special-card .ball-meta{font-size:9px!important}
  .live-draw-state{margin:0 0 8px!important;padding:6px!important;font-size:11px!important}
  .draw-time-lines{margin-top:9px!important;font-size:12.5px!important;line-height:1.48!important}
  .mobile-wait-note{margin-top:9px!important;font-size:13px!important}
  .waiting-full-draw-btn{margin-top:8px!important;padding:8px 12px!important;font-size:12px!important;border-radius:8px!important}
  .copy-draw-btn{margin-top:9px!important;padding:10px 8px!important;font-size:14px!important;border-radius:8px!important}
  .mobile-predraw-view .modern-ball-card,.mobile-predraw-view .special-card{min-height:92px!important}
  .mobile-predraw-view .ring-pending{border:2px dashed #cbd3dc!important}
  .mobile-predraw-view .ring-pending .ring-number{font-size:17px!important}
  .mobile-predraw-view .pending-meta{font-size:9px!important}

  .materials-start{font-size:clamp(18px,5vw,21px)!important;padding:8px 5px!important;line-height:1.2!important}
  .material-group{border-top-width:2px!important}
  .group-title{font-size:clamp(19px,5.15vw,22px)!important;line-height:1.18!important;padding:11px 5px!important;border-width:1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;letter-spacing:-.3px}
  .group-title.fit-two-lines{white-space:normal!important;overflow:visible!important;line-height:1.15!important;padding-top:9px!important;padding-bottom:9px!important}

  .blue-row.mobile-fit-line{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:4px!important;padding:7px 7px!important;font-size:clamp(12px,3.5vw,14.5px)!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important}
  .blue-row .green,.blue-row .yellow,.blue-row .blue-hit,.blue-row .blue-miss{white-space:nowrap!important;flex:0 0 auto}
  .blue-row .yellow{margin-left:0!important}
  .blue-hit,.blue-miss{padding:1px 4px!important;margin-left:2px!important}
  .blue-row.fit-two-lines{white-space:normal!important;flex-wrap:wrap!important;justify-content:center!important;text-align:center!important;overflow:visible!important}
  .blue-row.fit-two-lines .green{flex:0 0 100%;text-align:center}

  .history-row{padding:10px 5px!important;font-size:15px!important;line-height:1.34!important}
  .history-head.mobile-fit-line{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;margin-bottom:6px!important;font-size:clamp(14px,3.8vw,16px)!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important}
  .history-head.mobile-fit-line>*{flex:0 0 auto;white-space:nowrap!important}
  .history-head.fit-two-lines{flex-wrap:wrap!important;white-space:normal!important;overflow:visible!important;row-gap:3px!important}
  .history-sub{margin-bottom:5px!important;font-size:13px!important}
  .number-line{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:2px!important;width:100%!important;max-width:100%!important;margin:2px auto!important;padding:0 1px!important;font-size:clamp(12px,3.45vw,14px)!important;line-height:1.45!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.12px}
  .number-line .num-unit{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important}
  .number-line .hit{padding:0 1px!important}
  .balanced-number-line{margin-top:1px!important;margin-bottom:1px!important}

  .simple-row.mobile-fit-line{padding:8px 6px!important;font-size:clamp(13px,3.65vw,15px)!important;line-height:1.38!important;white-space:nowrap!important;overflow:hidden!important}
  .simple-row.fit-two-lines{white-space:normal!important;overflow:visible!important;text-align:center!important}
  .combo-material-head{font-size:clamp(13px,3.55vw,15px)!important;line-height:1.3!important;gap:4px!important;padding:7px 4px!important}
  .combo-material-line{font-size:clamp(12.5px,3.45vw,14px)!important;line-height:1.42!important;padding:5px 3px!important}
  .combo-layer-line{padding:6px 4px!important;gap:3px!important}
  .rolling-material-line{font-size:clamp(13px,3.6vw,15px)!important;line-height:1.4!important;padding:7px 6px!important}
  .article-block{font-size:14px!important}
  .article-text{padding:8px 6px!important;font-size:14px!important;line-height:1.55!important}
  .article-text .blue{font-size:15px!important;line-height:1.45!important}
  .poem-list{padding:4px!important}
  .poem-row{grid-template-columns:auto 46px minmax(0,1fr) auto!important;gap:3px!important;padding:7px 4px!important;font-size:12.5px!important;line-height:1.25!important}
  .tag{padding:3px 5px!important;border-radius:6px!important}
}

@media(max-width:390px){
  .modern-draw{padding-left:6px!important;padding-right:6px!important}
  .modern-draw-head{grid-template-columns:minmax(126px,.9fr) minmax(0,1.5fr)!important;column-gap:6px!important}
  .modern-draw-title{font-size:clamp(17.5px,5vw,20px)!important;letter-spacing:-.55px!important}
  .countdown-box{min-height:47px!important;padding:4px 5px!important}
  .countdown-box span{font-size:11px!important}.countdown-box b{font-size:14px!important}
  .tool-btn{height:47px!important;min-height:47px!important;font-size:12px!important}
  .modern-balls{grid-template-columns:minmax(0,1fr) 14px 50px!important;gap:3px!important}
  .normal-balls{gap:3px!important}
  .modern-ball-card{min-height:88px!important;padding-top:6px!important}
  .ring-ball{width:37px!important;height:37px!important}.ring-number{font-size:16px!important}
  .special-card{width:50px!important;min-height:88px!important;padding-top:15px!important}.special-card .ring-ball{width:37px!important;height:37px!important}
  .ball-meta{font-size:9px!important}.group-title{font-size:19px!important}.number-line{font-size:12.5px!important;gap:1px!important}
}

@media(max-width:350px){
  .modern-draw{padding-left:4px!important;padding-right:4px!important}
  .modern-draw-head{grid-template-columns:minmax(118px,.88fr) minmax(0,1.52fr)!important;gap:5px!important}
  .modern-draw-title{font-size:16.5px!important}.countdown-box{min-height:45px!important}.countdown-box b{font-size:13px!important}
  .tool-btn{height:45px!important;min-height:45px!important;font-size:11px!important}
  .modern-balls{grid-template-columns:minmax(0,1fr) 12px 47px!important;gap:2px!important}.normal-balls{gap:2px!important}
  .modern-ball-card{min-height:84px!important}.ring-ball{width:34px!important;height:34px!important}
  .special-card{width:47px!important;min-height:84px!important}.special-card .ring-ball{width:34px!important;height:34px!important}
  .number-line{font-size:11.5px!important;gap:.5px!important}.history-head.mobile-fit-line{font-size:13px!important;gap:4px!important}
}

/* =========================================================
   V10.8 手机开奖区精修：严格按参考图压缩倒计时与三个工具按钮
   ========================================================= */
@media(max-width:700px){
  /* 标题单独一行；第二行只保留紧凑的倒计时 + 三个小按钮。 */
  .modern-draw-head{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"title title" "countdown tools"!important;
    column-gap:7px!important;
    row-gap:6px!important;
    margin-bottom:10px!important;
    align-items:center!important;
  }
  .modern-draw-title{
    font-size:clamp(17px,4.8vw,20px)!important;
    line-height:1.18!important;
    letter-spacing:-.45px!important;
  }
  .countdown-box{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:34px!important;
    height:34px!important;
    padding:3px 8px!important;
    gap:5px!important;
    border-radius:7px!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  .countdown-box span{
    font-size:clamp(10px,2.85vw,11.5px)!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .countdown-box b{
    font-size:clamp(12px,3.45vw,14px)!important;
    line-height:1!important;
    letter-spacing:.2px!important;
    white-space:nowrap!important;
  }
  .draw-tools{
    width:auto!important;
    min-width:0!important;
    display:flex!important;
    grid-template-columns:none!important;
    gap:5px!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }
  .tool-btn{
    width:auto!important;
    min-width:54px!important;
    max-width:66px!important;
    height:34px!important;
    min-height:34px!important;
    padding:0 6px!important;
    border-width:1px!important;
    border-radius:7px!important;
    font-size:clamp(10.5px,2.95vw,12px)!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }
  /* 号码卡片与参考图保持紧凑，但不再牺牲可读性。 */
  .modern-balls{margin-top:1px!important}
  .modern-ball-card{min-height:86px!important;padding-top:6px!important;padding-bottom:5px!important}
  .special-card{min-height:86px!important;padding-top:14px!important;padding-bottom:5px!important}
  .ring-ball{width:38px!important;height:38px!important}
  .special-card .ring-ball{width:38px!important;height:38px!important}
  .ball-meta{margin-top:5px!important;font-size:9.5px!important}
}

@media(max-width:390px){
  .modern-draw-head{column-gap:5px!important;row-gap:5px!important}
  .countdown-box{height:32px!important;min-height:32px!important;padding:2px 6px!important}
  .countdown-box span{font-size:10px!important}
  .countdown-box b{font-size:12.5px!important}
  .draw-tools{gap:4px!important}
  .tool-btn{
    min-width:50px!important;
    max-width:60px!important;
    height:32px!important;
    min-height:32px!important;
    padding:0 4px!important;
    font-size:10.5px!important;
  }
  .modern-ball-card{min-height:82px!important}
  .special-card{min-height:82px!important}
  .ring-ball,.special-card .ring-ball{width:36px!important;height:36px!important}
  .ring-number{font-size:15.5px!important}
}

@media(max-width:350px){
  .modern-draw-head{column-gap:4px!important}
  .countdown-box{height:31px!important;min-height:31px!important;padding-left:4px!important;padding-right:4px!important}
  .countdown-box span{font-size:9.5px!important}
  .countdown-box b{font-size:11.5px!important}
  .draw-tools{gap:3px!important}
  .tool-btn{min-width:46px!important;max-width:54px!important;height:31px!important;min-height:31px!important;padding:0 3px!important;font-size:9.8px!important}
}


/* V10.9: 手机端开奖时间两行统一为完整日期 + 星期 + 时间 */
.draw-time-lines .current-time{color:#657082}
.draw-time-lines .current-time b{color:#657082}
.draw-time-lines .next-time,.draw-time-lines .next-time b{color:#7f5d00}
@media(max-width:700px){
  .draw-time-lines{display:flex!important;flex-direction:column!important;gap:1px!important;align-items:flex-start!important;width:100%!important;overflow:visible!important}
  .draw-time-lines .current-time,.draw-time-lines .next-time{display:block!important;width:100%!important;white-space:nowrap!important;overflow:visible!important;text-align:left!important;letter-spacing:-.18px!important;font-size:clamp(10.4px,2.9vw,12.2px)!important;line-height:1.34!important}
  .draw-time-lines b{font-weight:800!important}
}
@media(max-width:360px){
  .draw-time-lines .current-time,.draw-time-lines .next-time{font-size:10px!important;letter-spacing:-.28px!important}
}


/* =========================================================
   V10.11 手机资料区结构化显示
   - 蓝底号码型长资料平均拆成两行
   - 递减/分层资料按层展示，不再把整段正文挤成一行
   ========================================================= */
.blue-structured-item{border-bottom:1px solid #263777;background:#4658b6;color:#fff}
.blue-structured-item:last-child{border-bottom:0}
.blue-number-head{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 10px 4px;font-size:20px;font-weight:900;line-height:1.3}
.blue-number-head .green{color:#00ff2a}
.blue-number-lines{padding:2px 8px 5px}
.blue-number-line{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;color:#fff400;font-size:20px;font-weight:800;line-height:1.45;letter-spacing:.1px}
.blue-num-unit{display:inline-block;white-space:nowrap}
.blue-num-hit{background:#fff600;color:#0a9d36;padding:0 2px}
.blue-number-wait,.blue-layer-wait{text-align:center;color:#fff;padding:3px 8px 8px;font-size:17px;font-weight:800;line-height:1.35}
.blue-layered-item{padding:3px 0}
.blue-layer-row{display:grid;grid-template-columns:auto minmax(0,.9fr) minmax(0,1.25fr) auto;align-items:center;gap:7px;padding:6px 10px;border-bottom:1px solid rgba(20,35,100,.55);font-size:18px;font-weight:800;line-height:1.4;color:#fff400}
.blue-layer-row:last-of-type{border-bottom:0}
.blue-layer-issue{color:#00ff2a;white-space:nowrap}
.blue-layer-source,.blue-layer-related{min-width:0;white-space:nowrap}
.blue-layer-source b,.blue-layer-related b{color:#fff400;margin-right:4px}
.blue-zodiac-values{color:#fff400;letter-spacing:.08em}
.blue-layer-result{white-space:nowrap;justify-self:end}
.blue-layer-row.layer-good{box-shadow:inset 4px 0 #10d34b}
.blue-layer-row.layer-bad{box-shadow:inset 4px 0 #e52c2c}
.blue-layer-state{background:#222;color:#fff;padding:1px 5px}

@media(max-width:700px){
  .blue-structured-item{overflow:hidden}
  .blue-number-head{gap:5px;padding:7px 5px 3px;font-size:clamp(13px,3.7vw,16px);white-space:nowrap}
  .blue-number-lines{padding:1px 3px 4px}
  .blue-number-line{font-size:clamp(12px,3.25vw,14px);line-height:1.48;letter-spacing:-.18px;max-width:100%;overflow:hidden}
  .blue-num-unit{flex:0 0 auto}
  .blue-number-wait,.blue-layer-wait{font-size:clamp(12px,3.4vw,14px);padding:3px 5px 7px}

  /* 一肖一码等分层资料：每层最多两行，按结构换行而不是浏览器任意断字。 */
  .blue-layer-row{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "source source"
      "related result";
    gap:2px 5px;
    padding:6px 6px;
    font-size:clamp(11.5px,3.25vw,13.5px);
    line-height:1.35;
  }
  .blue-layer-issue{display:none}
  .blue-layer-source{grid-area:source;text-align:center;overflow:hidden;text-overflow:clip}
  .blue-layer-source::before{content:attr(data-issue)}
  .blue-layer-related{grid-area:related;text-align:right;justify-self:end;overflow:hidden;text-overflow:clip}
  .blue-layer-result{grid-area:result;justify-self:start;margin-left:2px}
  .blue-layer-source,.blue-layer-related{white-space:nowrap}
  .blue-zodiac-values{letter-spacing:.02em}
}

@media(max-width:390px){
  .blue-number-head{font-size:12.5px}
  .blue-number-line{font-size:11.8px;letter-spacing:-.25px}
  .blue-layer-row{font-size:11.3px;padding-left:4px;padding-right:4px}
}

@media(max-width:350px){
  .blue-number-line{font-size:10.8px;letter-spacing:-.32px}
  .blue-layer-row{font-size:10.6px;gap:2px 3px}
}

@media(max-width:700px){
  .blue-layer-row{
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:
      "issue source source"
      ". related result";
  }
  .blue-layer-issue{display:inline;grid-area:issue;align-self:center}
  .blue-layer-source{grid-area:source;text-align:left;justify-self:start}
  .blue-layer-source::before{content:none}
  .blue-layer-related{grid-area:related}
}

/* =========================================================
   V10.12 一肖一码：参考图式左右双栏 / 每层一行
   只影响“一肖一码”结构化资料，不改变生成、判定与其它栏目。
   ========================================================= */
.yym-table{
  width:100%;
  background:#e9e9e9;
  border-top:1px solid rgba(255,255,255,.9);
  border-bottom:1px solid rgba(255,255,255,.9);
  color:#111;
}
.yym-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;
  min-height:46px;
  background:#ececec;
  border-bottom:2px solid #fff;
}
.yym-row:last-of-type{border-bottom:0}
.yym-cell{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  text-align:left;
  gap:4px;
  padding:7px 8px;
  font-size:clamp(13px,1.6vw,19px);
  line-height:1.25;
  font-weight:900;
}
.yym-zodiac-cell{border-right:2px solid #fff}
.yym-prefix,.yym-code-label{
  flex:0 0 auto;
  color:#26428f;
  white-space:nowrap;
}
.yym-zodiac-values,.yym-code-values{
  min-width:0;
  color:#e31919;
  white-space:nowrap;
  letter-spacing:.01em;
}
.yym-code-cell{gap:3px}
.yym-result{
  flex:0 0 auto;
  margin-left:3px;
  padding:1px 4px!important;
  font-size:.84em!important;
  line-height:1.25!important;
  white-space:nowrap;
}
.yym-table .combo-hit{
  background:#fff000;
  color:#e31919;
  padding:0 1px;
  border-radius:0;
}
.yym-wait{
  padding:5px 8px 6px;
  background:#f4f4f4;
  color:#26428f;
  text-align:center;
  font-size:14px;
  font-weight:900;
  border-top:1px solid #fff;
}

@media(max-width:700px){
  .yym-row{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    min-height:40px;
  }
  .yym-cell{
    gap:2px;
    padding:6px 3px;
    font-size:clamp(10.7px,3.05vw,13.2px);
    line-height:1.22;
    letter-spacing:-.15px;
  }
  .yym-prefix,.yym-code-label{letter-spacing:-.25px}
  .yym-zodiac-values,.yym-code-values{letter-spacing:-.3px}
  .yym-result{margin-left:1px;padding:1px 2px!important;font-size:.78em!important}
  .yym-wait{font-size:clamp(11px,3vw,13px);padding:4px 5px 5px}
}

@media(max-width:380px){
  .yym-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .yym-cell{font-size:10.2px;padding-left:2px;padding-right:2px;gap:1px;letter-spacing:-.3px}
  .yym-zodiac-values,.yym-code-values{letter-spacing:-.45px}
}

@media(max-width:330px){
  .yym-cell{font-size:9.6px}
  .yym-result{font-size:.72em!important}
}


/* =========================================================
   V10.13 一肖一码：左右固定 50/50，中线永远居中；两边全部靠左
   ========================================================= */
.yym-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
.yym-cell{justify-content:flex-start!important;text-align:left!important;box-sizing:border-box;}
.yym-zodiac-cell,.yym-code-cell{justify-content:flex-start!important;text-align:left!important;}
.yym-zodiac-cell{padding-left:10px!important;padding-right:8px!important;}
.yym-code-cell{padding-left:10px!important;padding-right:6px!important;}
@media(max-width:700px){
  .yym-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
  .yym-cell{justify-content:flex-start!important;text-align:left!important;}
  .yym-zodiac-cell{padding-left:6px!important;padding-right:4px!important;}
  .yym-code-cell{padding-left:6px!important;padding-right:3px!important;}
}
@media(max-width:380px){
  .yym-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
  .yym-zodiac-cell,.yym-code-cell{padding-left:4px!important;}
}
\n\n/* V10.14 一肖一码：配码顺序 + 期次分隔 */\n.yym-period-footer{\n  width:100%;box-sizing:border-box;text-align:center;\n  padding:9px 8px 10px;\n  font-size:clamp(18px,2vw,23px);font-weight:900;line-height:1.25;\n  color:#173b91;background:#dcecf9;\n  border-top:2px solid #fff;border-bottom:7px solid #fff;\n  letter-spacing:.02em;\n}\n.yym-period-footer.is-drawn{background:#dcecf9;color:#173b91;}\n.yym-period-footer.is-waiting{background:#dcecf9;color:#173b91;}\n.yym-table + .yym-table{border-top:0;}\n@media(max-width:700px){\n  .yym-period-footer{padding:8px 5px 9px;font-size:clamp(16px,4.2vw,19px);border-bottom-width:6px;}\n}\n

/* V10.15 一肖一码：开奖结果统一为生肖+号码，使用正文配色 */
.yym-table .yym-result{
  display:inline-flex!important;align-items:center!important;gap:0!important;
  margin-left:6px!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  font-size:inherit!important;font-weight:900!important;line-height:inherit!important;white-space:nowrap!important;
}
.yym-table .yym-result-label{color:#26428f!important;background:transparent!important;}
.yym-table .yym-result-draw{color:#e31919!important;background:transparent!important;}
.yym-table .yym-result-status{background:transparent!important;padding:0!important;margin:0!important;border:0!important;font:inherit!important;}
.yym-table .yym-result-status.is-good{color:#e31919!important;}
.yym-table .yym-result-status.is-bad{color:#111!important;}

.yym-period-footer{
  width:100%!important;box-sizing:border-box!important;text-align:left!important;
  padding:9px 12px 10px!important;
  font-size:clamp(17px,1.75vw,21px)!important;font-weight:900!important;line-height:1.25!important;
  background:#dcecf9!important;border-top:2px solid #fff!important;border-bottom:8px solid #fff!important;
  letter-spacing:0!important;
}
.yym-period-prefix{color:#26428f!important;}
.yym-period-draw{color:#e31919!important;}
.yym-period-wait{color:#26428f!important;}
@media(max-width:700px){
  .yym-table .yym-result{margin-left:3px!important;}
  .yym-period-footer{padding:8px 7px 9px!important;font-size:clamp(14px,3.6vw,17px)!important;border-bottom-width:7px!important;}
}
@media(max-width:380px){
  .yym-table .yym-result{margin-left:2px!important;}
  .yym-period-footer{font-size:13px!important;padding-left:5px!important;}
}


/* V10.16 一肖一码：开奖结果固定左栏；生肖判定，配码只高亮 */
.yym-table .yym-zodiac-cell{
  flex-wrap:wrap!important;align-content:center!important;row-gap:1px!important;
}
.yym-table .yym-zodiac-cell .yym-result{
  flex:0 0 auto!important;margin-left:4px!important;
}
.yym-table .yym-code-cell{
  flex-wrap:nowrap!important;align-content:center!important;
}
@media(max-width:700px){
  .yym-table .yym-zodiac-cell .yym-result{
    margin-left:2px!important;font-size:.86em!important;
  }
}
@media(max-width:380px){
  .yym-table .yym-zodiac-cell .yym-result{
    flex-basis:100%!important;margin-left:0!important;margin-top:1px!important;font-size:.82em!important;
  }
}


/* V10.17 一肖一码：只显示底部整期结果 */
.yym-table .yym-result{display:none!important;}
.yym-period-footer{display:block!important;}
.yym-period-status{font:inherit!important;font-weight:900!important;margin-left:0!important;padding:0!important;background:transparent!important;border:0!important;}
.yym-period-status.is-good{color:#e31919!important;}
.yym-period-status.is-bad{color:#111!important;}
.yym-period-draw{margin-right:0!important;}


/* V10.21 全部39项统一资料展示 */
.v1021-blue-area{width:100%;overflow:hidden}
.v1021-period-block{box-sizing:border-box;width:100%}

/* Ordinary rows: same fixed tracks for every period so columns never drift. */
.std21-row{
  display:grid!important;grid-template-columns:36% 44% 20%;align-items:center;
  min-height:50px;padding:7px 8px;border-bottom:1px solid rgba(15,35,85,.48);
  text-align:center;font-weight:900;line-height:1.25;box-sizing:border-box;
}
.std21-title{color:#00ff2a;min-width:0;white-space:nowrap}
.std21-value{color:#fff400;min-width:0;white-space:normal;overflow-wrap:normal;word-break:keep-all;padding:0 4px}
.std21-result{color:#fff400;white-space:nowrap}
.std21-row .combo-hit,.number21-material .combo-hit,.stable21-table .combo-hit{background:#fff000;color:#e31919;padding:0 1px;border-radius:0}

/* 24/16 numbers: exact 12+12 / 8+8. */
.number21-material{padding:8px 6px 9px;border-bottom:5px solid #fff;text-align:center;font-weight:900;color:#fff400}
.number21-head{display:flex;align-items:center;justify-content:center;gap:6px 10px;flex-wrap:wrap;color:#00ff2a;font-size:clamp(16px,1.6vw,20px);margin-bottom:3px}
.number21-result{color:#fff400;white-space:nowrap}
.number21-lines{display:flex;flex-direction:column;align-items:center;gap:1px}
.number21-line{width:100%;text-align:center;white-space:nowrap;font-size:clamp(15px,1.55vw,20px);line-height:1.35;color:#fff400}

/* Stable: exact 50/50 with a fixed center divider. */
.stable21-table{background:#ececec;border-bottom:7px solid #fff}
.stable21-row{display:grid;grid-template-columns:50% 50%;min-height:48px;border-bottom:2px solid #fff}
.stable21-cell{display:flex;align-items:center;justify-content:flex-start;gap:3px;min-width:0;padding:7px 10px;box-sizing:border-box;font-weight:900;line-height:1.25;text-align:left}
.stable21-left{border-right:2px solid #fff}.stable21-label{color:#26428f;white-space:nowrap}.stable21-zodiacs,.stable21-codes{color:#e31919;min-width:0}.stable21-codes{white-space:nowrap}
.mobile-stable21-codes{display:none}
.stable21-footer{padding:8px 6px;text-align:center;background:#dcecf9;color:#26428f;font-weight:900;font-size:clamp(15px,1.5vw,19px)}

/* Composite lines: one logical row on desktop, deliberate logical lines on phone. */
.composite21-row,.multi21-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;padding:9px 8px;border-bottom:1px solid rgba(15,35,85,.48);font-weight:900;text-align:center;line-height:1.3}
.composite21-issue,.multi21-issue{color:#00ff2a;white-space:nowrap}
.composite21-group,.multi21-group,.composite21-result,.multi21-result{color:#fff400;white-space:nowrap}

.rolling21-block{padding:8px 6px;border-bottom:5px solid #fff;text-align:center;font-weight:900;color:#fff400}
.rolling21-line{padding:3px 2px;line-height:1.35}

@media(max-width:700px){
  .std21-row{grid-template-columns:36% 44% 20%;min-height:42px;padding:6px 3px;font-size:clamp(10.3px,3.05vw,13.5px);line-height:1.22}
  .std21-title{letter-spacing:-.25px}
  .std21-value{padding:0 2px;line-height:1.28;overflow-wrap:anywhere;word-break:normal}
  .std21-result{letter-spacing:-.25px}

  .number21-material{padding:7px 2px 8px}.number21-head{font-size:clamp(12px,3.5vw,15px);gap:3px 6px}.number21-line{font-size:clamp(10.5px,3.0vw,13.2px);letter-spacing:-.25px}

  .stable21-row{grid-template-columns:50% 50%;min-height:40px}
  .stable21-cell{padding:5px 4px;gap:1px;font-size:clamp(9.8px,2.8vw,12.4px);letter-spacing:-.25px;align-items:flex-start}
  .stable21-zodiacs{line-height:1.28}.desktop-stable21-codes{display:none}.mobile-stable21-codes{display:flex;flex-direction:column;justify-content:flex-start;gap:0;line-height:1.2}.stable21-subline{display:block;white-space:nowrap}
  .stable21-footer{font-size:clamp(12.5px,3.35vw,15.5px);padding:7px 4px}

  .composite21-row,.multi21-row{display:grid!important;grid-template-columns:1fr;gap:2px;padding:7px 4px;font-size:clamp(11px,3.25vw,14px);line-height:1.3}
  .composite21-row>span,.multi21-row>span{white-space:normal!important;text-align:center;max-width:100%;overflow-wrap:anywhere}
  .composite21-numbers{font-size:clamp(10.6px,3.05vw,13px)}
  .rolling21-block{font-size:clamp(11.5px,3.35vw,14px)}
}
@media(max-width:380px){
  .std21-row{font-size:9.8px;padding-left:2px;padding-right:2px}
  .number21-line{font-size:10px}
  .stable21-cell{font-size:9.2px;padding-left:3px;padding-right:3px}
  .composite21-row,.multi21-row{font-size:10.5px}
}


/* V10.22 普通资料整句居中总修 */
.v1022-blue-area{width:100%;overflow:hidden}
/* 普通资料不再使用“左中右三栏”，所有片段组成一整句并整体居中。 */
.std22-row{
  width:100%;box-sizing:border-box;min-height:50px;padding:8px 10px;
  display:flex!important;align-items:center;justify-content:center;align-content:center;
  flex-wrap:wrap;gap:2px 8px;text-align:center;font-weight:900;line-height:1.35;
  border-bottom:1px solid rgba(15,35,85,.48);overflow:hidden;
}
.std22-piece{display:inline;max-width:100%;min-width:0;text-align:center}
.std22-title{color:#00ff2a;white-space:nowrap}
.std22-value{color:#fff400;white-space:normal;word-break:keep-all;overflow-wrap:normal}
.std22-result{color:#fff400;white-space:nowrap}
.std22-row .combo-hit{background:#fff000;color:#e31919;padding:0 1px}
/* 特殊组合资料也在桌面整体居中，手机只按逻辑块换行。 */
.v1022-special-inline{justify-content:center!important;text-align:center!important}
.v1022-number-block .number21-head,.v1022-number-block .number21-lines{justify-content:center;text-align:center}

@media(max-width:700px){
  .std22-row{
    min-height:43px;padding:7px 5px;gap:1px 5px;
    font-size:clamp(11px,3.35vw,14px);line-height:1.32;
  }
  .std22-title,.std22-result{white-space:nowrap}
  .std22-value{white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
  /* 太长时允许按“标题 / 内容 / 结果”逻辑块换行，但每一块都仍然居中。 */
  .std22-piece{flex:0 1 auto}
  .std22-value{max-width:100%}
  .v1022-special-inline{display:flex!important;flex-wrap:wrap!important;gap:2px 6px!important;padding:7px 5px!important}
  .v1022-special-inline>span{white-space:normal!important;text-align:center!important;max-width:100%!important}
}
@media(max-width:420px){
  .std22-row{font-size:clamp(10.3px,3.45vw,13px);padding-left:3px;padding-right:3px;gap:1px 4px}
}


/* V10.23 结果统一 + 手机单行对齐 */
.stable23-codes{display:inline-block!important;white-space:nowrap!important;line-height:1.15!important}
.pt23-row{display:flex!important;flex-wrap:nowrap!important;white-space:nowrap!important;gap:0 5px!important;overflow:hidden!important}
.pt23-row .std22-piece,.pt23-row .std22-title,.pt23-row .std22-value,.pt23-row .std22-result{
  flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
}
@media(max-width:700px){
  /* 稳中资料右半栏像一肖一码一样：一行到底；放不下只缩字号。 */
  .stable21-row{grid-template-columns:50% 50%!important}
  .stable21-cell{align-items:center!important;flex-wrap:nowrap!important;padding:5px 3px!important;gap:1px!important}
  .stable21-right{overflow:hidden!important}
  .stable21-right .stable21-label{font-size:clamp(8.4px,2.25vw,10.5px)!important}
  .stable23-codes{font-size:clamp(7.5px,2.03vw,9.8px)!important;letter-spacing:-.38px!important}
  .mobile-stable21-codes{display:none!important}
  .desktop-stable21-codes{display:none!important}

  /* 平特送二连 / 平特一尾：整期资料固定一行。 */
  .pt23-row{min-height:40px!important;padding:6px 2px!important;gap:0 2px!important;
    font-size:clamp(7.1px,1.98vw,10.2px)!important;letter-spacing:-.36px!important;line-height:1.18!important}
}
@media(max-width:390px){
  .stable23-codes{font-size:7.25px!important;letter-spacing:-.45px!important}
  .stable21-right .stable21-label{font-size:8px!important}
  .pt23-row{font-size:6.85px!important;letter-spacing:-.42px!important;gap:0 1px!important}
}


/* V10.24 手机端：先用正常字号，只有真正放不下才逐级缩小 */
@media(max-width:700px){
  /* 稳中资料保持左右 50/50，但不再预先把字号压到 7~9px。 */
  .stable21-row{grid-template-columns:50% 50%!important}
  .stable21-cell{
    font-size:14px!important;letter-spacing:0!important;
    padding:6px 5px!important;gap:3px!important;
    align-items:center!important;flex-wrap:nowrap!important;
    white-space:nowrap!important;overflow:hidden!important;
  }
  .stable21-cell > *{flex:0 0 auto!important;white-space:nowrap!important}
  .stable21-right .stable21-label,.stable23-codes{
    font-size:inherit!important;letter-spacing:0!important;line-height:1.18!important;
  }
  .stable21-zodiacs{line-height:1.18!important;white-space:nowrap!important}

  /* 平特送二连 / 平特一尾：默认正常字号；只有当前这一行溢出时才由 JS 缩小。 */
  .pt23-row{
    min-height:44px!important;padding:7px 5px!important;gap:0 5px!important;
    font-size:14px!important;letter-spacing:0!important;line-height:1.22!important;
    display:flex!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important;
  }
  .pt23-row .std22-piece,.pt23-row .std22-title,.pt23-row .std22-value,.pt23-row .std22-result{
    flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
  }
}
@media(max-width:390px){
  .stable21-cell{font-size:13.5px!important;padding-left:4px!important;padding-right:4px!important}
  .pt23-row{font-size:13.5px!important;padding-left:4px!important;padding-right:4px!important}
}


/* V10.27_ATTRIBUTE_NOTES_STYLE */
.material-annotation27{background:#eef6ff;border-bottom:1px solid #d6e2ef;padding:7px 12px;text-align:center;color:#153f78;font-weight:700;font-size:16px;line-height:1.55}
.material-annotation-line27{display:block;white-space:normal;word-break:keep-all}
.full-draw-line27{padding:7px 10px;text-align:center;background:#e8f4ff;color:#153f78;font-size:16px;font-weight:700;line-height:1.5;border-top:1px solid rgba(255,255,255,.65)}
@media(max-width:700px){
  .material-annotation27{font-size:14px;padding:6px 8px;line-height:1.45}
  .full-draw-line27{font-size:13px;padding:6px 5px;line-height:1.45;white-space:normal}
}

/* =========================================================
   V10.28 资料统一展示：属性注释紧凑双列 + 全7码两行格式 + 后台配色
   ========================================================= */
.material-group .blue-material-area,
.material-group .number21-material,
.material-group .rolling21-block,
.material-group .composite21-row,
.material-group .multi21-row,
.material-group .std22-row{
  background:var(--mat-body-bg,#4658b6)!important;
}
.material-group .std22-title,
.material-group .number21-head,
.material-group .composite21-issue,
.material-group .multi21-issue{
  color:var(--mat-issue-color,#00ff2a)!important;
}
.material-group .std22-value,
.material-group .number21-lines,
.material-group .composite21-group,
.material-group .multi21-group,
.material-group .rolling21-block{
  color:var(--mat-value-color,#fff400)!important;
}
.material-group .std22-result,
.material-group .number21-result,
.material-group .composite21-result,
.material-group .multi21-result{
  color:var(--mat-result-color,#fff400)!important;
}
.material-group .std22-row,
.material-group .composite21-row,
.material-group .multi21-row{
  border-bottom-color:var(--mat-line-color,#243474)!important;
}
.material-group .combo-hit,
.material-group mark.combo-hit{
  background:var(--mat-hit-bg,#fff000)!important;
  color:var(--mat-hit-color,#e31919)!important;
}

/* 属性说明：两列平均分。4组=2x2；3组=2+1居中；2组=同一行两列。 */
.material-annotation27.material-annotation-grid28{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(18px,5vw,72px);
  row-gap:2px;
  padding:7px clamp(20px,10vw,150px)!important;
  background:var(--mat-note-bg,#eef6ff)!important;
  color:var(--mat-note-color,#153f78)!important;
  text-align:left!important;
}
.material-annotation-grid28 .material-annotation-line27{
  display:block!important;
  min-width:0;
  white-space:nowrap!important;
  text-align:left!important;
  justify-self:stretch;
}
.material-annotation-grid28.note-count-1 .material-annotation-line27,
.material-annotation-grid28.note-count-3 .material-annotation-line27:last-child,
.material-annotation-grid28.note-count-5 .material-annotation-line27:last-child{
  grid-column:1/-1;
  justify-self:center;
  text-align:center!important;
}

/* 全部7个号码参与判定的资料：资料行 + 独立开奖结果行。 */
.v1028-full-scope-line{
  width:100%;box-sizing:border-box;
  background:var(--mat-body-bg,#4658b6)!important;
  color:var(--mat-result-color,#fff400)!important;
  border-top:1px solid var(--mat-line-color,#243474)!important;
  border-bottom:1px solid var(--mat-line-color,#243474)!important;
  font-weight:900!important;
  text-align:center!important;
  padding:7px 8px!important;
  white-space:nowrap!important;
}

@media(max-width:700px){
  .material-annotation27.material-annotation-grid28{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:6px 10px!important;
    column-gap:10px;
    font-size:13px!important;
  }
  .material-annotation-grid28 .material-annotation-line27{
    font-size:inherit!important;
    letter-spacing:-.15px;
  }
  .v1028-full-scope-line{
    font-size:clamp(10.5px,3vw,13px)!important;
    letter-spacing:-.2px!important;
    padding:6px 3px!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }
}
@media(max-width:390px){
  .material-annotation27.material-annotation-grid28{font-size:12px!important;padding-left:6px!important;padding-right:6px!important;column-gap:6px}
  .v1028-full-scope-line{font-size:10.3px!important;letter-spacing:-.28px!important}
}

/* V10.28 后台颜色同时覆盖一肖一码/稳中等特殊资料表格。 */
.material-group .yym-table,
.material-group .yym-row,
.material-group .stable21-table,
.material-group .stable21-row{
  background:var(--mat-special-bg,#ececec)!important;
}
.material-group .yym-prefix,
.material-group .yym-code-label,
.material-group .stable21-label{
  color:var(--mat-special-label,#26428f)!important;
}
.material-group .yym-zodiac-values,
.material-group .yym-code-values,
.material-group .stable21-zodiacs,
.material-group .stable21-codes{
  color:var(--mat-special-value,#e31919)!important;
}
.material-group .yym-period-footer,
.material-group .stable21-footer{
  background:var(--mat-period-bg,#dcecf9)!important;
  color:var(--mat-period-color,#26428f)!important;
}


/* =========================================================
   V10.29 punctuation + adaptive notes + full-scope period layout
   ========================================================= */

/* Attribute notes: keep long pairs as the original one-item-per-line format.
   Short sets stay compact and centered. */
.material-annotation27.material-annotation-grid28{
  width:100%;box-sizing:border-box;
  background:var(--mat-note-bg,#eef6ff)!important;
  color:var(--mat-note-color,#153f78)!important;
  padding:7px 10px!important;
  text-align:left!important;
}
.material-annotation-grid28.note-stack29{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:1px!important;
}
.material-annotation-grid28.note-stack29 .material-annotation-line27{
  display:block!important;
  width:max-content!important;
  max-width:96%!important;
  white-space:nowrap!important;
  text-align:left!important;
  justify-self:auto!important;
}
.material-annotation-grid28.note-compact29{
  display:grid!important;
  grid-template-columns:repeat(2,max-content)!important;
  justify-content:center!important;
  align-items:center!important;
  column-gap:clamp(24px,6vw,90px)!important;
  row-gap:2px!important;
}
.material-annotation-grid28.note-compact29 .material-annotation-line27{
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
  text-align:left!important;
  justify-self:start!important;
}
.material-annotation-grid28.note-compact29.note-count-1 .material-annotation-line27,
.material-annotation-grid28.note-compact29.note-count-3 .material-annotation-line27:last-child,
.material-annotation-grid28.note-compact29.note-count-5 .material-annotation-line27:last-child{
  grid-column:1/-1!important;
  justify-self:center!important;
  text-align:left!important;
}

/* Full 7-number judging materials: one issue = one compact two-line block.
   The two lines share the same left edge, font size and color. */
.fullscope29-period{
  width:100%;box-sizing:border-box;
  background:var(--mat-body-bg,#4658b6)!important;
  border-bottom:2px solid var(--mat-line-color,#243474)!important;
  padding:0!important;margin:0!important;
}
.fullscope29-line{
  width:min(980px,100%);box-sizing:border-box;margin:0 auto!important;
  color:var(--mat-value-color,#fff400)!important;
  font-size:clamp(14px,1.45vw,19px)!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-align:left!important;
  padding:7px 12px!important;
  white-space:normal!important;
}
.fullscope29-material{padding-bottom:4px!important;}
.fullscope29-draw{padding-top:4px!important;border-top:1px solid rgba(255,255,255,.16)!important;}
.fullscope29-material .combo-hit{
  background:var(--mat-hit-bg,#fff000)!important;
  color:var(--mat-hit-color,#e31919)!important;
}

/* Every-week material: remove the old thick white blank strip. */
.material-group .rolling21-block{
  border-bottom:1px solid var(--mat-line-color,#243474)!important;
  margin:0!important;
}
.material-group .rolling21-line{margin:0!important;}

@media(max-width:700px){
  .material-annotation27.material-annotation-grid28{padding:6px 8px!important;font-size:13px!important;}
  .material-annotation-grid28.note-stack29 .material-annotation-line27{width:max-content!important;max-width:98%!important;}
  .material-annotation-grid28.note-compact29{column-gap:18px!important;}
  .fullscope29-line{
    width:100%!important;
    padding-left:10px!important;padding-right:10px!important;
    font-size:clamp(11.5px,3.25vw,14px)!important;
    letter-spacing:-.1px!important;
  }
}
@media(max-width:390px){
  .material-annotation-grid28.note-compact29{column-gap:10px!important;font-size:12px!important;}
  .material-annotation-grid28.note-stack29 .material-annotation-line27{width:max-content!important;max-width:100%!important;}
  .fullscope29-line{font-size:clamp(10.8px,3.05vw,12.8px)!important;padding-left:7px!important;padding-right:7px!important;}
}


/* V10.30 full-result one-line + no inner pale divider */
.fullscope29-period{
  border-bottom:2px solid var(--mat-line-color,#243474)!important;
}
.fullscope29-material,
.fullscope29-draw{
  border-top:0!important;
  border-bottom:0!important;
}
.fullscope29-material{
  color:var(--mat-value-color,#fff400)!important;
}
.fullscope29-draw{
  color:var(--mat-result-color,#fff400)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
@media(max-width:700px){
  .fullscope29-line{
    padding-left:9px!important;
    padding-right:9px!important;
  }
  .fullscope29-draw{
    /* Start readable; JS reduces by 0.25px only when this exact line overflows. */
    font-size:13px!important;
    letter-spacing:-.12px!important;
    line-height:1.28!important;
    padding-top:5px!important;
    padding-bottom:6px!important;
  }
}
@media(max-width:390px){
  .fullscope29-draw{
    font-size:12.5px!important;
    letter-spacing:-.18px!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
}
