/* MB LIVESPORTS ads (mb-ads) — 横幅卡片。热区坐标只来自 hotspots.json（内联百分比），这里不写像素位置。 */
.mb-ads-slot{
	--mb-ads-gold:var(--gold,#d4af37);
	display:block;box-sizing:border-box;width:100%;max-width:1200px;margin:28px auto;padding:0;
	contain:layout;
}
.mb-ads-slot *,.mb-ads-slot *::before,.mb-ads-slot *::after{box-sizing:border-box}

/* 预留比例盒：1024/400 = 2.56，图片到达前不跳动（CLS = 0） */
.mb-ads-box{
	position:relative;width:100%;aspect-ratio:256 / 100;overflow:hidden;
	border-radius:18px;
	background:#0b0f1a radial-gradient(120% 140% at 85% 0%,rgba(212,175,55,.16) 0%,rgba(11,15,26,0) 55%);
	border:1px solid rgba(212,175,55,.42);
	box-shadow:0 10px 30px rgba(5,8,16,.28),inset 0 0 0 1px rgba(255,255,255,.03);
	isolation:isolate;
}
@supports not (aspect-ratio:1 / 1){
	.mb-ads-box{height:0;padding-top:39.0625%}
}

/* 主体链接铺满（下层） */
.mb-ads-body{position:absolute;inset:0;z-index:1;display:block;line-height:0;outline-offset:-3px;border-radius:inherit}
.mb-ads-body picture{display:block;width:100%;height:100%}
.mb-ads-img{display:block;width:100%;height:100%;object-fit:cover;border:0;max-width:none}
.mb-ads-body:focus-visible{outline:3px solid var(--mb-ads-gold)}

/* 赞助商热区（上层，优先接收点击） */
.mb-ads-hs{
	position:absolute;z-index:3;display:block;
	background:transparent;border-radius:999px;
	-webkit-tap-highlight-color:rgba(212,175,55,.25);
	transition:box-shadow .15s ease,background-color .15s ease;
}
.mb-ads-hs:hover{background:rgba(255,255,255,.06);box-shadow:0 0 0 1px rgba(212,175,55,.55)}
.mb-ads-hs:focus-visible{outline:2px solid var(--mb-ads-gold);outline-offset:1px}
.mb-ads-hs--m{display:none}

/* 热区缺失时的文字链接行 */
.mb-ads-row{margin:8px 4px 0;font-size:13px;line-height:1.5;color:#64748b;text-align:right}
.mb-ads-row span{opacity:.8}
.mb-ads-row a{color:inherit;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(212,175,55,.6)}
.mb-ads-row a:hover{color:var(--mb-ads-gold)}
.mb-ads-row i{font-style:normal;opacity:.6}
.mb-ads-row--m{display:none}

/* 位置 */
.mb-ads-slot--home{margin:32px auto 28px}
.mb-ads-slot--scores,.mb-ads-slot--news{margin:0 auto 24px}
.mb-ads-slot--hero{margin:4px auto 18px}
/* 项目页 / 积分榜：横幅就是主视觉，隐藏原来的小图标（h1 与简介保留） */
.mb-ads-slot--hero + .mbsd-hero > p:first-child{display:none}

/* 暗色背景（首页）上略提亮边框 */
.mbsd-page--home .mb-ads-box{border-color:rgba(212,175,55,.55);box-shadow:0 14px 40px rgba(0,0,0,.45)}

@media (max-width:700px){
	.mb-ads-box{border-radius:14px}
	.mb-ads-hs--d{display:none}
	.mb-ads-hs--m{display:block}
	.mb-ads-row--d{display:none}
	.mb-ads-row--m{display:block}
	.mb-ads-row{text-align:center}
	.mb-ads-slot--home{margin:22px auto 20px}
	.mb-ads-slot--scores,.mb-ads-slot--news{margin-bottom:18px}
	.mb-ads-slot--hero{margin:0 auto 14px}
}
@media (prefers-reduced-motion:reduce){
	.mb-ads-hs{transition:none}
}
@media (forced-colors:active){
	.mb-ads-hs:focus-visible{outline:2px solid CanvasText}
}
