/* Local comparison: shared UI, original video engine and entitlement calls. */
html[data-player-design] #watch-panel [hidden],html[data-player-design] #checkout-dialog [hidden]{display:none!important}
html[data-player-design] #watch-panel{max-height:100dvh;max-width:100vw;border:0}
html[data-player-design] #watch-panel button:focus-visible,html[data-player-design] #checkout-dialog button:focus-visible{outline:2px solid #f3d58e;outline-offset:3px}
html[data-player-design] #watch-panel .screen-section{position:relative}
html[data-player-design] #watch-panel .player-cover{gap:0}
html[data-player-design] .cover-symbol svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html[data-player-design] .cover-price:before{content:'';display:inline-block;width:22px;height:22px;background:url('/ui/reward-coin.svg') center/contain no-repeat;vertical-align:middle}
html[data-player-design] .cover-price:empty,html[data-player-design] .cover-episode:empty{display:none}
html[data-player-design] #watch-panel.is-locked .vjs-control-bar,html[data-player-design] #watch-panel.is-locked .vjs-big-play-button{display:none!important}
html[data-player-design] #watch-panel.is-locked #playback-status{display:none}
html[data-player-design] #watch-panel .player-quick-controls{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
html[data-player-design] #watch-panel .player-tool{min-width:0;min-height:48px}
html[data-player-design] #watch-panel .player-tool b{font-size:12px;white-space:normal;overflow:visible;line-height:1.25}
html[data-player-design] #watch-panel .player-tool svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-player-design] #watch-panel .episode-drawer-toggle{display:flex;order:0}
html[data-player-design] #watch-panel .player-settings-panel{position:absolute;inset-inline:16px;bottom:90px;width:auto;max-width:490px;margin:auto;z-index:12;background:#16221efa;border:1px solid #44564c;border-radius:18px;padding:20px;box-shadow:0 14px 50px #000b;max-height:min(70dvh,500px);overflow-y:auto}
html[data-player-design] #watch-panel .player-settings-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
html[data-player-design] #watch-panel .player-settings-head h3{font:600 18px/1.3 var(--sans,system-ui)}
html[data-player-design] #watch-panel #player-settings-close{width:44px;height:44px;border:1px solid #3e5047;border-radius:50%;font-size:26px;background:#1a2c23;color:#e8eee9}
html[data-player-design] #watch-panel .player-settings-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-player-design] #watch-panel .player-settings-tools .player-tool{display:flex;flex-direction:row;justify-content:center;padding:10px;gap:8px}
html[data-player-design] #watch-panel .player-bottom{width:100%;font-size:11px;line-height:1.5;margin-top:12px}
html[data-player-design] #watch-panel .watch-episodes{z-index:10}
html[data-player-design] #watch-panel .episode-drawer-close{width:44px;height:44px}
html[data-player-design] #checkout-dialog{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;border:1px solid #435047;border-radius:22px;background:#141e19;overflow-y:auto}
html[data-player-design] #checkout-form{padding:26px;display:block}
html[data-player-design] #checkout-form .close-dialog{inset-inline-end:14px;inset-inline-start:auto;top:14px;width:44px;height:44px;padding:0;border:1px solid #3b4c41;border-radius:50%;background:#1b2a21;color:#d2ddd5;display:grid;place-items:center;font-size:26px}
html[data-player-design] .checkout-brand{display:flex;align-items:center;gap:10px;margin-bottom:22px;color:#dfc284;padding-inline-end:44px}
html[data-player-design] .checkout-brand>span{font:24px/1.2 var(--serif,serif);letter-spacing:2px}
html[data-player-design] .checkout-brand small{font:600 9px/1.3 system-ui;letter-spacing:2px}
html[data-player-design] #checkout-form .checkout-icon{margin:0 0 12px;line-height:1;display:block}
html[data-player-design] #checkout-form .checkout-icon img{display:block;width:40px;height:40px}
html[data-player-design] #checkout-title{font:600 26px/1.3 var(--sans,system-ui);letter-spacing:0;margin:0 0 10px}
html[data-player-design] #checkout-description{font-size:14px;line-height:1.65;margin:0;color:#b7c3ba;max-width:35em}
html[data-player-design] .checkout-money-row{margin:22px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 0;border-block:1px solid #32453a}
html[data-player-design] .checkout-summary{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:0;margin:0;border:0;font-size:13px;color:#b7c5bb;line-height:1.4}
html[data-player-design] #checkout-price{color:#ebcc86;font:650 24px/1.25 var(--sans,system-ui);white-space:normal;font-variant-numeric:tabular-nums}
html[data-player-design] .checkout-balance{margin:0;padding:0;font-size:13px;color:#b7c5bb;display:flex;flex-direction:column;gap:9px;line-height:1.4}
html[data-player-design] .checkout-balance strong{font-size:24px;line-height:1.25;color:#f0f3ee;font-variant-numeric:tabular-nums}
html[data-player-design] #checkout-after{font-size:12px;line-height:1.5;margin:12px 0 20px;color:#a7b9ad}
html[data-player-design] #checkout-after:empty{display:none}
html[data-player-design] #checkout-form .test-warning{display:none!important}
html[data-player-design] #checkout-form .button{width:100%;min-height:52px;border-radius:12px;font-size:15px;line-height:1.4;padding:13px 16px}
html[data-player-design] #checkout-submit{background:#27d2a0;color:#08231a;border:0}
html[data-player-design] #checkout-topup{background:#27d2a0;color:#08231a;border:0;margin-top:16px}
html[data-player-design] #checkout-submit:disabled{min-height:36px;margin-top:6px;background:transparent;color:#879a8e;opacity:1;border:0}
html[data-player-design] #checkout-error{font-size:13px!important;line-height:1.6!important;margin:14px 0!important}
@media (max-width:767px){html[data-player-design] #watch-panel .watch-panel-grid{grid-template-columns:1fr}html[data-player-design] #watch-panel .watch-episodes:not(:where(.episodes-open .watch-episodes)){visibility:hidden}html[data-player-design] #watch-panel.episodes-open .watch-episodes{visibility:visible}}
@media(prefers-reduced-motion:reduce){html[data-player-design] #watch-panel *,html[data-player-design] #checkout-dialog *{scroll-behavior:auto!important;transition:none!important}}

html[data-player-design] #checkout-form .checkout-brand{height:auto;min-height:32px;max-width:none;width:auto;flex-shrink:0}
html[data-player-design] #checkout-form .checkout-brand .brand-emblem{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.2}
html[data-player-design] #checkout-form .checkout-brand .brand-cn{font-size:24px;line-height:1.1;letter-spacing:2px}
html[data-player-design] #checkout-form .checkout-brand small{display:block;font-size:6px;letter-spacing:3px;line-height:1;margin-top:6px}
