/**
 * Media Store — Premium video player (glass controls, Apple-TV/Netflix feel).
 */
.mst-vp { position: relative; width: 100%; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.mst-vp video { width: 100%; height: 100%; display: block; background: #000; }
.mst-vp:fullscreen { aspect-ratio: auto; border-radius: 0; }
.mst-vp:focus-visible { outline: 2px solid var(--mst-accent, #5c6ef4); outline-offset: 2px; }

.mst-vp__controls {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	display: flex; align-items: center; gap: 8px; padding: 12px 14px;
	background: linear-gradient( to top, rgba(0,0,0,0.78), transparent );
	opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.mst-vp:hover .mst-vp__controls,
.mst-vp:focus-within .mst-vp__controls { opacity: 1; pointer-events: auto; }
.mst-vp__btn {
	flex: 0 0 auto; min-width: 36px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px;
	background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; font-size: 0.82rem; line-height: 1;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.14s;
}
.mst-vp__btn:hover { background: rgba(255,255,255,0.24); }
.mst-vp__btn.is-on { background: var(--mst-accent, #5c6ef4); }
.mst-vp__time { color: rgba(255,255,255,0.85); font-size: 0.76rem; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.mst-vp__seek { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.25); cursor: pointer; position: relative; }
.mst-vp__seek-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--mst-accent, #5c6ef4); }
.mst-vp__vol { width: 80px; flex: 0 0 auto; accent-color: var(--mst-accent, #5c6ef4); }

/* Auto next-episode overlay */
.mst-vp__next { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px; background: linear-gradient( to top, rgba(0,0,0,0.6), transparent 50% ); }
.mst-vp__next-card { background: rgba(20,20,26,0.86); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 16px 18px; color: #fff; max-width: 320px;
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 44px rgba(0,0,0,0.5); }
.mst-vp__next-up { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.55); }
.mst-vp__next-card strong { display: block; font-size: 1.05rem; margin: 4px 0; }
.mst-vp__next-count { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.mst-vp__next-btns { display: flex; gap: 8px; margin-top: 12px; }
.mst-vp__next-btns button { flex: 1; padding: 9px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 600; }
.mst-vp__next-btns [data-go] { background: var(--mst-accent, #5c6ef4); color: #fff; }
.mst-vp__next-btns [data-cancel] { background: rgba(255,255,255,0.12); color: #fff; }
.mst-vp__notice { color: rgba(255,255,255,0.7); font-size: 0.86rem; margin-top: 10px; }
.mst-vp__notice a { color: var(--mst-accent, #8b97ff); }

@media (max-width: 600px) {
	.mst-vp__vol, .mst-vp__btn[data-act="pip"] { display: none; }
	.mst-vp__controls { gap: 5px; padding: 8px; }
}
