/* AI短剧：列表角标、播放页、VIP 购买 */
.live-badge.ai-badge,
.ai-badge {
	background: rgba(255, 45, 85, 0.9) !important;
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}
.live-badge.ai-badge i,
.ai-badge i {
	display: none;
}
.ai-cover-badges {
	position: absolute;
	left: 8px;
	top: 8px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 4px;
}
.ai-card .ai-cover-badges .live-badge {
	position: static;
}
.ai-today-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 4px;
	background: #ff2d55;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.avatarbox dd h1 {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 46px;
	overflow: hidden;
}
.avatarbox dd h1 .ai-vip-tag {
	flex-shrink: 0;
	display: inline-block;
	padding: 1px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	line-height: 18px;
	color: #3d1a00;
	background: linear-gradient(90deg, #ffe58f 0%, #ffb347 100%);
	box-shadow: 0 0 10px rgba(255, 184, 51, 0.85);
	animation: aiVipTagPulse 1.6s ease-in-out infinite;
}
@keyframes aiVipTagPulse {
	0%, 100% { box-shadow: 0 0 8px rgba(255, 184, 51, 0.55); }
	50% { box-shadow: 0 0 14px rgba(255, 210, 80, 1); }
}

.ai-auto-acc {
	margin: 10px 12px 4px;
	padding: 12px 12px 10px;
	border-radius: 12px;
	background: linear-gradient(180deg, #2a1a22 0%, #1c1418 100%);
	border: 1px solid rgba(255, 211, 106, 0.28);
	color: #f4e6d8;
}
.ai-auto-acc-hd {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: #ffe08a;
	line-height: 1.4;
}
.ai-auto-acc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ai-auto-acc li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	font-size: 13px;
}
.ai-auto-acc li span {
	flex: 0 0 64px;
	color: #c9b8a8;
}
.ai-auto-acc li em {
	flex: 1;
	min-width: 0;
	font-style: normal;
	font-weight: 700;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ai-auto-copy {
	flex-shrink: 0;
	height: 26px;
	padding: 0 10px;
	border: 0;
	border-radius: 13px;
	background: rgba(255, 224, 138, 0.18);
	color: #ffe08a;
	font-size: 12px;
	font-weight: 700;
}
.ai-auto-acc-ops {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
}
.ai-auto-copy-all {
	flex: 1;
	height: 34px;
	border: 0;
	border-radius: 17px;
	background: linear-gradient(90deg, #ffd9e8, #ffd4c8);
	color: #8a3d58;
	font-size: 13px;
	font-weight: 700;
}
.ai-auto-acc-ops a {
	flex-shrink: 0;
	color: #9ad0ff !important;
	font-size: 12px;
	text-decoration: none !important;
}
.ai-auto-acc-tip {
	margin: 8px 0 0;
	font-size: 11px;
	line-height: 1.45;
	color: #b9a99a;
}
.ai-welcome-mask {
	position: fixed;
	left: 50%;
	top: 0;
	bottom: 0;
	z-index: 1200;
	width: min(100%, 520px);
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(0, 0, 0, .55);
	box-sizing: border-box;
}
.ai-welcome {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 18px 14px 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, #2a1a22 0%, #1c1418 100%);
	border: 1px solid rgba(255, 211, 106, .28);
	color: #f4e6d8;
	box-sizing: border-box;
}
.ai-welcome-x {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 22px;
	line-height: 28px;
}
.ai-welcome-title {
	margin: 0 22px 12px 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: #ffe08a;
}
.ai-welcome ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ai-welcome li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	font-size: 13px;
}
.ai-welcome li span {
	flex: 0 0 64px;
	color: #c9b8a8;
}
.ai-welcome li em {
	flex: 1;
	min-width: 0;
	font-style: normal;
	font-weight: 700;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ai-welcome .ai-auto-copy-all {
	width: 100%;
	margin-top: 12px;
}
.ai-welcome-ok {
	width: 100%;
	height: 38px;
	margin-top: 8px;
	border: 0;
	border-radius: 19px;
	background: linear-gradient(90deg, #ffd9e8, #ffd4c8);
	color: #8a3d58;
	font-size: 14px;
	font-weight: 800;
}

footer.tabbar a.tab-ai-link .tab-new {
	position: absolute;
	top: 2px;
	right: 10px;
	z-index: 2;
	font-size: 10px;
	color: #ff2d55;
	font-weight: 800;
	font-style: normal;
	line-height: 1;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.45);
}

.ai-play-page {
	position: absolute;
	inset: 0;
}

.ai-play-page .live-player-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #000;
}
.ai-player-poster {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background: #000;
}
.ai-player-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}
.ai-play-page .live-player-wrap video,
#aiVideo {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	transform: translate(-50%, -50%);
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center center !important;
	background: transparent !important;
	display: block;
}

.ai-play-ui {
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 8;
	background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 18%, transparent 58%, rgba(0,0,0,.55) 100%);
}

.ai-bottom-dock {
	pointer-events: none;
	position: fixed;
	left: 50%;
	bottom: 0;
	z-index: 40;
	width: min(100vw, 520px);
	transform: translateX(-50%);
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 36%, rgba(0,0,0,.82) 100%);
}
.ai-bottom-dock .ai-title,
.ai-bottom-dock .ai-seek,
.ai-bottom-dock .ai-epbar {
	pointer-events: auto;
}
.ai-title {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-shadow: 0 1px 6px rgba(0,0,0,.6);
	padding: 0 2px 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ai-seek {
	height: 22px;
	margin: 0 2px 10px;
	display: flex;
	align-items: center;
	touch-action: none;
}
.ai-seek-track {
	position: relative;
	width: 100%;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.32);
}
.ai-seek-played {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	border-radius: 2px;
	background: #ff2d55;
}
.ai-seek-thumb {
	position: absolute;
	top: 50%;
	left: 0;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	margin-top: -6px;
	border-radius: 50%;
	background: #ff2d55;
	box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.22);
	pointer-events: none;
}

.ai-side {
	pointer-events: auto;
	position: absolute;
	right: 10px;
	bottom: calc(148px + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
}

.ai-side-btn {
	pointer-events: auto;
	background: none;
	border: 0;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 0;
	cursor: pointer;
	display: block;
}
.ai-side-btn em {
	display: block;
	font-size: 11px;
	font-style: normal;
	margin-top: 2px;
	text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.ai-side-btn b {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.ai-side-ico {
	display: flex;
	width: 44px;
	height: 44px;
	margin: 0 auto 2px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.35);
	font-size: 20px;
	line-height: 1;
}
.ai-side-btn.fav .ai-side-ico {
	font-size: 22px;
	color: #ffe08a;
}
.ai-side-btn.fav.disabled .ai-side-ico,
.ai-side-btn.fav.active .ai-side-ico,
.ai-side-btn.fav.isfavorite .ai-side-ico {
	color: #ffd36a;
	background: rgba(255, 211, 106, 0.28);
	box-shadow: 0 0 10px rgba(255, 211, 106, 0.45);
}
.ai-side-btn.fav em {
	color: #ffe08a;
}

.ai-epbar {
	pointer-events: auto;
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	z-index: 1;
	width: 100%;
	max-width: none;
	height: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: rgba(70, 70, 74, 0.92);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px;
	font-size: 13px;
	cursor: pointer;
	transform: none;
	box-sizing: border-box;
}
.ai-epbar i {
	font-style: normal;
	opacity: .8;
}

.ai-epmask {
	position: fixed;
	inset: 0;
	z-index: 41;
	background: rgba(0,0,0,.45);
}
.ai-epdrawer {
	position: fixed;
	left: 50%;
	right: auto;
	bottom: 0;
	z-index: 42;
	width: min(100vw, 520px);
	max-height: 58%;
	background: #1c1c20;
	border-radius: 14px 14px 0 0;
	padding: 12px 12px calc(20px + env(safe-area-inset-bottom, 0px));
	overflow: auto;
	transform: translateX(-50%);
	box-sizing: border-box;
}
.ai-epdrawer-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	margin-bottom: 10px;
	font-size: 15px;
}
.ai-epdrawer-hd button {
	border: 0;
	background: none;
	color: #bbb;
	font-size: 13px;
}
.ai-eplist {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ai-eplist li {
	height: 38px;
	border-radius: 8px;
	background: #2a2a30;
	color: #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	cursor: pointer;
	position: relative;
}
.ai-eplist li.on {
	background: linear-gradient(90deg, #ff2d55, #ff6b9a);
	color: #fff;
	font-weight: 700;
}
.ai-eplist li.lock::after {
	content: '锁';
	position: absolute;
	top: 2px;
	right: 4px;
	font-size: 10px;
	color: #ffb4c0;
}

.ai-play-page:has(#aiLock:not([hidden])) .live-player-tap,
.ai-play-page:has(#aiEnded:not([hidden])) .live-player-tap {
	display: none !important;
}
.ai-lock,
.ai-ended {
	position: absolute;
	inset: 0;
	z-index: 40;
	background: rgba(10, 8, 12, 0.72);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}
.ai-lock-close {
	position: absolute;
	top: calc(12px + env(safe-area-inset-top, 0px));
	right: 12px;
	z-index: 42;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.38);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 28px;
	font-weight: 300;
	line-height: 36px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.ai-lock-close:active {
	transform: scale(0.94);
	background: rgba(255, 255, 255, 0.28);
}
.ai-lock[hidden],
.ai-ended[hidden],
.ai-epmask[hidden],
.ai-epdrawer[hidden] {
	display: none !important;
}
.ai-lock-inner h3,
.ai-ended-inner h3 {
	color: #fff;
	font-size: 18px;
	margin: 12px 0 8px;
	font-weight: 700;
}
.ai-lock-inner p,
.ai-ended-inner p {
	color: #cfcfd4;
	font-size: 13px;
	margin-bottom: 18px;
}
.ai-lock-inner p.ai-lock-tip {
	margin: 16px 0 12px;
	color: #ffe08a;
	font-size: 12px;
	line-height: 1.5;
}
.ai-lock-app {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffd9e8, #ffd4c8);
	color: #8a3d58 !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 4px 12px rgba(255, 170, 186, 0.28);
}
.ai-lock-icon {
	font-size: 42px;
	line-height: 1;
}
.ai-lock-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 220px;
	height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff2d9a, #ff5c7a);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 8px 20px rgba(255, 45, 122, 0.4);
	position: relative;
}
.ai-lock-btn span {
	position: absolute;
	top: -8px;
	right: 10px;
	background: #ffd36a;
	color: #7a3a00;
	font-size: 10px;
	padding: 1px 6px;
	border-radius: 8px;
}

/* VIP 购买页 */
.ai-vip-body {
	background: #0c0c10;
	color: #eee;
	margin: 0;
}
.ai-vip-app {
	max-width: 520px;
	margin: 0 auto;
	padding: 0 14px 40px;
	box-sizing: border-box;
}
.ai-vip-nav {
	display: flex;
	align-items: center;
	height: 48px;
	position: relative;
}
.ai-vip-back {
	color: #fff;
	font-size: 26px;
	text-decoration: none;
	width: 32px;
}
.ai-vip-tabs {
	flex: 1;
	display: flex;
	justify-content: center;
	gap: 22px;
	font-size: 16px;
}
.ai-vip-tabs a,
.ai-vip-tabs span {
	color: #9aa3b5;
	text-decoration: none;
	padding-bottom: 6px;
}
.ai-vip-tabs a.on,
.ai-vip-tabs span.on {
	color: #f5d27a;
	border-bottom: 2px solid #f5d27a;
	font-weight: 700;
}
.ai-vip-record {
	color: #cfcfd4;
	font-size: 12px;
	text-decoration: none;
}
.ai-vip-hero {
	margin: 10px 0 16px;
	padding: 18px 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, #3a2a12, #1a140c 55%, #24180e);
	display: flex;
	align-items: center;
	gap: 12px;
}
.ai-vip-v {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ffe08a, #c9972a);
	color: #5a3a00;
	font-size: 28px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ai-vip-hero h2 {
	margin: 0 0 4px;
	font-size: 18px;
	color: #ffe7a8;
}
.ai-vip-hero p {
	margin: 0;
	font-size: 12px;
	color: #d9c48a;
}
.ai-vip-priv h3 {
	font-size: 14px;
	margin: 0 0 10px;
	color: #f5d27a;
	text-align: center;
}
.ai-vip-priv ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}
.ai-vip-priv li {
	text-align: center;
	font-size: 12px;
	color: #ddd;
}
.ai-vip-priv i {
	display: flex;
	width: 36px;
	height: 36px;
	margin: 0 auto 4px;
	border-radius: 10px;
	background: #1c1c24;
	align-items: center;
	justify-content: center;
	font-style: normal;
	color: #f5d27a;
	font-size: 12px;
	font-weight: 700;
}
.ai-vip-priv em {
	display: block;
	font-style: normal;
	font-size: 10px;
	color: #8b8b96;
	margin-top: 2px;
}
.ai-vip-packs {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	gap: 8px;
	margin-bottom: 18px;
}
.ai-pack {
	position: relative;
	border: 1px solid #2a2a32;
	background: #16161c;
	color: #fff;
	border-radius: 12px;
	padding: 14px 8px 12px;
	text-align: center;
	cursor: pointer;
}
.ai-pack.featured {
	border-color: #7b4dff;
	background: linear-gradient(180deg, #3a2a78, #1a1438);
	transform: scale(1.04);
}
.ai-pack.on {
	box-shadow: 0 0 0 1px #f5d27a;
}
.ai-pack-tag {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ff4d6d;
	color: #fff;
	font-size: 10px;
	padding: 2px 8px;
	border-radius: 8px;
}
.ai-pack-name {
	font-size: 13px;
	margin-bottom: 6px;
}
.ai-pack-price {
	font-size: 26px;
	font-weight: 800;
	color: #ffd36a;
}
.ai-pack-price em {
	font-size: 13px;
	font-style: normal;
	margin-right: 2px;
}
.ai-pack-sub {
	font-size: 11px;
	color: #9aa3b5;
	margin-top: 6px;
}
.ai-vip-payway-t {
	font-size: 13px;
	margin-bottom: 8px;
}
.ai-pay-alipay {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #1677ff;
	color: #fff;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
}
.ai-vip-note {
	font-size: 12px;
	color: #9aa3b5;
	margin: 16px 0 12px;
}
.ai-vip-submit {
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #f5d27a, #e0a43a);
	color: #3a2500;
	font-size: 16px;
	font-weight: 800;
}
.ai-vip-submit[disabled] {
	opacity: .65;
}
.ai-vip-safe {
	text-align: center;
	font-size: 12px;
	color: #7a8494;
	margin: 10px 0;
}
.ai-vip-tips {
	font-size: 12px;
	color: #8b8b96;
	line-height: 1.7;
	margin-top: 10px;
}
.ai-vip-tips b {
	color: #d0d0d6;
}
.ai-ok-page {
	max-width: 520px;
	margin: 0 auto;
	padding: 48px 16px;
	text-align: center;
}
.ai-ok-card {
	background: #16161c;
	border-radius: 16px;
	padding: 36px 20px;
}
.ai-ok-icon {
	width: 64px;
	height: 64px;
	line-height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
	font-size: 32px;
	font-weight: 700;
}
.ai-ok-card h2 {
	color: #fff;
	margin: 0 0 8px;
}
.ai-ok-card p {
	color: #9aa3b2;
	font-size: 14px;
}
.ai-ok-meta {
	color: #7a8494;
	font-size: 12px;
	margin: 16px 0;
	word-break: break-all;
}
.ai-ok-sub {
	display: block;
	margin-top: 14px;
	color: #9aa3b5;
	font-size: 13px;
}

.ai-pager {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 10px calc(72px + env(safe-area-inset-bottom, 0px));
	white-space: nowrap;
}
.ai-pager-btn,
.ai-pager-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 34px;
	padding: 0 8px;
	border-radius: 4px;
	background: transparent;
	color: #c5c9d3 !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 600;
	box-sizing: border-box;
}
.ai-pager-num.on {
	color: #ff2d55 !important;
}
.ai-pager-btn.is-off {
	opacity: .35;
	pointer-events: none;
}
.ai-pager-total {
	color: #9aa3b5;
	font-size: 15px;
	padding: 0 2px;
}

body.ai-home-body,
body.ai-home-body #app,
body.ai-vip-body {
	background: #0e0f13;
	color: #f3f4f6;
}
.ai-home,
.vodlistbox {
	padding-bottom: 72px;
}
.ai-top-ad-wrap {
	margin: 8px 14px 0;
	overflow: hidden;
	border-radius: 12px;
}
.ai-top-ad-wrap:not(:has(a)) {
	display: none;
}
.ai-top-ad {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ai-top-ad::-webkit-scrollbar { display: none; }
.ai-top-ad a {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: block;
	border-radius: 0;
	overflow: hidden;
	background: #17181f;
}
.ai-top-ad img {
	width: 100%;
	height: auto;
	display: block;
}
.ai-top-ad-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 8px 0 2px;
}
.ai-top-ad-dots:empty { display: none; }
.ai-top-ad-dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: #3a3d48;
}
.ai-top-ad-dots button.on {
	width: 16px;
	background: #ff2d55;
}
.ai-topbar {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 12px;
	box-sizing: border-box;
	position: sticky;
	top: 0;
	z-index: 40;
	background: #111216;
}
.ai-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 36px;
	max-width: 112px;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	letter-spacing: 0;
}
.ai-logo img {
	height: 36px;
	width: auto;
	max-width: 112px;
	object-fit: contain;
	display: block;
}
.ai-top-search {
	flex: 1;
	min-width: 0;
	height: 34px;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0 12px;
	border-radius: 999px;
	background: #1b1e27;
	border: 1px solid rgba(255,255,255,.06);
	color: #8d95a6;
	text-decoration: none;
	font-size: 13px;
	box-sizing: border-box;
}
.ai-top-search span,
.ai-top-search input {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ai-top-search input {
	height: 32px;
	border: 0;
	outline: none;
	background: transparent;
	color: #fff;
	font-size: 13px;
	padding: 0;
}
.ai-top-search input::placeholder {
	color: #8d95a6;
}
.ai-top-search svg {
	flex: 0 0 auto;
}
.ai-top-user {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.label-searchbox header.ai-topbar,
.vod-searchbox header.ai-topbar {
	height: 52px;
	background: #111216;
}
.ai-vip-app > .ai-topbar {
	width: calc(100% + 28px);
	margin: 0 -14px;
}
.ai-hero-wrap {
	margin: 8px 14px 4px;
	overflow: hidden;
	border-radius: 16px;
}
.ai-hero {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0;
	-webkit-overflow-scrolling: touch;
}
.ai-hero::-webkit-scrollbar { display: none; }
.ai-hero-slide {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	gap: 12px;
	padding: 12px;
	border-radius: 16px;
	background: linear-gradient(135deg, #241820, #141820);
	text-decoration: none;
	color: #fff;
	box-sizing: border-box;
}
.ai-hero-cover {
	width: 108px;
	height: 152px;
	flex: 0 0 108px;
	border-radius: 10px;
	overflow: hidden;
	background: #111;
}
.ai-hero-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ai-hero-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.ai-hero-copy h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.3;
}
.ai-hero-copy p {
	margin: 0;
	color: #c5c9d3;
	font-size: 13px;
	line-height: 1.5;
	max-height: 4.5em;
	overflow: hidden;
}
.ai-hero-meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #f5d27a;
	font-size: 12px;
}
.ai-hero-play {
	margin-left: auto;
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff6a86, #ff2d55);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	box-shadow: 0 6px 14px rgba(255, 45, 85, .35);
}
.ai-sortbar {
	display: flex;
	gap: 8px;
	padding: 8px 14px 0;
}
.ai-sortbar a {
	padding: 6px 14px;
	border-radius: 999px;
	background: #1b1d24;
	color: #c5c9d3;
	text-decoration: none;
	font-size: 13px;
}
.ai-sortbar a.on {
	background: #ff2d55;
	color: #fff;
}
.ai-empty {
	margin: 16px 14px;
	color: #9aa3b5;
	font-size: 13px;
	line-height: 1.6;
}
.ai-coin-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(245, 210, 122, .95);
	color: #3a2500;
	font-size: 10px;
	font-weight: 800;
}
.ai-coin-badge.free {
	background: rgba(255,255,255,.16);
	color: #fff;
}
footer.tabbar a .tab-ico-coin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #3a3324;
	color: #f5d27a;
	font-size: 13px;
	font-weight: 800;
	line-height: 25px;
}
footer.tabbar a .tab-ico-coin.on {
	background: #f5d27a;
	color: #3a2500;
}
footer.tabbar a .tab-ico-zone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #3a2430;
	color: #ff8aa3;
	font-size: 12px;
	font-weight: 800;
	line-height: 25px;
}
footer.tabbar a .tab-ico-zone.on {
	background: #ff2d55;
	color: #fff;
}
footer.tabbar a h6 {
	font-size: 11px;
}
.ai-zone-menu {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 10px 14px 4px;
	scrollbar-width: none;
}
.ai-zone-menu::-webkit-scrollbar { display: none; }
.ai-zone-menu a {
	flex: 0 0 auto;
	padding: 6px 14px;
	border-radius: 999px;
	background: #1b1d24;
	color: #c5c9d3;
	text-decoration: none;
	font-size: 13px;
}
.ai-zone-menu a.on {
	background: #ff2d55;
	color: #fff;
}
.ai-zone-empty {
	margin: 18px 14px;
	padding: 18px 14px;
	border-radius: 14px;
	background: #17181f;
	color: #c5c9d3;
	font-size: 14px;
	line-height: 1.6;
}
.ai-zone-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 10px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0 14px 12px;
}
.ai-zone-grid a {
	color: inherit;
	text-decoration: none;
}
.ai-zone-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 14px 14px 8px;
}
.ai-zone-head h1 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
.ai-zone-head a {
	color: #9aa3b5;
	font-size: 13px;
	text-decoration: none;
}
.ai-zone-slide {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	margin: 8px 14px 4px;
	border-radius: 14px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ai-zone-slide::-webkit-scrollbar { display: none; }
.ai-zone-slide-item {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	scroll-snap-align: start;
	aspect-ratio: 16 / 9;
	background: #17181f;
	text-decoration: none;
	color: #fff;
}
.ai-zone-slide-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ai-zone-slide-item em {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 2px 7px;
	border-radius: 6px;
	background: linear-gradient(180deg, #ffe08a, #e0a83a);
	color: #3a2500;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
}
.ai-zone-slide-item span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 12px 10px;
	background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}
.ai-zone-cover {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #17181f;
	aspect-ratio: 16 / 10;
}
.ai-zone-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ai-zone-cover em {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 2px 7px;
	border-radius: 6px;
	background: linear-gradient(180deg, #ffe08a, #e0a83a);
	color: #3a2500;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	line-height: 16px;
}
.ai-zone-cover i {
	position: absolute;
	right: 6px;
	bottom: 6px;
	padding: 0 6px;
	height: 18px;
	line-height: 18px;
	border-radius: 9px;
	background: rgba(0,0,0,.55);
	color: #fff;
	font-style: normal;
	font-size: 11px;
}
.ai-zone-grid h3 {
	margin: 8px 2px 0;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	max-height: 2.7em;
	overflow: hidden;
}
.ai-zone-play {
	padding: 8px 14px 88px;
}
.ai-zone-back {
	display: inline-block;
	margin: 6px 0 10px;
	color: #f3f4f6;
	text-decoration: none;
	font-size: 15px;
}
.ai-zone-stage {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
}
.ai-zone-stage video {
	width: 100%;
	height: 100%;
	display: block;
	background: #000;
}
.ai-zone-mask {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 3;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px;
	text-align: center;
	background: rgba(6, 7, 12, .86);
}
.ai-zone-mask.on { display: flex; }
.ai-zone-mask b {
	font-size: 18px;
	color: #ffe08a;
}
.ai-zone-mask p {
	margin: 0;
	color: #d5d8e0;
	font-size: 13px;
	line-height: 1.5;
}
.ai-zone-mask a {
	margin-top: 6px;
	padding: 10px 22px;
	border-radius: 999px;
	background: #3dd6a4;
	color: #06281c;
	font-weight: 800;
	text-decoration: none;
}
.ai-zone-play h1 {
	margin: 12px 0 8px;
	font-size: 18px;
	line-height: 1.35;
}
.ai-zone-ops {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 4px 0 12px;
}
.ai-zone-ops a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 2px;
	border-radius: 12px;
	background: #17181f;
	color: #f3f4f6;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.2;
}
.ai-zone-ops i {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #2a2d36;
	color: #ffe08a;
	font-style: normal;
	font-weight: 800;
	font-size: 13px;
}
.ai-zone-ops a.vip i {
	background: linear-gradient(135deg, #f5d27a, #e0a43a);
	color: #3a2500;
}
.ai-zone-play-ad {
	margin: 0 0 8px;
}
.ai-zone-play .ai-zone-head {
	padding-left: 0;
	padding-right: 0;
}
.ai-zone-play .ai-zone-grid {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}
.ai-zone-play-ad:not(:has(a)),
.ai-zone-eps:not(:has(a)) {
	display: none;
}
.ai-zone-eps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ai-zone-eps a {
	min-width: 64px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #1b1d24;
	color: #d5d8e0;
	text-align: center;
	text-decoration: none;
	font-size: 13px;
}
.ai-zone-eps a.on {
	background: #ff2d55;
	color: #fff;
}
.ai-vip-app {
	padding-bottom: 84px;
}
.ai-balance {
	display: flex;
	gap: 10px;
	margin: 8px 0 16px;
}
.ai-balance > div {
	flex: 1;
	background: #17181f;
	border-radius: 12px;
	padding: 12px;
}
.ai-balance em {
	display: block;
	font-style: normal;
	color: #9aa3b5;
	font-size: 12px;
}
.ai-balance b {
	display: block;
	margin-top: 4px;
	font-size: 18px;
	color: #f5d27a;
}
.ai-block-title {
	margin: 18px 0 4px;
	font-size: 16px;
}
.ai-block-sub {
	margin: 0 0 12px;
	color: #9aa3b5;
	font-size: 12px;
	line-height: 1.5;
}
.ai-vip-packs-4,
.ai-coin-packs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 14px;
}
.ai-coin-packs .ai-pack,
.ai-vip-packs-4 .ai-pack {
	transform: none;
}
.ai-vip-submit + .ai-block-title,
#aiCoin {
	margin-top: 8px;
}
.ai-member-stats {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px;
	padding: 14px;
	border-radius: 14px;
	background: linear-gradient(135deg, #2a2118, #17181f);
}
.ai-member-stats div {
	flex: 1;
}
.ai-member-stats b {
	display: block;
	color: #f5d27a;
	font-size: 20px;
}
.ai-member-stats span {
	color: #9aa3b5;
	font-size: 12px;
}
.ai-member-stats a {
	padding: 8px 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f5d27a, #e0a43a);
	color: #3a2500;
	font-weight: 800;
	text-decoration: none;
	font-size: 13px;
}
.ai-unlocks {
	margin: 0 12px 12px;
	padding: 12px;
	border-radius: 12px;
	background: #17181f;
}
.ai-unlocks h3 {
	margin: 0 0 8px;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
}
.ai-unlocks h3 a {
	color: #f5d27a;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
}
.ai-unlocks ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ai-unlocks li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 0;
	border-top: 1px solid rgba(255,255,255,.06);
	font-size: 13px;
}
.ai-unlocks a {
	color: #f3f4f6;
	text-decoration: none;
}
.ai-unlocks em {
	font-style: normal;
	color: #f5d27a;
	flex: 0 0 auto;
}
.ai-ok-card .ai-lock-btn + .ai-lock-btn {
	margin-top: 10px;
}
.ai-hero { position: relative; }
.ai-hero-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: -4px 0 10px;
}
.ai-hero-dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: #3a3d48;
}
.ai-hero-dots button.on {
	width: 16px;
	background: #3dd6a4;
}
.ai-pay-tabs {
	display: flex;
	margin: 4px 14px 10px;
	padding: 4px;
	border-radius: 12px;
	background: #17181f;
}
.ai-pay-tabs button {
	flex: 1;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #9aa3b5;
	font-size: 15px;
	font-weight: 700;
}
.ai-pay-tabs button.on {
	background: #3dd6a4;
	color: #06281c;
}
.ai-pay-pane { display: none; }
.ai-pay-pane.on { display: block; }
.ai-intro-body {
	margin: 0;
	background: #1b1e23;
	color: #f4f5f7;
}
body.ai-intro-body #app.ai-intro-app {
	max-width: 520px;
	margin: 0 auto;
	min-height: 100vh;
	background: #0c0d12;
	box-shadow: 0 0 4px rgb(0 0 0 / 12%);
}
body.ai-intro-body footer.tabbar {
	left: 50%;
	right: auto;
	width: min(100%, 520px);
	max-width: 520px;
	transform: translateX(-50%);
	margin: 0;
}
.ai-intro {
	padding: 0 14px 176px;
}
.ai-intro-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
}
.ai-intro-back,
.ai-intro-share {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
	padding: 0;
}
.ai-intro-share { font-size: 14px; }
.ai-intro-head {
	display: flex;
	gap: 12px;
}
.ai-intro-cover {
	width: 108px;
	height: 152px;
	flex: 0 0 108px;
	border-radius: 10px;
	overflow: hidden;
	background: #17181f;
}
.ai-intro-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ai-intro-copy {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 152px;
}
.ai-intro-domain {
	margin: auto 0 0;
	color: #f5d27a;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
}
.ai-intro-domain b {
	color: #ffe7a3;
	letter-spacing: .04em;
}
.ai-intro-copy h1 {
	margin: 2px 0 8px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 800;
}
.ai-intro-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}
.ai-intro-tags span {
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 12px;
	background: rgba(94,234,212,.12);
	color: #5eead4;
}
.ai-intro-tags span:nth-child(2) { background: rgba(125,211,252,.12); color: #7dd3fc; }
.ai-intro-tags span:nth-child(3) { background: rgba(134,239,172,.12); color: #86efac; }
.ai-intro-tags span:nth-child(4) { background: rgba(249,168,212,.12); color: #f9a8d4; }
.ai-intro-status {
	margin: 0;
	color: #9aa3b5;
	font-size: 13px;
}
.ai-intro-blurb {
	margin: 14px 0 0;
	color: #c5cad3;
	font-size: 14px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ai-intro-blurb.open {
	display: block;
	-webkit-line-clamp: unset;
}
.ai-intro-more {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #3dd6a4;
	font-size: 13px;
}
.ai-buybar {
	display: flex;
	align-items: stretch;
	margin-top: 16px;
	border-radius: 16px;
	overflow: hidden;
	background: #17181f;
	min-height: 72px;
}
.ai-buy-left,
.ai-buy-go {
	border: 0;
	cursor: pointer;
}
.ai-buy-left {
	flex: 0 0 92px;
	background: linear-gradient(180deg, #3a2a12, #24190c);
	color: #f5d27a;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 0 12px;
}
.ai-buy-left b { font-size: 14px; }
.ai-buy-left em { font-style: normal; font-size: 12px; opacity: .8; }
.ai-buy-mid {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 10px;
	min-width: 0;
}
.ai-buy-mid b { font-size: 14px; }
.ai-buy-mid em { font-style: normal; color: #9aa3b5; font-size: 12px; }
.ai-buy-mid strong { color: #f5d27a; font-size: 16px; }
.ai-buy-go {
	flex: 0 0 108px;
	background: #3dd6a4;
	color: #06281c;
	font-size: 15px;
	font-weight: 800;
}
.ai-ep-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 18px 0 10px;
	font-size: 16px;
}
.ai-ep-head span { color: #9aa3b5; font-size: 13px; }
.ai-ep-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}
.ai-ep {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	border-radius: 10px;
	background: #17181f;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	box-sizing: border-box;
}
.ai-ep.on {
	background: #12352c;
	box-shadow: inset 0 0 0 1px #3dd6a4;
}
.ai-ep i {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 4px;
	border-radius: 0 8px 0 6px;
	background: #3dd6a4;
	color: #06281c;
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
}
.ai-ep i.free { background: #f5d27a; color: #3a2500; }
.ai-detail-dock {
	position: fixed;
	left: 50%;
	right: auto;
	bottom: calc(56px + env(safe-area-inset-bottom));
	width: min(100%, 520px);
	transform: translateX(-50%);
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(12,13,18,.96);
	box-shadow: 0 -8px 24px rgba(0,0,0,.35);
	box-sizing: border-box;
}
.ai-dock-ico {
	width: 48px;
	flex: 0 0 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #d5d8e0;
	text-decoration: none;
	font-size: 16px;
}
.ai-dock-ico em {
	font-style: normal;
	font-size: 11px;
	margin-top: 2px;
}
.ai-dock-watch {
	flex: 1;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: #3dd6a4;
	color: #06281c;
	font-size: 16px;
	font-weight: 800;
}
