/* 首页横幅广告位（后台：广告设置 → 首页横幅）
   位置：首页「正在热播」下方；最多 3 条，上下并列、整页宽。
   高度固定 PC 115px / 手机 55px，图片 object-fit:fill —— 拉伸填满、不裁切（用户要求）。
   注：详情页横幅、播放页横幅、分类页横幅都复用这套样式，改这里三处一起生效。 */
.topbanner-wrap {
	width: 100%;
	margin: 10px 0
}
.topbanner-item {
	width: 100%;
	margin-bottom: 10px;
	overflow: hidden;
	border-radius: 8px
}
.topbanner-item:last-child {
	margin-bottom: 0
}
.topbanner-item img {
	width: 100%;
	height: 115px;
	display: block;
	object-fit: fill
}
@media (max-width: 559px) {
	.topbanner-item img {
		height: 55px
	}
}
/* 播放页专用：右侧「选集」模块 .player-box-side 是 position:absolute 的 380px 侧栏
   （只在 >=1239px 时绝对定位），会盖住同区域的全宽横幅。
   所以该断点下把播放页的横幅收窄成左侧内容列（与播放器/影片简介同宽），避开侧栏。 */
@media (min-width: 1239px) {
	.play .topbanner-wrap {
		width: calc(100% - 380px)
	}
}
/* 底部悬浮横幅广告（后台：广告设置 → 底部悬浮横幅）
   位置：全站所有页面固定悬浮在屏幕底边（由 public/foot.html 引入）。
   高度固定 PC 100px / 手机 55px，图片 object-fit:fill —— 拉伸填满、不裁切。
   右上角小叉点掉只关当次，刷新后仍会出现（与 69yingshipy 一致）。 */
.bottomfloat-wrap {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 9990;
	width: 100%
}
.bottomfloat-item {
	display: block;
	width: 100%;
	overflow: hidden;
	background: #000
}
.bottomfloat-item img {
	width: 100%;
	height: 100px;
	display: block;
	object-fit: fill
}
.bottomfloat-close {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	display: block;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	font-size: 14px;
	color: #fff;
	background: rgba(0, 0, 0, .45);
	cursor: pointer
}
.bottomfloat-close:hover {
	background: rgba(0, 0, 0, .75)
}
/* 广告出现时（JS 给 body 加 .has-bottomfloat）：页脚垫出高度别被盖住；
   右下角纸飞机按钮（.foot_right_bar）抬到广告上方 */
body.has-bottomfloat #footer {
	padding-bottom: 110px
}
body.has-bottomfloat .foot_right_bar {
	bottom: 150px
}
@media (max-width: 559px) {
	.bottomfloat-item img {
		height: 55px
	}
	body.has-bottomfloat #footer {
		padding-bottom: 65px
	}
	body.has-bottomfloat .foot_right_bar {
		bottom: 105px
	}
}
