/* 战神28：首页紧凑布局；不作用于聊天、历史查询等内页。 */
body.compact-home .home-dashboard{padding-top:10px}
body.compact-home .compact-heading{margin-bottom:10px;gap:12px;min-height:40px}
body.compact-home .compact-heading h1{font-size:24px}
body.compact-home .compact-heading .section-code{display:none}
body.compact-home .draw-focus{min-height:140px;padding:14px 20px;grid-template-columns:170px minmax(340px,1fr) 120px 170px;gap:16px}
body.compact-home .draw-number-stage{gap:5px}
body.compact-home .draw-numbers{gap:10px}
body.compact-home .draw-numbers b{width:60px;height:60px;font-size:42px}
body.compact-home .draw-numbers strong{width:66px;height:66px;font-size:40px}
body.compact-home .draw-numbers i{font-size:25px}
body.compact-home .draw-result-tags b{min-height:32px;font-size:17px}
body.compact-home .draw-result-tags b:last-child{font-size:14px}
body.compact-home .draw-issue strong{font-size:23px}
body.compact-home .draw-countdown strong{font-size:36px}
body.compact-home .draw-focus.mipai-active{min-height:250px}
body.compact-home .expanded-latest{margin-top:12px;padding:14px 18px}
body.compact-home .expanded-latest>header{margin-bottom:10px;gap:12px;align-items:center}
body.compact-home .expanded-latest>header h2{font-size:22px;line-height:1.25;margin:0}
body.compact-home .expanded-latest>header .section-code{display:none}
body.compact-home .expanded-latest>header p{font-size:12px;margin:4px 0 0}
body.compact-home .latest-page-status{font-size:12px;gap:4px}
body.compact-home .expanded-latest th,body.compact-home .expanded-latest td{padding:7px 10px;line-height:1.35}
body.compact-home .home-bluf{margin:16px 0;padding:10px 14px;font-size:13px}
@media(max-width:1050px) and (min-width:821px){
 body.compact-home .draw-focus{grid-template-columns:150px minmax(270px,1fr) 92px 145px;gap:10px;padding:14px}
 body.compact-home .draw-numbers{gap:6px}
 body.compact-home .draw-numbers b{width:48px;height:48px;font-size:34px}
 body.compact-home .draw-numbers strong{width:54px;height:54px;font-size:34px}
 body.compact-home .draw-issue strong{font-size:20px}
}
@media(max-width:820px){
 body.compact-home .research-wrap{width:calc(100% - 24px)}
 body.compact-home .home-dashboard{padding-top:8px}
 body.compact-home .compact-heading{min-height:36px;margin-bottom:8px}
 body.compact-home .compact-heading h1{font-size:18px;line-height:1.25}
 body.compact-home .compact-heading .sync-mini{display:none}
 body.compact-home .draw-focus{grid-template-columns:1fr 1fr;grid-template-areas:"issue countdown" "numbers numbers" "tags tags";padding:10px 12px;gap:7px;min-height:0}
 body.compact-home .draw-issue strong{font-size:18px;margin:2px 0}
 body.compact-home .draw-issue span,body.compact-home .draw-countdown span{font-size:11px}
 body.compact-home .draw-issue small,body.compact-home .draw-countdown small{font-size:10px}
 body.compact-home .draw-countdown{padding-left:10px}
 body.compact-home .draw-countdown strong{font-size:28px;margin:2px 0}
 body.compact-home .draw-number-stage{padding:6px 0;gap:4px}
 body.compact-home .draw-view-toolbar{min-height:28px;justify-content:space-between}
 body.compact-home .draw-view-toolbar button{min-height:28px;padding:3px 9px;font-size:11px}
 body.compact-home .draw-numbers{padding:3px 0;gap:8px}
 body.compact-home .draw-numbers b{width:42px;height:42px;font-size:30px}
 body.compact-home .draw-numbers strong{width:48px;height:48px;font-size:30px}
 body.compact-home .draw-numbers i{font-size:21px}
 body.compact-home .draw-result-tags{gap:6px}
 body.compact-home .draw-result-tags b,body.compact-home .draw-result-tags b:last-child{min-height:25px;font-size:13px}
 body.compact-home .expanded-latest{margin-top:8px;padding:10px 8px}
 body.compact-home .expanded-latest>header{display:flex;align-items:flex-start;margin-bottom:7px;gap:8px}
 body.compact-home .expanded-latest>header h2{font-size:18px;white-space:nowrap}
 body.compact-home .expanded-latest>header p{display:none}
 body.compact-home .latest-page-status{margin:0;font-size:10px;text-align:right;align-items:flex-end}
 body.compact-home .expanded-latest table{min-width:0;width:100%;font-size:11px}
 body.compact-home .expanded-latest th,body.compact-home .expanded-latest td{padding:7px 3px;white-space:nowrap}
 body.compact-home .expanded-latest th:nth-child(6),body.compact-home .expanded-latest td:nth-child(6){display:none}
 body.compact-home .expanded-latest td:last-child{font-size:10px}
}
body.compact-home .expanded-latest>header{padding:4px 0 8px}
@media(max-width:820px){
 body.compact-home .c28-nav .primary-nav{padding:0;gap:4px}
 body.compact-home .c28-nav .primary-nav a{min-height:40px;padding:4px 7px}
 body.compact-home .expanded-latest>header{padding:0 0 6px}
 body.compact-home .latest-page-status b{font-size:10px}
}

@media(max-width:820px){
 body.compact-home .draw-countdown{padding:6px 8px!important}
 body.compact-home .draw-result-tags b{padding:2px 7px!important}
}

@media(max-width:820px){
 body.compact-home .draw-focus{padding:8px 12px;gap:5px}
 body.compact-home .draw-number-stage{padding:3px 0}
 body.compact-home .expanded-latest>header{padding-bottom:2px}
}
