/* Portal Video Peserta — paparan depan */
:root {
	/* Palet ikut landing page FAHMAN */
	--pvp-primary: #165da9;
	--pvp-navy: #14283f;
	--pvp-accent: #e9c6a8;
	--pvp-bg: #f5f8fc;
	--pvp-surface: #ffffff;
	--pvp-ink: #192b40;
	--pvp-muted: #536071;
	--pvp-line: #d7e3f0;
	--pvp-label: #31618e;
	--pvp-radius: 16px;
	--pvp-shadow: 0 1px 2px rgba(20, 40, 63, .06), 0 8px 24px rgba(20, 40, 63, .07);
	--pvp-dark: color-mix(in srgb, var(--pvp-primary) 78%, #000);
	--pvp-tint: #eaf3fc;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.pvp {
	margin: 0;
	background: var(--pvp-bg);
	color: var(--pvp-ink);
	font: 17px/1.7 Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
:where(.pvp) a { color: inherit; }
.pvp img { max-width: 100%; display: block; }
.pvp h1, .pvp h2, .pvp h3 { line-height: 1.25; margin: 0; letter-spacing: -.025em; font-weight: 800; }
.pvp-label { display: block; color: var(--pvp-label); font-size: 12px; font-weight: 800; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.pvp-brandline { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .24em; color: #d4e8fd; }
.pvp-pill { display: inline-block; border: 1px solid #6485a4; border-radius: 999px; padding: 6px 16px; margin-bottom: 18px; font-size: 12px; letter-spacing: .1em; font-weight: 700; color: #deecfa; text-transform: uppercase; }
.pvp-tagline { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 21px; color: #edf4fc; margin: 0 0 14px; }
.pvp [hidden] { display: none !important; }
.pvp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pvp-muted { color: var(--pvp-muted); margin: 0; font-size: .92rem; }

/* Corak geometri lembut */
.pvp-pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: .12;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M32 6l7.6 18.4L58 32l-18.4 7.6L32 58l-7.6-18.4L6 32l18.4-7.6z'/%3E%3Cpath d='M13.6 13.6h36.8v36.8H13.6z' transform='rotate(45 32 32)' opacity='.0'/%3E%3Crect x='17' y='17' width='30' height='30' /%3E%3C/g%3E%3C/svg%3E");
	background-size: 64px 64px;
}

/* Butang */
.pvp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-family: inherit; font-weight: 800; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
	white-space: nowrap;
}
.pvp-btn:active { transform: translateY(1px); }
.pvp-btn:focus-visible, .pvp-chip:focus-visible, .pvp-card:focus-visible, .pvp-item:focus-visible { outline: 3px solid var(--pvp-accent); outline-offset: 2px; }
.pvp-btn--primary { background: var(--pvp-primary); color: #fff; box-shadow: 0 6px 18px rgba(20, 40, 63, .15); }
.pvp-btn--primary:hover { background: #104b89; transform: translateY(-1px); }
.pvp-btn--accent { background: var(--pvp-accent); color: var(--pvp-navy); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.pvp-btn--accent:hover { filter: brightness(1.06); }
.pvp-btn--accent svg { width: 18px; height: 18px; }
.pvp-btn--light { background: var(--pvp-surface); color: var(--pvp-ink); border-color: var(--pvp-line); }
.pvp-btn--light:hover { border-color: var(--pvp-primary); color: var(--pvp-primary); }
.pvp-btn--ghost { background: transparent; color: var(--pvp-ink); padding: 9px 12px; }
.pvp-btn--ghost:hover { background: var(--pvp-tint); color: var(--pvp-primary); }
.pvp-btn--block { width: 100%; min-height: 56px; padding: 15px 26px; font-size: 1rem; letter-spacing: .04em; }

/* Bar atas */
.pvp-top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--pvp-line); }
.pvp-top__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.pvp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.pvp-brand__name { font-weight: 800; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvp-logo { height: 44px; border-radius: 8px; width: auto; max-width: 140px; object-fit: contain; }
.pvp-logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--pvp-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.pvp-logo--lg { height: 92px; max-width: 220px; }
.pvp-logo--lg.pvp-logo-mark { width: 56px; height: 56px; font-size: 1.6rem; border-radius: 16px; }
.pvp-top__nav { display: flex; align-items: center; gap: 4px; flex: none; }

/* Hero */
.pvp-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at top right, #31577a99, transparent 58%), var(--pvp-navy); color: #fff; }
.pvp-hero .pvp-pattern, .pvp-login__art .pvp-pattern { opacity: .07; }
.pvp-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
.pvp-hero--compact .pvp-hero__inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
.pvp-hero__media { margin: 0; }
.pvp-hero__media img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.pvp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pvp-hero__text { max-width: 640px; }
.pvp-eyebrow { margin: 0 0 6px; font-weight: 600; opacity: .85; font-size: .95rem; }
.pvp-hero h1 { font-size: clamp(1.8rem, 3.3vw, 2.55rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.pvp-hero h1 span { display: block; color: var(--pvp-accent); margin-top: 8px; }
.pvp-hero__lead { margin: 0 0 22px; color: #dce8f5; max-width: 56ch; }
.pvp-hero .pvp-btn--accent b { font-weight: 700; max-width: 32ch; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: bottom; }

.pvp-progress-card { display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); flex: none; }
.pvp-progress-card strong { display: block; font-size: 1.05rem; }
.pvp-muted-inv { font-size: .88rem; opacity: .8; }
.pvp-ring { position: relative; width: 58px; height: 58px; }
.pvp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pvp-ring circle { fill: none; stroke-width: 3.4; }
.pvp-ring__bg { stroke: rgba(255, 255, 255, .2); }
.pvp-ring__fg { stroke: var(--pvp-accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); transition: stroke-dashoffset .6s ease; }
.pvp-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }

/* Kandungan utama */
.pvp-main { padding-top: 28px; padding-bottom: 56px; flex: 1; }
.pvp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.pvp-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; max-width: 100%; }
.pvp-chips::-webkit-scrollbar { display: none; }
.pvp-chip { padding: 8px 16px; border-radius: 999px; background: var(--pvp-surface); border: 1px solid var(--pvp-line); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; color: var(--pvp-muted); transition: all .15s; }
.pvp-chip:hover { border-color: var(--pvp-primary); color: var(--pvp-primary); }
.pvp-chip.is-active { background: var(--pvp-navy); border-color: var(--pvp-navy); color: #fff; }
.pvp-search { position: relative; display: flex; align-items: center; flex: 1 1 240px; max-width: 320px; color: var(--pvp-muted); }
.pvp-search svg { position: absolute; left: 14px; }
.pvp-search input { width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--pvp-line); background: var(--pvp-surface); font: inherit; color: var(--pvp-ink); }
.pvp-search input:focus { outline: none; border-color: var(--pvp-primary); box-shadow: 0 0 0 4px var(--pvp-tint); }

.pvp-module { margin-bottom: 40px; }
.pvp-module__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pvp-module__num { width: 46px; height: 46px; border-radius: 50%; font-size: 1.1rem; background: var(--pvp-navy) !important; color: #fff !important; display: grid; place-items: center; font-weight: 800; background: var(--pvp-tint); color: var(--pvp-primary); flex: none; }
.pvp-module__head h2 { font-size: 1.45rem; font-weight: 800; }
.pvp-module__head .pvp-label { font-size: 11px; }

.pvp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pvp-card { display: flex; flex-direction: column; background: var(--pvp-surface); border-radius: var(--pvp-radius); overflow: hidden; text-decoration: none; box-shadow: var(--pvp-shadow); border: 1px solid var(--pvp-line); transition: transform .2s ease, box-shadow .2s ease; }
.pvp-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 30, 25, .06), 0 16px 36px rgba(20, 30, 25, .12); }
.pvp-card__media { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); overflow: hidden; }
.pvp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pvp-card:hover .pvp-card__media img { transform: scale(1.04); }
.pvp-card__media.is-empty { background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); }
.pvp-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); }
.pvp-card__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--pvp-primary); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.pvp-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.pvp-card:hover .pvp-card__play { transform: scale(1.1); }
.pvp-card__no, .pvp-card__dur, .pvp-card__done { position: absolute; z-index: 2; font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.pvp-card__no { left: 10px; top: 10px; background: rgba(0, 0, 0, .55); color: #fff; }
.pvp-card__dur { right: 10px; bottom: 10px; background: rgba(0, 0, 0, .7); color: #fff; }
.pvp-card__done { left: 10px; bottom: 10px; background: var(--pvp-accent); color: var(--pvp-navy); display: none; }
.pvp-card.is-done .pvp-card__done { display: block; }
.pvp-card__body { padding: 14px 16px 18px; }
.pvp-card__body h3 { font-size: 1.02rem; font-weight: 700; }
.pvp-card__body p { margin: 6px 0 0; color: var(--pvp-muted); font-size: .88rem; line-height: 1.5; }
.pvp-noresult { text-align: center; color: var(--pvp-muted); padding: 40px 0; }

.pvp-empty { text-align: center; padding: 64px 20px; background: var(--pvp-surface); border-radius: 20px; border: 1px dashed var(--pvp-line); }
.pvp-empty__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--pvp-tint); color: var(--pvp-primary); display: grid; place-items: center; }
.pvp-empty__icon svg { width: 30px; height: 30px; margin-left: 4px; }
.pvp-empty h2 { margin-bottom: 6px; }
.pvp-empty .pvp-btn { margin-top: 20px; }

/* Halaman tonton */
.pvp-watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding-top: 24px; padding-bottom: 56px; flex: 1; align-items: start; }
.pvp-player { border-radius: var(--pvp-radius); overflow: hidden; background: #000; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); }
.pvp-ratio { position: relative; aspect-ratio: 16 / 9; background: #000; }
.pvp-ratio iframe, .pvp-ratio video, .pvp-ratio embed, .pvp-ratio object { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.pvp-ratio--custom > div { position: absolute !important; inset: 0; padding: 0 !important; height: 100% !important; }
.pvp-ratio--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #cfd8d3; text-align: center; padding: 20px; background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); }
.pvp-audio { padding: 28px; background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); }
.pvp-audio audio { width: 100%; }

.pvp-watch__meta { padding: 20px 2px 0; }
.pvp-watch__crumbs { color: var(--pvp-muted); font-size: .9rem; font-weight: 600; }
.pvp-watch__crumbs a { color: var(--pvp-primary); text-decoration: none; }
.pvp-watch__meta h1 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; margin: 6px 0 18px; }
.pvp-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--pvp-line); }
.pvp-actions__nav { display: flex; gap: 10px; }
.pvp-btn--done { background: var(--pvp-surface); border-color: var(--pvp-line); color: var(--pvp-ink); }
.pvp-btn--done:hover { border-color: var(--pvp-accent); }
.pvp-btn--done .pvp-done-on { display: none; }
.pvp-btn--done.is-done { background: var(--pvp-accent); border-color: var(--pvp-accent); color: var(--pvp-navy); }
.pvp-btn--done.is-done .pvp-done-on { display: inline; }
.pvp-btn--done.is-done .pvp-done-off { display: none; }

.pvp-notes { margin-top: 24px; background: var(--pvp-surface); border: 1px solid var(--pvp-line); border-radius: var(--pvp-radius); padding: 22px 24px; }
.pvp-notes h2 { font-size: 1.05rem; margin-bottom: 8px; }
.pvp-content > :first-child { margin-top: 0; }
.pvp-content > :last-child { margin-bottom: 0; }
.pvp-content a { color: var(--pvp-primary); }
.pvp-content img { height: auto; border-radius: 10px; }

.pvp-playlist { position: sticky; top: 84px; background: var(--pvp-surface); border: 1px solid var(--pvp-line); border-radius: var(--pvp-radius); box-shadow: var(--pvp-shadow); overflow: hidden; }
.pvp-playlist__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--pvp-line); }
.pvp-playlist__body { max-height: calc(100vh - 170px); overflow-y: auto; padding: 6px 8px 10px; }
.pvp-playlist__group { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pvp-muted); padding: 14px 10px 6px; }
.pvp-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.pvp-item:hover { background: var(--pvp-bg); }
.pvp-item.is-current { background: var(--pvp-tint); }
.pvp-item.is-current .pvp-item__title { color: var(--pvp-primary); font-weight: 700; }
.pvp-item__thumb { position: relative; width: 92px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); flex: none; }
.pvp-item__thumb.is-empty { background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); }
.pvp-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pvp-item__state { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); color: #fff; font-weight: 800; font-size: .85rem; }
.pvp-item__state svg { width: 18px; height: 18px; }
.pvp-item__title { flex: 1; font-size: .9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pvp-item__tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; border: 2px solid var(--pvp-line); color: transparent; flex: none; }
.pvp-item.is-done .pvp-item__tick { background: var(--pvp-primary); border-color: var(--pvp-primary); color: #fff; }

/* Kaki */
.pvp-foot { border-top: 1px solid var(--pvp-line); background: var(--pvp-surface); padding: 22px 0; text-align: center; }
.pvp-foot p { margin: 0; color: var(--pvp-muted); font-size: .85rem; }
.pvp-support { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 700; color: var(--pvp-primary) !important; text-decoration: none; }

/* Log masuk */
.pvp-login { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.pvp-login__art { position: relative; overflow: hidden; background: radial-gradient(ellipse at top right, #31577a99, transparent 58%), var(--pvp-navy); color: #fff; display: flex; align-items: center; justify-content: center; padding: 48px 56px; text-align: center; }

.pvp-login__art-inner { position: relative; max-width: 520px; }
.pvp-login__mockup { width: 100%; height: auto; margin: 10px auto 18px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.pvp-verse { margin: 0; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .05); }
.pvp-verse .pvp-label { color: #d4e8fd; font-size: 11px; }
.pvp-arabic { font-family: Amiri, Scheherazade, 'Traditional Arabic', serif; font-size: 30px; line-height: 2; letter-spacing: 0; margin: 4px 0; color: #fff; }
.pvp-translation { margin: 0; font-size: .95rem; color: #dce8f5; font-style: italic; font-family: Georgia, serif; }
.pvp-login__badge { width: 64px; height: 64px; border-radius: 20px; background: var(--pvp-accent); color: #1d1606; display: grid; place-items: center; margin-bottom: 24px; }
.pvp-login__badge svg { width: 28px; height: 28px; margin-left: 4px; }
.pvp-login__art h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; color: #fff; margin-bottom: 10px; }

.pvp-login__panel { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.pvp-login__card { width: 100%; max-width: 400px; }
.pvp-login__brand { display: inline-block; margin-bottom: 24px; padding: 10px 14px; background: #fff; border: 1px solid var(--pvp-line); border-radius: 18px; box-shadow: var(--pvp-shadow); }
.pvp-login__brand .pvp-logo--lg { height: 76px; }
.pvp-login__card h1 { font-size: 1.85rem; font-weight: 800; margin-bottom: 6px; }
.pvp-login__mobile-verse { display: none; }
.pvp-form { margin-top: 24px; display: flex; flex-direction: column; }
.pvp-form label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.pvp-form input[type="text"], .pvp-form input[type="password"] { width: 100%; padding: 14px 16px; border: 1px solid var(--pvp-line); border-radius: 12px; font: inherit; background: var(--pvp-surface); color: var(--pvp-ink); margin-bottom: 16px; transition: border-color .15s, box-shadow .15s; }
.pvp-form input:focus { outline: none; border-color: var(--pvp-primary); box-shadow: 0 0 0 4px var(--pvp-tint); }
.pvp-pass { position: relative; }
.pvp-pass input { padding-right: 80px !important; }
.pvp-pass__toggle { position: absolute; right: 8px; top: 7px; border: 0; background: var(--pvp-bg); color: var(--pvp-muted); font-family: inherit; font-weight: 600; font-size: .8rem; line-height: 1; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.pvp-check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; color: var(--pvp-muted); margin: 0 0 20px !important; cursor: pointer; }
.pvp-check input { width: 18px; height: 18px; accent-color: var(--pvp-primary); }
.pvp-alert { margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.pvp-alert--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f6caca; }
.pvp-alert--ok { background: var(--pvp-tint); color: var(--pvp-primary); border: 1px solid color-mix(in srgb, var(--pvp-primary) 25%, #fff); }
.pvp-login__help { margin-top: 22px; text-align: center; color: var(--pvp-muted); font-size: .9rem; }
.pvp-login__help a { color: var(--pvp-primary); font-weight: 700; }

/* Responsif */
@media (max-width: 960px) {
	.pvp-watch { grid-template-columns: 1fr; }
	.pvp-playlist { position: static; }
	.pvp-playlist__body { max-height: 420px; }
}
@media (max-width: 760px) {
	.pvp-hero__inner { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
	.pvp-hero__media { order: -1; max-width: 460px; margin: 0 auto; }
	.pvp-hero__text { text-align: center; }
	.pvp-hero__lead { margin-left: auto; margin-right: auto; }
	.pvp-hero__actions { justify-content: center; }
	.pvp-tagline { font-size: 19px; }
	.pvp-progress-card { width: auto; }
	.pvp-login { grid-template-columns: 1fr; }
	.pvp-login__art { order: 2; padding: 36px 20px 44px; }
	.pvp-login__art h2 { font-size: 1.5rem; }
	.pvp-arabic { font-size: 25px; }
	.pvp-login__panel { padding-bottom: 40px; }
	.pvp-login__panel { align-items: flex-start; padding-top: 56px; }
	.pvp-hide-sm { display: none; }
	.pvp-search { max-width: none; }
}
@media (max-width: 560px) {
	.pvp-wrap { padding-left: 16px; padding-right: 16px; }
	.pvp-grid { grid-template-columns: 1fr; gap: 16px; }
	.pvp-watch { padding-top: 0; gap: 20px; }
	.pvp-watch .pvp-player { margin: 0 -16px; border-radius: 0; }
	.pvp-actions { flex-direction: column; align-items: stretch; }
	.pvp-actions__nav { display: grid; grid-template-columns: 1fr 1fr; }
	.pvp-actions__nav .pvp-btn:only-child { grid-column: 1 / -1; }
	.pvp-notes { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
 * Pemain video selamat (YouTube tanpa logo / pautan)
 * ======================================================= */
.pvp-vp { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; outline: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pvp-vp:focus-visible { box-shadow: inset 0 0 0 3px var(--pvp-accent); }
.pvp-vp__stage { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 16 / 9; transform: translate(-50%, -50%); overflow: hidden; }
/* Iframe dua kali tinggi: tajuk (atas) & logo YouTube (bawah) jatuh di luar kawasan nampak. */
.pvp-vp__crop { position: absolute; left: 0; right: 0; top: -50%; height: 200%; pointer-events: none; }
.pvp-vp__crop iframe, .pvp-vp__frame { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; pointer-events: none; }
.pvp-vp__shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: transparent; }
.pvp-vp.is-idle, .pvp-vp.is-idle .pvp-vp__shield { cursor: none; }

.pvp-vp__poster { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; cursor: pointer; background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy) center / cover no-repeat; transition: opacity .35s ease, visibility .35s; }
.pvp-vp__poster[style] { background-blend-mode: normal; }
.pvp-vp__poster[style]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 40, 63, .55), rgba(20, 40, 63, .85)); }
.pvp-vp:not(.is-cued) .pvp-vp__poster { opacity: 0; visibility: hidden; pointer-events: none; }
.pvp-vp__poster-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; text-align: center; color: #fff; }
.pvp-vp__logo { width: auto; height: clamp(46px, 11%, 84px); max-height: 84px; background: #fff; padding: 6px 10px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.pvp-vp__big { width: clamp(62px, 12vw, 88px); height: clamp(62px, 12vw, 88px); border-radius: 50%; border: 4px solid rgba(255, 255, 255, .9); background: var(--pvp-primary); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.pvp-vp__big svg { width: 42%; height: 42%; margin-left: 8%; }
.pvp-vp__poster:hover .pvp-vp__big { transform: scale(1.07); }
.pvp-vp__ptitle { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.72rem, 1.6vw, .95rem); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); max-width: 34ch; }

.pvp-vp__spin { position: absolute; z-index: 4; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: pvp-spin .8s linear infinite; opacity: 0; pointer-events: none; transition: opacity .2s; }
.pvp-vp.is-buffering .pvp-vp__spin { opacity: 1; }
@keyframes pvp-spin { to { transform: rotate(360deg); } }

.pvp-vp__msg { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; padding: 24px; text-align: center; color: #fff; font-weight: 600; background: rgba(20, 40, 63, .94); }
.pvp-vp__end { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; text-align: center; background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); color: #fff; }
.pvp-vp__end-title { margin: 0; font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.4rem); }
.pvp-vp__end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.pvp-vp__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 26px 12px 8px; background: linear-gradient(180deg, transparent, rgba(8, 18, 30, .85)); color: #fff; transition: opacity .3s ease, transform .3s ease; }
.pvp-vp.is-cued .pvp-vp__bar, .pvp-vp.is-ended .pvp-vp__bar, .pvp-vp.is-idle .pvp-vp__bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.pvp-vp__row { display: flex; align-items: center; gap: 2px; }
.pvp-vp__spacer { flex: 1; }
.pvp-vp__btn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; font: 800 .85rem/1 Arial, sans-serif; }
.pvp-vp__btn:hover, .pvp-vp__btn:focus-visible { background: rgba(255, 255, 255, .14); outline: none; }
.pvp-vp__btn svg { width: 24px; height: 24px; }
.pvp-vp__speed { min-width: 48px; }
.pvp-vp__time { font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; padding: 0 8px; white-space: nowrap; opacity: .95; }
.pvp-vp .i-pause, .pvp-vp .i-vol-off, .pvp-vp .i-fs-off { display: none; }
.pvp-vp.is-playing .i-pause { display: inline; }
.pvp-vp.is-playing .i-play { display: none; }
.pvp-vp.is-muted .i-vol-off { display: inline; }
.pvp-vp.is-muted .i-vol-on { display: none; }
.pvp-vp.is-fs .i-fs-off, .pvp-vp.is-fakefs .i-fs-off { display: inline; }
.pvp-vp.is-fs .i-fs-on, .pvp-vp.is-fakefs .i-fs-on { display: none; }

.pvp-vp__seek { --v: 0%; --w: 100%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 0 0 4px; background: transparent; cursor: pointer; }
/* Bar kedudukan: dimainkan (emas) · sudah ditonton (cerah) · belum ditonton (malap — tidak boleh dilangkau). */
.pvp-vp__seek::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--pvp-accent) var(--v), rgba(255, 255, 255, .55) var(--v), rgba(255, 255, 255, .55) var(--w), rgba(255, 255, 255, .16) var(--w)); }
.pvp-vp__seek::-moz-range-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--pvp-accent) var(--v), rgba(255, 255, 255, .55) var(--v), rgba(255, 255, 255, .55) var(--w), rgba(255, 255, 255, .16) var(--w)); }
.pvp-vp__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5px; border-radius: 50%; background: #fff; border: 3px solid var(--pvp-accent); }
.pvp-vp__seek::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--pvp-accent); }
.pvp-vp__seek:hover::-webkit-slider-runnable-track { height: 7px; }

/* Skrin penuh: video kekal 16:9 di tengah supaya potongan logo kekal tepat. */
.pvp-vp.is-fs, .pvp-vp.is-fakefs { aspect-ratio: auto; width: 100%; height: 100%; }
.pvp-vp.is-fakefs { position: fixed; inset: 0; z-index: 100000; height: 100vh; height: 100dvh; }
.pvp-vp.is-fs .pvp-vp__stage, .pvp-vp.is-fakefs .pvp-vp__stage { width: min(100vw, calc(100vh * 16 / 9)); width: min(100vw, calc(100dvh * 16 / 9)); }
html.pvp-noscroll, html.pvp-noscroll body { overflow: hidden; }

/* Google Drive: sekat butang "Buka di tetingkap baharu" di penjuru kanan atas. */
.pvp-ratio--drive { overflow: hidden; }
.pvp-drive-shield { position: absolute; top: 0; right: 0; width: 72px; height: 64px; z-index: 2; background: transparent; }

@media (max-width: 560px) {
	.pvp-vp__btn { min-width: 36px; height: 36px; }
	.pvp-vp__btn svg { width: 22px; height: 22px; }
	.pvp-vp__bar { padding: 20px 6px 4px; }
	.pvp-vp__btn[data-a="back"], .pvp-vp__btn[data-a="fwd"] { display: none; }
	.pvp-vp__time { font-size: .75rem; padding: 0 4px; }
}

/* =========================================================
 * Halaman Akaun Saya
 * ======================================================= */
.pvp-account { padding-top: 30px; padding-bottom: 56px; flex: 1; }
.pvp-account__head { margin-bottom: 20px; }
.pvp-account__head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0; }
.pvp-account__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.pvp-panel { background: var(--pvp-surface); border: 1px solid var(--pvp-line); border-radius: var(--pvp-radius); box-shadow: var(--pvp-shadow); padding: 22px 24px 26px; }
.pvp-panel h2 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--pvp-line); }
.pvp-form--inline { margin-top: 0; }
.pvp-form--inline input[type="text"], .pvp-form--inline input[type="email"], .pvp-form--inline input[type="password"] { width: 100%; padding: 12px 14px; border: 1px solid var(--pvp-line); border-radius: 12px; font: inherit; background: var(--pvp-surface); color: var(--pvp-ink); margin-bottom: 14px; }
.pvp-form--inline input:focus { outline: none; border-color: var(--pvp-primary); box-shadow: 0 0 0 4px var(--pvp-tint); }
.pvp-form--inline input:disabled { background: var(--pvp-bg); color: var(--pvp-muted); }
.pvp-form--inline label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.pvp-form--inline .pvp-btn { margin-top: 6px; }
.pvp-hint { margin: -8px 0 14px; font-size: .82rem; color: var(--pvp-muted); }
.pvp-optional-inline { font-weight: 400; color: var(--pvp-muted); font-size: .82rem; }
.pvp-panel--stat { background: radial-gradient(ellipse at top right, #31577a, transparent 62%), var(--pvp-navy); color: #fff; border-color: transparent; }
.pvp-panel--stat h2 { border-color: rgba(255, 255, 255, .18); }
.pvp-panel--stat .pvp-muted { color: #c6d9ec; }
.pvp-account__ring { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pvp-account__ring strong { display: block; font-size: 1.1rem; }
.pvp-ring--dark { width: 78px; height: 78px; }
.pvp-ring--dark span { font-size: 1rem; }
.pvp-panel--stat .pvp-btn--light { margin-top: 6px; }
.pvp-login--narrow { grid-template-columns: 1fr; min-height: 100vh; }
.pvp-login--narrow .pvp-login__panel { align-items: center; }
.pvp-login__buy { margin: 22px 0 0; padding: 14px 16px; background: var(--pvp-tint); border: 1px solid color-mix(in srgb, var(--pvp-primary) 22%, #fff); border-radius: 12px; font-size: .92rem; text-align: center; }
.pvp-login__buy a { color: var(--pvp-primary); font-weight: 700; text-decoration: none; }

/* =========================================================
 * Daftar akaun & kod khas
 * ======================================================= */
.pvp-login__card--wide { max-width: 470px; }
.pvp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pvp-form-row > div { min-width: 0; }
.pvp-form input[type="email"] { width: 100%; padding: 14px 16px; border: 1px solid var(--pvp-line); border-radius: 12px; font: inherit; background: var(--pvp-surface); color: var(--pvp-ink); margin-bottom: 16px; }
.pvp-form input[type="email"]:focus { outline: none; border-color: var(--pvp-primary); box-shadow: 0 0 0 4px var(--pvp-tint); }
.pvp-form .pvp-hint { margin-top: -10px; }
.pvp-code-input { font-family: ui-monospace, Menlo, Consolas, monospace !important; font-size: 1.1rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.pvp-reg-steps { text-align: left; margin: 0 auto; padding: 18px 22px 18px 40px; max-width: 420px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .05); color: #dce8f5; line-height: 1.7; }
.pvp-reg-steps b { color: #fff; }
.pvp-login__reg { margin: 22px 0 0; text-align: center; font-size: .95rem; }
.pvp-login__reg a { color: var(--pvp-primary); font-weight: 800; text-decoration: none; }
.pvp-login__reg + .pvp-login__buy { margin-top: 12px; }
.pvp-code-ro { position: relative; }
.pvp-code-ro input { font-family: ui-monospace, Menlo, Consolas, monospace !important; letter-spacing: .12em; font-weight: 700; padding-right: 44px !important; }
.pvp-code-ro__lock { position: absolute; right: 14px; top: 11px; font-size: 1rem; opacity: .6; }
.pvp-welcome { margin-bottom: 22px; }
@media (max-width: 560px) {
	.pvp-form-row { grid-template-columns: 1fr; }
}

/* =========================================================
 * Semakan tempahan OnPay (pautan status)
 * ======================================================= */
.pvp-onpay-result { text-align: center; }
.pvp-onpay-result .pvp-form { text-align: left; }
.pvp-result-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.pvp-result-icon--ok { background: #e7f6ec; color: #1a7f37; }
.pvp-result-icon--wait { background: #fff4e0; color: #9a5b00; }
.pvp-result-icon--error { background: #fdecec; color: #9b1c1c; }
.pvp-result-text { margin: 10px 0 0; color: var(--pvp-muted); font-size: .97rem; line-height: 1.65; }
.pvp-result-text b { color: var(--pvp-ink); }
.pvp-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pvp-result-actions .pvp-btn { min-height: 48px; }
.pvp-onpay-box { margin-top: 22px; border: 1px solid var(--pvp-line); border-radius: 14px; background: var(--pvp-surface); }
.pvp-onpay-box > summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; font-size: .93rem; color: var(--pvp-primary); }
.pvp-onpay-box > summary::-webkit-details-marker { display: none; }
.pvp-onpay-box > summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 800; }
.pvp-onpay-box[open] > summary::before { content: "–"; }
.pvp-onpay-box__body { padding: 0 16px 16px; }
.pvp-onpay-box__body p { margin: 0 0 12px; font-size: .9rem; color: var(--pvp-muted); }
.pvp-onpay-box .pvp-form { margin-top: 0; }
.pvp-onpay-box .pvp-btn--block { min-height: 48px; }
.pvp-login__sub { display: inline-block; margin-top: 4px; font-size: .86rem; color: var(--pvp-muted); }
.pvp-login__sub a { font-weight: 700 !important; }

/* Panduan: di mana nak cari pautan status OnPay */
.pvp-onpay-form-wrap { text-align: left; margin-top: 24px; }
.pvp-guide-box { margin: 4px 0 18px; padding: 14px 14px 12px; background: var(--pvp-bg); border: 1px solid var(--pvp-line); border-radius: 14px; text-align: left; }
.pvp .pvp-guide-box p { margin: 0 0 10px; font-size: .9rem; color: var(--pvp-ink); line-height: 1.6; }
.pvp .pvp-guide-box .pvp-guide-box__title { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pvp-label); }
.pvp .pvp-guide-box .pvp-guide-box__lead { margin-bottom: 16px; }
.pvp-fake-btn { display: inline-block; background: var(--pvp-primary); color: #fff; padding: 1px 9px; border-radius: 6px; font-weight: 700; font-size: .8rem; line-height: 1.7; white-space: nowrap; }
.pvp-guide-steps { counter-reset: pvpstep; list-style: none; margin: 0 0 12px; padding: 0; }
.pvp-guide-steps li { counter-increment: pvpstep; position: relative; padding: 0 0 10px 34px; font-size: .9rem; line-height: 1.6; }
.pvp-guide-steps li::before { content: counter(pvpstep); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--pvp-primary); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.pvp-guide-note { display: block; font-size: .82rem !important; color: var(--pvp-muted) !important; margin-top: 2px; }
.pvp-guide-note code { font-size: .78rem; background: #fff; border: 1px solid var(--pvp-line); border-radius: 5px; padding: 0 4px; }
.pvp-mail-mock { margin: 2px 0 10px; background: #fff; border: 1px solid var(--pvp-line); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(20, 40, 63, .06); }
.pvp-mail-mock__head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--pvp-line); font-size: .78rem; color: var(--pvp-muted); }
.pvp-mail-mock__head span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pvp-mail-mock__icon { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--pvp-tint); color: var(--pvp-primary); display: grid; place-items: center; font-size: .8rem; }
.pvp-mail-mock__body { padding: 10px 12px 12px; }
.pvp-mail-mock__line { display: block; height: 7px; border-radius: 4px; background: #e9eef5; margin-bottom: 6px; }
.pvp-mail-mock__line--short { width: 62%; margin-bottom: 10px; }
.pvp .pvp-mail-mock__body p { font-size: .8rem; color: var(--pvp-muted); margin: 0 0 6px; line-height: 1.5; }
.pvp .pvp-mail-mock__body .pvp-mail-mock__link { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pvp-mail-mock__link span { padding: 3px 7px; border: 2px dashed var(--pvp-primary); border-radius: 7px; background: #fff7d6; color: var(--pvp-primary); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .74rem; font-weight: 700; text-decoration: underline; word-break: break-all; }
.pvp-mail-mock__link em { font-style: normal; font-weight: 800; font-size: .76rem; color: #9a5b00; white-space: nowrap; }

.pvp-login__panel, .pvp-login__card, .pvp-onpay-box, .pvp-guide-box { min-width: 0; }

/* Cipta kata laluan */
.pvp-pw { display: flex; flex-direction: column; }
.pvp-pw-guide { margin: 0 0 12px; padding: 12px 14px; background: var(--pvp-tint); border: 1px solid color-mix(in srgb, var(--pvp-primary) 18%, #fff); border-radius: 12px; }
.pvp .pvp-pw-guide__title { margin: 0 0 6px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pvp-label); }
.pvp-pw-guide ul { margin: 0; padding-left: 18px; }
.pvp-pw-guide li { font-size: .86rem; line-height: 1.55; margin-bottom: 4px; color: var(--pvp-ink); }
.pvp-pw-guide li:last-child { margin-bottom: 0; }
.pvp-pw-guide code { font-size: .82rem; background: #fff; border: 1px solid var(--pvp-line); border-radius: 5px; padding: 0 5px; }
.pvp-pw-guide i { color: var(--pvp-muted); font-size: .82rem; }
.pvp .pvp-pw-sub { margin: -2px 0 8px; font-size: .82rem; color: var(--pvp-muted); }
.pvp-pw-check { list-style: none; margin: -4px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pvp-pw-check li { position: relative; padding-left: 26px; font-size: .86rem; line-height: 20px; color: var(--pvp-muted); }
.pvp-pw-check li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--pvp-line); background: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1; }
.pvp-pw-check li.is-ok { color: #1a7f37; font-weight: 700; }
.pvp-pw-check li.is-ok::before { content: "✓"; background: #1a7f37; border-color: #1a7f37; color: #fff; }
.pvp-pw-check li.is-bad { color: #9b1c1c; font-weight: 700; }
.pvp-pw-check li.is-bad::before { content: "✕"; background: #fdecec; border-color: #e5a3a3; color: #9b1c1c; }
.pvp-form--inline .pvp-pw-check { margin-bottom: 14px; }

/* =========================================================
 * Tontonan wajib: status, kunci turutan, notis & sijil
 * ======================================================= */
.pvp-vp__resume { font-size: .82rem; font-weight: 700; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 12px; border-radius: 999px; }
.pvp-vp__toast { position: absolute; z-index: 8; left: 50%; top: 14px; transform: translate(-50%, -8px); max-width: min(92%, 560px); padding: 10px 16px; border-radius: 12px; background: rgba(20, 40, 63, .94); color: #fff; font-size: .86rem; font-weight: 700; line-height: 1.45; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.pvp-vp__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pvp-vp__end-sub { margin: -6px 0 0; max-width: 46ch; color: #d4e2f1; font-size: .9rem; line-height: 1.55; }
.pvp-toast { position: fixed; z-index: 100001; left: 50%; bottom: 22px; transform: translate(-50%, 10px); width: max-content; max-width: min(92vw, 560px); padding: 12px 18px; border-radius: 14px; background: var(--pvp-navy); color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.45; text-align: center; box-shadow: 0 12px 34px rgba(0, 0, 0, .28); opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.pvp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.pvp-player--locked { background: radial-gradient(ellipse at top right, #31577a, transparent 60%), var(--pvp-navy); }
.pvp-lockscreen { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #fff; }
.pvp-lockscreen__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--pvp-accent); }
.pvp-lockscreen h2 { font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
.pvp-lockscreen p { margin: 0; max-width: 52ch; color: #d4e2f1; line-height: 1.6; }
.pvp-lockscreen .pvp-btn { margin-top: 6px; }
.pvp-lockscreen .pvp-btn svg { width: 18px; height: 18px; }

.pvp-wstat { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--pvp-line); background: var(--pvp-surface); font-weight: 700; font-size: .9rem; color: var(--pvp-ink); }
.pvp-wstat__on { display: none; }
.pvp-wstat__off { display: inline-flex; align-items: center; gap: 10px; }
.pvp-wstat__bar { width: 90px; height: 7px; border-radius: 99px; background: var(--pvp-tint); overflow: hidden; }
.pvp-wstat__bar i { display: block; height: 100%; background: var(--pvp-primary); border-radius: 99px; transition: width .5s ease; }
.pvp-wstat.is-done { background: var(--pvp-accent); border-color: var(--pvp-accent); color: var(--pvp-navy); }
.pvp-wstat.is-done .pvp-wstat__on { display: inline; }
.pvp-wstat.is-done .pvp-wstat__off { display: none; }
.pvp-wstat.is-locked { color: var(--pvp-muted); }
.pvp-next__lock { display: none; margin-right: 6px; }
[data-pvp-next].is-locked { background: var(--pvp-line); color: var(--pvp-muted); box-shadow: none; cursor: not-allowed; }
[data-pvp-next].is-locked:hover { background: var(--pvp-line); transform: none; }
[data-pvp-next].is-locked .pvp-next__lock { display: inline; }
.pvp-watch-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--pvp-tint); color: var(--pvp-label); font-size: .9rem; line-height: 1.55; }
.pvp-watch-note[hidden] { display: none; }
.pvp-watch-note--staff { background: #fff4e0; color: #8a4b0b; }
.pvp-watch-alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #9b1c1c; border: 1px solid #f6caca; font-weight: 700; font-size: .9rem; }

.pvp-item.is-locked { opacity: .55; }
.pvp-item.is-locked:hover { background: transparent; }
.pvp-item__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); }
.pvp-item__prog i { display: block; height: 100%; background: var(--pvp-accent); }
.pvp-playlist__cert { display: block; margin: 10px 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--pvp-accent); color: var(--pvp-navy); font-weight: 800; font-size: .88rem; text-decoration: none; }

.pvp-card.is-locked { opacity: .72; }
.pvp-card.is-locked:hover { transform: none; }
.pvp-card.is-locked .pvp-card__media img { filter: grayscale(.7) brightness(.75); }
.pvp-card__play--lock { background: rgba(20, 40, 63, .82); color: #fff; }
.pvp-card__play--lock svg { margin-left: 0; width: 22px; height: 22px; }
.pvp-card.is-next { box-shadow: 0 0 0 3px var(--pvp-accent), var(--pvp-shadow); }
.pvp-card__now, .pvp-card__lockchip { position: absolute; z-index: 2; right: 10px; top: 10px; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 8px; }
.pvp-card__now { background: var(--pvp-accent); color: var(--pvp-navy); }
.pvp-card__lockchip { background: rgba(0, 0, 0, .6); color: #fff; }
.pvp-card__prog { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .3); }
.pvp-card__prog i { display: block; height: 100%; background: var(--pvp-accent); }
.pvp-card__prog ~ .pvp-card__dur { bottom: 14px; }

.pvp-certbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; padding: 16px 20px; border-radius: var(--pvp-radius); background: var(--pvp-surface); border: 1px solid var(--pvp-line); box-shadow: var(--pvp-shadow); }
.pvp-certbar__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--pvp-tint); flex: none; }
.pvp-certbar__text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 3px; line-height: 1.5; }
.pvp-certbar__text span { color: var(--pvp-muted); font-size: .92rem; }
.pvp-certbar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pvp-certbar.is-ready { background: radial-gradient(ellipse at top right, #31577a, transparent 62%), var(--pvp-navy); border-color: transparent; color: #fff; }
.pvp-certbar.is-ready .pvp-certbar__icon { background: var(--pvp-accent); }
.pvp-certbar.is-ready .pvp-certbar__text span { color: #c6d9ec; }

.pvp-panel--cert .pvp-btn { margin-top: 6px; }
.pvp-certinfo { list-style: none; margin: 0 0 14px; padding: 0; }
.pvp-certinfo li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pvp-line); font-size: .92rem; }
.pvp-certinfo li span { color: var(--pvp-muted); }
.pvp-certinfo li b { text-align: right; }
.pvp-certinfo__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pvp-bar-lg { height: 10px; border-radius: 99px; background: var(--pvp-tint); overflow: hidden; margin: 12px 0 8px; }
.pvp-bar-lg span { display: block; height: 100%; background: var(--pvp-primary); border-radius: 99px; }

.pvp-modal { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 18px; background: rgba(10, 22, 36, .62); backdrop-filter: blur(3px); }
.pvp-modal[hidden] { display: none; }
.pvp-modal__box { position: relative; width: min(100%, 480px); padding: 30px 26px 26px; border-radius: 22px; background: var(--pvp-surface); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: pvp-pop .35s ease; }
.pvp-modal__icon { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 2.3rem; background: var(--pvp-accent); }
.pvp-modal__box h2 { font-size: 1.3rem; line-height: 1.3; }
.pvp-modal__box p { margin: 10px 0 0; color: var(--pvp-muted); line-height: 1.6; }
.pvp-modal__no { font-size: .9rem; }
.pvp-modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.pvp-modal__close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--pvp-bg); color: var(--pvp-muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
@keyframes pvp-pop { from { transform: translateY(12px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* Halaman sijil & pengesahan */
.pvp-cert-page .pvp-top__nav { min-height: 40px; }
.pvp-certview { padding-top: 26px; padding-bottom: 48px; flex: 1; }
.pvp-verify { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; padding: 22px 24px; margin-bottom: 22px; border-radius: var(--pvp-radius); background: var(--pvp-surface); border: 1px solid var(--pvp-line); box-shadow: var(--pvp-shadow); }
.pvp-verify__badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; background: #e7f6ec; color: #1a7f37; }
.pvp-verify--bad { grid-template-columns: auto minmax(0, 1fr); }
.pvp-verify--bad .pvp-verify__badge { background: #fdecec; color: #9b1c1c; }
.pvp-verify h1 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.25; }
.pvp-verify p { margin: 6px 0 0; color: var(--pvp-muted); line-height: 1.6; }
.pvp-verify__label { margin: 0 0 2px !important; color: #1a7f37 !important; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.pvp-verify__facts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; }
.pvp-verify__facts li { display: flex; flex-direction: column; }
.pvp-verify__facts span { color: var(--pvp-muted); font-size: .78rem; }
.pvp-verify__actions { display: flex; flex-direction: column; gap: 8px; }
.pvp-verify__actions .pvp-btn { justify-content: center; white-space: nowrap; }
.pvp-certsheet { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 6px rgba(20, 40, 63, .08), 0 18px 48px rgba(20, 40, 63, .16); aspect-ratio: 297 / 210; }
.pvp-certsheet svg { display: block; width: 100%; height: 100%; }
.pvp-cert-tip { margin: 16px 0 0; color: var(--pvp-muted); font-size: .9rem; line-height: 1.6; text-align: center; }
@media (max-width: 860px) {
	.pvp-verify { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
	.pvp-verify__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
	.pvp-verify__actions .pvp-btn { flex: 1 1 140px; }
}
@media (max-width: 560px) {
	.pvp-verify, .pvp-verify--bad { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.pvp-verify__badge { width: 44px; height: 44px; font-size: 1.25rem; }
	.pvp-verify:not(.pvp-verify--bad) .pvp-verify__badge { display: none; }
	.pvp-verify__label::before { content: "✓ "; }
	.pvp-verify__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
	.pvp-wstat__bar { width: 60px; }
	.pvp-certbar__actions { width: 100%; }
	.pvp-certbar__actions .pvp-btn { flex: 1 1 auto; justify-content: center; }
}
@media print {
	@page { size: A4 landscape; margin: 0; }
	html, body { background: #fff !important; }
	.pvp-cert-page .pvp-top, .pvp-cert-page .pvp-foot, .pvp-noprint, .pvp-toast { display: none !important; }
	.pvp-cert-page .pvp-certview { padding: 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; }
	.pvp-cert-page .pvp-certsheet { width: 297mm; height: 210mm; aspect-ratio: auto; box-shadow: none; border-radius: 0; break-inside: avoid; }
}
