/* Homepage measurements against the reference at a 1536px viewport. */
@media (min-width:1101px) {
 .reference-home>.sidebar{gap:15px;}
 .reference-home #homeSidebarBanner{margin:0;padding:10.8px;height:165px;box-sizing:border-box;}
 .reference-home #homeSidebarBanner img{width:100%;height:145px;display:block;}
 .reference-home .reference-card-title h3{line-height:24px;}
 .reference-home .reference-card-title .period{line-height:19.2px;}
 .reference-home #homeLotteryGrid .lottery-card-links{right:24px;gap:24px;}
 .reference-home #homeLotteryGrid .lottery-card-links>a,
 .reference-home #homeLotteryGrid .lottery-card-links>button{display:inline-flex;align-items:center;justify-content:center;height:34px;min-width:64px;box-sizing:border-box;padding:0 4px;font-size:14px;line-height:20px;}
 .reference-home #homeLotteryGrid .lottery-card-links>.lottery-history-link,
 .reference-home #homeLotteryGrid .lottery-card-links>a[href^="#rules"]{display:none;}
 .reference-home #homeLotteryGrid .lottery-card-links>.home-live-link,
 .reference-home #homeLotteryGrid .lottery-card-links>.home-prediction-link{min-width:93.1125px;font-weight:600;color:#e8632c!important;}
 .reference-home #sidebarRate{border-radius:12px 12px 0 0;border-bottom:0;box-shadow:none;}
 .reference-home #homeCrownLinks,.reference-home #homeDividends{margin:-15px 0 0;border-top:0;box-shadow:none;}
 .reference-home #homeCrownLinks{border-radius:0;border-bottom:0;}
 .reference-home #homeDividends{border-radius:0 0 12px 12px;}
 .reference-home .home-new-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:14px;box-sizing:border-box;padding:0;margin-right:7px;font:700 8px/14px Tahoma,sans-serif;border-radius:2px;}
 .reference-home .home-result-table[data-family="pc28"] th:nth-child(1){width:35.48387%;}
 .reference-home .home-result-table[data-family="pc28"] th:nth-child(2),
 .reference-home .home-result-table[data-family="pc28"] th:nth-child(3){width:19.35484%;}
 .reference-home .home-result-table[data-family="pc28"] th:nth-child(4){width:25.80645%;}
 .desktop-notice .notice-expand{display:flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border:0;border-radius:50%;padding:0;background:#3b84eb;color:white;cursor:pointer;margin:0 14px;}
 .notice-expand svg{width:12px;height:12px;}
 .desktop-notice:has(.notice-expanded){overflow:visible;}
 .desktop-notice .notice-expanded{position:absolute;top:40px;right:120px;max-width:460px;padding:12px 16px;background:white;color:#313131;box-shadow:0 2px 10px #37393b20;border:1px solid #eef2f7;border-radius:8px;z-index:101;}
 .navbar-simple-link .simple-bolt-icon{width:18px;height:18px;flex:none;}
 .reference-footer-nav{flex-basis:546px;justify-content:flex-start;}
 .reference-footer-nav dl{flex:0 0 226.95px;}
 .reference-footer-nav dl:last-child{flex:0 0 auto;}
}
/* PC28 equation: space follows each ball, rather than both sides of every symbol. */
@media(min-width:1101px){
 .reference-home #homeLotteryGrid .lottery-card-numbers .pc28-equation{gap:0;transform:translateY(.3875px);}
 .reference-home #homeLotteryGrid .pc28-equation .ball{margin-right:10px;}
 .reference-home #homeLotteryGrid .pc28-equation .ball:last-child{margin-right:0;}
 .reference-home #homeLotteryGrid .pc28-equation .equation-symbol{height:32px;line-height:32px;}
}
/* Homepage result colors, action markers and configured contact. */
.reference-home .pc28-sum.pc28-red{background:transparent url("../images/ui/pc28-ball-red.png") center/100% 100% no-repeat!important;}
.reference-home .pc28-sum.pc28-green{background:transparent url("../images/ui/pc28-ball-green.png") center/100% 100% no-repeat!important;}
.reference-home .pc28-sum.pc28-blue{background:transparent url("../images/ui/pc28-ball-blue.png") center/100% 100% no-repeat!important;}
.reference-home .pc28-sum.pc28-gray{background:#999!important;}
.reference-home #sidebarRate .card-header>.fa-coins{width:16px;height:16px;border-radius:4px;background:linear-gradient(135deg,#f6d365,#fda085);font-size:0;}
.reference-home #sidebarRate .card-header>.fa-coins::before{content:none;}
body:has(.reference-home) .prediction-contact.home-contact{display:flex;}
.reference-home .home-hero-empty{min-height:198px;display:flex;align-items:center;justify-content:center;}
@media(min-width:1101px){
 .reference-home .home-new-badge{height:14px;line-height:14px;border-radius:0;transform:translateY(1.6px);clip-path:none;background:transparent url("https://kai365.cc/ref/ico-new.svg") center/22px 14px no-repeat;font-size:0;}
 .navbar-menu .nav-dropdown-toggle i::before{transform:scale(.45);transform-origin:center;font-weight:700;}
}

@media(min-width:1101px){.reference-home .home-result-table:is([data-family="pc28"],[data-family="pk10"]) td>span{display:inline-block;width:60px;line-height:22px;text-align:center;}}

@font-face{font-family:HomeDigital;src:url(../assets/fonts/DS-Digital-Bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap;}
.reference-home .home-cd-number,.reference-home .home-cd-unit{font-family:HomeDigital,"Barlow Condensed","Microsoft YaHei",sans-serif;}
@media(min-width:1101px){
 .reference-home #homeLotteryGrid .lottery-card-countdown-line{align-items:center;}
 .reference-home #homeLotteryGrid .lottery-card-countdown-line .countdown-value{display:block;height:36px;font-size:0;line-height:36px;transform:translateY(-1.2px);}
 .reference-home #homeLotteryGrid .home-cd-number{display:inline-block;vertical-align:baseline;}
 .reference-home #homeLotteryGrid .home-cd-unit{display:inline;vertical-align:baseline;}
}
/* PC28 component balls use the same blue artwork as the reference. */
.reference-home #homeLotteryGrid .pc28-equation .ball-pc28:not(.pc28-sum){background:transparent url("../images/ui/pc28-ball-blue.png") center/100% 100% no-repeat;}
@media(min-width:1101px){
 .navbar.reference-sticky .navbar-menu>a,.navbar.reference-sticky .nav-lottery-group>a{padding-left:15px;padding-right:15px;font-size:16px;}
 .navbar.reference-sticky .nav-lottery-group>a{padding-right:35px!important;}
 .reference-home #sidebarRate,.reference-home #homeCrownLinks,.reference-home #homeDividends{margin:0;border:1px solid #eef2f7;border-radius:12px;overflow:hidden;}
 .reference-home .home-rate-list li{height:28px;box-sizing:border-box;padding:6px 8px;line-height:14px;}
 .reference-home .home-rate-list strong{margin-left:0;font:700 12px/14px Tahoma,sans-serif;flex:1;}
 .reference-home .home-rate-list.company li{background:#fff7ed;}
 .reference-home .home-rate-list.company strong{color:#e11d48;}
 .reference-home .home-crown-group ul{grid-template-columns:repeat(2,minmax(0,1fr));background:#e2e8f0;}
 .reference-home #homeCrownLinks .card-header>i{width:16px;height:16px;border-radius:4px;background:linear-gradient(135deg,#7dd3fc,#0284c7);font-size:0;}
 .reference-home #homeCrownLinks .card-header>i::before{content:none;}
 .reference-home #homeDividends .card-header>i{width:16px;height:16px;flex:none;border-radius:4px;background:linear-gradient(135deg,#6aa8ff,#3b7ddd);font-size:0;}
 .reference-home #homeDividends .card-header>i::before{content:none;}
 .reference-home .recommend-expand>i{display:none;}
 .lottery-menu-unavailable{position:relative;flex-wrap:wrap;}
 .lottery-menu-unavailable>span{overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;}
 .lottery-menu-unavailable>small{display:block;flex-basis:100%;font-size:9px;line-height:10px;}
}
/* Sidebar columns and compact dividend rows measured against the reference. */
@media(min-width:1101px){
 .reference-home .home-result-table:is([data-family="pk10"],[data-family="ssc"]){width:calc(100% + 26.2px);}
 .reference-home .home-result-table[data-family="ssc"] th:first-child{width:36.47643%;}
 .reference-home .home-result-table[data-family="ssc"] th:not(:first-child){width:15.88089%;}
 .reference-home .home-result-table[data-family="ssc"] td>span{display:inline-block;width:60px;line-height:22px;text-align:center;}
 body:has(.reference-home) .reference-footer-nav a{letter-spacing:1px;}
 .reference-home .home-crown-group[data-group="代理"] li:last-child:nth-child(odd){grid-column:1 / -1;}
 .reference-home .home-rate-list li>span{flex:0 0 72px;}
 .reference-home .home-rate-list em{min-width:0;flex:none;}
 .reference-home .home-dividend-table td,.reference-home .home-dividend-table th{padding:7px 8px;line-height:16px;}
 .reference-home .home-dividend-table td:nth-child(2){font-size:11px;line-height:14.85px;}
 .reference-home .home-dividend-table{table-layout:fixed;}
 .reference-home .home-dividend-table th:nth-child(1){width:18%;}
 .reference-home .home-dividend-table th:nth-child(2){width:50%;}
 .reference-home .home-dividend-table th:nth-child(3){width:32%;}
 .reference-home .home-dividend-table th{line-height:16.4px;}
 .reference-home .home-dividend-table tbody tr:last-child td{border-bottom:0;}
}
@media(min-width:1101px){
 #navLotteryDropdown .lottery-menu-unavailable{height:28px;box-sizing:border-box;padding:0 8px 10px;flex-wrap:nowrap;gap:3px;font-size:12px;line-height:14px;}
 #navLotteryDropdown .lottery-menu-unavailable>span{overflow:visible;text-overflow:clip;white-space:nowrap;flex:none;}
 #navLotteryDropdown .lottery-menu-unavailable>small{position:absolute;left:8px;bottom:0;font-size:9px;line-height:10px;}
 #navLotteryDropdown .lottery-menu-unavailable .lottery-menu-new{flex:none;background:white;}
}
