/* XemPhimFun Reference Player 1.1.0 CSS. Strictly scoped to the watch player. */
.xpf-watch.is-series .xpf-w-player-shell,.xpf-watch.is-movie .xpf-w-player-shell{max-width:1400px;padding:8px 20px 0}
.xpf-watch .xpf-w-player-card{border-radius:10px}
.xpf-watch .xpf-w-stage .xpf-w-placeholder>img{object-fit:cover;opacity:1}
.xpf-watch .xpf-w-stage .xpf-w-placeholder-shade{display:block;background:linear-gradient(0deg,#000b,transparent 62%)}
.xpf-rp-ready .xpf-w-placeholder-shade,.xpf-rp-ready .xpf-w-start,.xpf-rp-ready .xpf-w-initial-info,.xpf-rp-ready .xpf-w-resume{display:none!important}
.xpf-w-stage .xpf-rp,.xpf-w-stage .xpf-rp *{box-sizing:border-box}
.xpf-w-stage .xpf-rp [hidden],.xpf-w-stage .xpf-rp[hidden],.xpf-w-stage .xpf-rp-return[hidden]{display:none!important}
.xpf-rp{position:absolute;inset:0;z-index:4;color:#fff;font-family:inherit;font-size:14px;line-height:1.4;user-select:none;-webkit-user-select:none}
.xpf-rp button,.xpf-rp input,.xpf-rp select{font:inherit;color:inherit}
.xpf-rp button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.xpf-rp button:disabled{cursor:default;opacity:.42}
.xpf-rp button:focus-visible,.xpf-rp a:focus-visible,.xpf-rp input:focus-visible,.xpf-rp select:focus-visible{outline:2px solid #fff;outline-offset:3px}
.xpf-rp .xpf-rp-btn>svg{display:block;width:24px;height:24px;flex-shrink:0;pointer-events:none}
.xpf-rp-surface{position:absolute;inset:0;z-index:1;cursor:pointer;touch-action:manipulation}
.xpf-rp-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.3) 19%,transparent 55%);transition:opacity .22s}
.xpf-rp-info{position:absolute;left:24px;bottom:101px;width:min(600px,65%);z-index:2;display:flex;flex-direction:column;gap:6px;text-shadow:0 1px 4px #0009;pointer-events:none;transition:opacity .2s}
.xpf-rp-info>strong{font-size:clamp(20px,2.15vw,30px);line-height:1.1;font-weight:850;letter-spacing:-.7px;text-transform:uppercase}
.xpf-rp-info>em{font-size:14px;font-style:italic;color:#ffffffa8;margin-top:-3px}
.xpf-rp-info>small{font-size:12px;letter-spacing:.2px;color:#ffffffb2;margin:3px 0}
.xpf-rp-info>b{font-size:16px;font-weight:650;color:#f3f3f3}
.xpf-rp-info>p{font-size:13px;line-height:1.5;color:#ffffff85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:1px 0 0!important}
.xpf-rp-btn{appearance:none;border:0;background:none;box-shadow:none;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:36px;width:36px;height:42px;padding:6px;border-radius:7px;flex-shrink:0;transition:opacity .15s,background .15s}
.xpf-rp-btn:hover:not(:disabled){background:#ffffff15}
.xpf-rp-btn.xpf-rp-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:70px;height:70px;background:#f3f4f6f5;color:#0b0b10!important;border-radius:50%;z-index:3;padding:22px;box-shadow:0 3px 16px #0002}
.xpf-rp-center:hover:not(:disabled){background:#fff;transform:translate(-50%,-50%) scale(1.06)}
.xpf-rp .xpf-rp-center>svg{width:27px;height:27px;margin-left:1px}
.xpf-rp-spinner{position:absolute;left:calc(50% - 19px);top:calc(50% - 19px);width:38px;height:38px;border:3px solid #ffffff33;border-top-color:#fff;border-radius:50%;animation:xpf-rp-spin .8s linear infinite;z-index:5;pointer-events:none}
.xpf-rp-spinner:not([hidden])~.xpf-rp-bottom{opacity:.8}
@keyframes xpf-rp-spin{to{transform:rotate(360deg)}}
.xpf-rp-toast{position:absolute;top:22px;left:50%;transform:translateX(-50%);padding:9px 16px;max-width:85%;background:#101214e8;backdrop-filter:blur(8px);border:1px solid #ffffff1c;border-radius:10px;z-index:12;text-align:center;font-size:13px;pointer-events:none}
.xpf-rp-bottom{position:absolute;bottom:9px;left:18px;right:18px;z-index:4;transition:opacity .22s,transform .22s}
.xpf-rp-timeline{position:relative;height:24px;display:flex;align-items:center;cursor:pointer;touch-action:none;margin:0 0 3px}
.xpf-rp-track{position:absolute;left:0;right:0;height:6px;background:#ffffff40;border-radius:20px;pointer-events:none}
.xpf-rp-track>i{display:block;position:absolute;left:0;top:0;height:100%;border-radius:inherit}
.xpf-rp-buffer{background:#ffffff4a;width:0}
.xpf-rp-progress{background:#f5f5f7;width:0}
.xpf-rp-track>.xpf-rp-knob{height:12px;width:12px;border-radius:50%;background:#fff;transform:translate(-50%,-3px);opacity:0;transition:opacity .12s}
.xpf-rp-timeline:hover .xpf-rp-knob,.xpf-rp-timeline:focus-within .xpf-rp-knob{opacity:1}
.xpf-rp-seek{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;opacity:0;cursor:pointer;touch-action:none}
/* No perimeter ring when the seek input receives pointer focus. Keep the native
   range input focusable and its keyboard controls intact; emphasize the knob
   for keyboard focus instead of outlining the whole timeline. */
.xpf-rp-timeline:focus-within .xpf-rp-track{outline:0;box-shadow:none}
.xpf-rp .xpf-rp-seek,.xpf-rp .xpf-rp-seek:focus,.xpf-rp .xpf-rp-seek:focus-visible{border:0;outline:0;box-shadow:none}
.xpf-rp-seek::-moz-focus-outer{border:0}
.xpf-rp-timeline:has(.xpf-rp-seek:focus-visible) .xpf-rp-knob{box-shadow:0 0 0 3px #000b,0 0 0 5px #ffffffb3}
.xpf-rp-seek:disabled{cursor:default}
.xpf-rp-seek-tip{position:absolute;bottom:29px;transform:translateX(-50%);background:#171a1fee;border:1px solid #ffffff24;border-radius:6px;padding:4px 8px;white-space:nowrap;font-size:12px;pointer-events:none}
.xpf-rp-row,.xpf-rp-left,.xpf-rp-right{display:flex;align-items:center;gap:7px;min-width:0}
.xpf-rp-row{justify-content:space-between;gap:12px}
.xpf-rp-left{gap:8px}
.xpf-rp-right{gap:9px}
.xpf-rp-volume-wrap{display:flex;align-items:center;gap:2px}
.xpf-rp-volume{width:0;opacity:0;transition:width .18s,opacity .18s;accent-color:#fff;height:4px;margin:0;cursor:pointer}
.xpf-rp-volume-wrap:hover .xpf-rp-volume,.xpf-rp-volume-wrap:focus-within .xpf-rp-volume{width:70px;opacity:1;margin-right:8px}
.xpf-rp-time{font-size:12px;white-space:nowrap;color:#ffffffdf;font-variant-numeric:tabular-nums;min-width:65px;text-align:right;margin-right:7px}
.xpf-rp-btn.xpf-rp-episodes-button{width:auto;min-width:94px;padding-inline:4px;font-size:14px;gap:8px}
.xpf-rp-episodes-button svg{width:23px;height:23px}
.xpf-rp-btn.has-subtitles{box-shadow:inset 0 -2px #fff}
.xpf-rp.is-hidden .xpf-rp-bottom,.xpf-rp.is-hidden .xpf-rp-info,.xpf-rp.is-hidden .xpf-rp-shade{opacity:0;pointer-events:none}
.xpf-rp.is-hidden .xpf-rp-bottom{transform:translateY(5px)}
.xpf-rp.is-hidden .xpf-rp-surface{cursor:none}
.xpf-rp-dim{appearance:none;position:absolute;inset:0;border:0;background:#0009;z-index:7;width:100%;height:100%;border-radius:0;padding:0}
.xpf-rp-panel{position:absolute;right:32px;top:15.5%;bottom:15.5%;z-index:8;max-width:calc(100% - 48px);display:flex;flex-direction:column;gap:14px;min-height:0}
.xpf-rp-settings{width:480px}
.xpf-rp-panel-head{display:flex;align-items:center;gap:10px;flex:0 0 40px;min-width:0}
.xpf-rp-tabs{display:flex;align-items:center;justify-content:space-between;flex:1;min-width:0;padding:3px;background:#0a141ba8;border:1px solid #ffffff14;border-radius:40px;backdrop-filter:blur(16px)}
.xpf-rp-tabs>button{appearance:none;border:0;background:transparent;color:#ffffff85;border-radius:30px;padding:8px 11px;font-size:12px;font-weight:650;white-space:nowrap;min-width:0;line-height:1.35}
.xpf-rp-tabs>button[aria-selected=true]{background:#fff;color:#121212;box-shadow:0 1px 4px #fff3}
.xpf-rp-tabs>button:hover:not([aria-selected=true]){color:#fff}
.xpf-rp-btn.xpf-rp-close{width:40px;height:40px;min-width:40px;padding:10px;border:1px solid #ffffff1a;background:#0a141ba8;border-radius:50%;color:#ffffffaa!important;backdrop-filter:blur(10px)}
.xpf-rp .xpf-rp-close>svg{width:18px;height:18px}
.xpf-rp-options{background:linear-gradient(145deg,#101c2399,#11171a80);backdrop-filter:blur(16px);border:1px solid #ffffff13;border-radius:22px;padding:11px 12px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#ffffff50 transparent}
.xpf-rp-option{display:flex;align-items:center;gap:12px;width:100%;padding:16px 18px;text-align:left;background:transparent;appearance:none;border:0;border-radius:15px;min-height:53px;color:#ffffffb2;font-size:14px;font-weight:550}
.xpf-rp-option+ .xpf-rp-option{margin-top:4px}
.xpf-rp-option>span{flex:1;min-width:0;overflow-wrap:anywhere}
.xpf-rp-option>small{font-size:11px;font-weight:650;color:#ddd;background:#ffffff12;white-space:nowrap;padding:4px 10px;border-radius:20px}
.xpf-rp-option>i{display:flex;width:18px;height:18px;flex:0 0 18px}.xpf-rp-option>i svg{width:18px;height:18px}
.xpf-rp-option.is-selected{background:#ffffff30;color:#fff}
.xpf-rp-option:hover{background:#ffffff18;color:#fff}
.xpf-rp-option.is-selected:hover{background:#ffffff35}
.xpf-rp-note{font-size:13px!important;line-height:1.6!important;color:#ffffff93;margin:10px 16px 14px!important}
.xpf-rp-legacy{appearance:none;border:1px solid #ffffff3b;background:#ffffff12;color:#fff;border-radius:12px;padding:11px 16px;display:block;margin:10px 16px 14px;font-size:13px}
.xpf-rp-select{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 17px;color:#ffffffb2;font-size:13px;border-top:1px solid #ffffff0c}
.xpf-rp-select>select{background:#20282e;border:1px solid #ffffff2a;border-radius:7px;padding:5px 9px;font-size:12px;max-width:130px}
.xpf-rp-episodes{width:400px;right:35px}
.xpf-rp-episode-tools{background:#0a141ba8;border:1px solid #ffffff14;backdrop-filter:blur(16px);border-radius:30px;display:flex;align-items:center;gap:8px;padding:3px;min-width:0;flex:1}
.xpf-rp-search{display:flex;align-items:center;gap:5px;width:120px;min-width:62px;height:30px;border:1px solid #ffffff18;border-radius:20px;padding:0 9px;color:#ffffff66;flex:1}
.xpf-rp-search svg{width:13px;height:13px}.xpf-rp-search input{background:transparent;border:0;outline:0;width:100%;min-width:0;font-size:12px;padding:0;color:#eee}
.xpf-rp-search input::placeholder{color:#ffffff66}
.xpf-rp-seasons{border:1px solid #ffffff18;border-radius:20px;background:#101a21;color:#eee;padding:5px 6px;font-size:12px;max-width:68px}
.xpf-rp-auto{appearance:none;border:0;background:none;display:flex;align-items:center;gap:8px;padding:0 2px;white-space:nowrap;font-size:12px;font-weight:550}
.xpf-rp-auto>b{position:relative;border-radius:20px;font-size:8px;line-height:24px;width:44px;padding-left:18px;background:#ffffff25;letter-spacing:.1px;color:#ddd;text-align:center}
.xpf-rp-auto>b:after{content:'';position:absolute;width:19px;height:19px;top:2.5px;left:3px;background:#e4e4e4;border-radius:50%}
.xpf-rp-auto[aria-pressed=true]>b{background:#fff;color:#080b0d;padding-left:0;padding-right:17px}
.xpf-rp-auto[aria-pressed=true]>b:after{left:auto;right:3px;background:#050505}
.xpf-rp-episode-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:5px 6px 18px;scrollbar-width:thin;scrollbar-color:#ffffff50 transparent}
.xpf-rp-episode-list>h3{font-size:20px;font-weight:750;line-height:1.18;text-align:center;margin:26px 18px 26px;color:#fff;text-wrap:balance}
.xpf-rp-episode-card{display:block;position:relative;aspect-ratio:16/9;width:100%;border:2px solid #ffffff28;background:#171b20;border-radius:17px;overflow:hidden;margin-bottom:12px;color:#fff;text-decoration:none;flex-shrink:0}
.xpf-rp-episode-card::after{position:absolute;inset:0;content:'';background:linear-gradient(0deg,#050b12d9,transparent 60%);pointer-events:none}
.xpf-rp-episode-card.is-current{border-color:#ffffffe0;box-shadow:0 0 0 1px #ffffff30}
.xpf-rp-episode-card:hover{border-color:#fff}
.xpf-rp-episode-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.xpf-rp-episode-card:hover>img{transform:scale(1.025)}
.xpf-rp-episode-caption{position:absolute;bottom:13px;left:15px;right:12px;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.xpf-rp-episode-caption>small{color:#101318;background:#f5f5f5d9;font-size:10px;letter-spacing:.3px;font-weight:850;border-radius:3px;padding:1px 6px}
.xpf-rp-episode-caption>strong{font-size:16px;font-weight:750;color:#fff}
.xpf-rp-return{position:absolute;top:12px;right:12px;z-index:7;color:#fff!important;background:#10141cdf;border:1px solid #ffffff44;border-radius:8px;padding:7px 12px;font:inherit;font-size:12px;cursor:pointer}
.xpf-w-stage.xpf-rp-ready:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.xpf-w-stage:fullscreen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;background:#000;border-radius:0}
.xpf-w-stage:-webkit-full-screen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;background:#000}
.xpf-w-stage:fullscreen::before,.xpf-w-stage:-webkit-full-screen::before{display:none!important}
.xpf-w-stage:fullscreen .xpf-rp-info{bottom:115px;max-width:720px}
.xpf-rp-video::cue{font-family:Arial,sans-serif;font-size:22px;color:#fff;background:rgba(0,0,0,.7);text-shadow:0 1px 2px #000}
[data-rp-subsize=small] .xpf-rp-video::cue{font-size:16px}
[data-rp-subsize=large] .xpf-rp-video::cue{font-size:30px}
[data-rp-subcolor=yellow] .xpf-rp-video::cue{color:#ffe060}
[data-rp-subbg=transparent] .xpf-rp-video::cue{background:transparent}
.xpf-cinema .xpf-watch.is-series .xpf-w-player-shell,.xpf-cinema .xpf-watch.is-movie .xpf-w-player-shell{max-width:none;padding:0}
.xpf-cinema .xpf-watch .xpf-w-player-card{border-radius:0}
@media(max-width:1100px){
 .xpf-rp-info>strong{font-size:25px}.xpf-rp-info{width:58%;bottom:100px}.xpf-rp-info>p{font-size:12px}
 .xpf-rp-volume-wrap:hover .xpf-rp-volume,.xpf-rp-volume-wrap:focus-within .xpf-rp-volume{width:45px}
 .xpf-rp-right{gap:6px}.xpf-rp-episodes-button>span{display:none}.xpf-rp-btn.xpf-rp-episodes-button{width:36px;min-width:36px}
 .xpf-rp-panel{top:10%;bottom:18%;right:22px}.xpf-rp-settings{width:465px}.xpf-rp-episodes{width:360px}.xpf-rp-episode-list>h3{margin-top:15px}
}
@media(max-width:768px){
 .xpf-watch.is-series .xpf-w-player-shell,.xpf-watch.is-movie .xpf-w-player-shell{padding:0;max-width:100%}.xpf-watch .xpf-w-player-card{border-radius:0;border-inline:0}
 .xpf-rp-bottom{left:10px;right:10px;bottom:3px}.xpf-rp-row{gap:6px}.xpf-rp-left,.xpf-rp-right{gap:3px}
 .xpf-rp-btn{width:32px;min-width:32px;height:36px;padding:5px}.xpf-rp .xpf-rp-btn>svg{width:22px;height:22px}
 .xpf-rp-btn.xpf-rp-episodes-button{width:32px;min-width:32px}.xpf-rp-time{font-size:11px;margin-right:3px;min-width:60px}
 .xpf-rp-track{height:4px}.xpf-rp-timeline{height:20px;margin-bottom:0}.xpf-rp-track>.xpf-rp-knob{transform:translate(-50%,-4px)}
 .xpf-rp-info{left:16px;bottom:76px;gap:3px;width:64%}.xpf-rp-info>strong{font-size:20px;letter-spacing:-.3px}.xpf-rp-info>em{font-size:12px}.xpf-rp-info>small{font-size:11px;margin:3px 0}.xpf-rp-info>b{font-size:13px}.xpf-rp-info>p{display:none}
 .xpf-rp-btn.xpf-rp-center{width:56px;height:56px;padding:16px}.xpf-rp .xpf-rp-center>svg{width:24px;height:24px}
 .xpf-rp-volume{display:none}.xpf-rp-panel{top:15px;bottom:20px;right:15px;max-width:calc(100% - 30px);gap:8px}
 .xpf-rp-panel-head{flex-basis:34px;gap:8px}.xpf-rp-tabs>button{padding:6px 8px;font-size:11px}.xpf-rp-btn.xpf-rp-close{width:34px;height:34px;min-width:34px;padding:8px}
 .xpf-rp-options{border-radius:16px;padding:6px 8px}.xpf-rp-option{min-height:40px;padding:10px 13px;font-size:13px}.xpf-rp-note{font-size:12px!important;margin:9px 12px!important}
 .xpf-rp-episode-list>h3{font-size:16px;margin:6px 8px 14px}.xpf-rp-episode-card{border-radius:12px;max-width:290px;margin:0 auto 10px}
 .xpf-rp-episode-caption{left:10px;bottom:10px;gap:6px}.xpf-rp-episode-caption>strong{font-size:14px}
 .xpf-rp-toast{top:10px;font-size:12px;padding:7px 11px}.xpf-rp-info>strong{max-width:100%}
 .xpf-rp-video::cue{font-size:16px}[data-rp-subsize=small] .xpf-rp-video::cue{font-size:12px}[data-rp-subsize=large] .xpf-rp-video::cue{font-size:20px}
}
@media(max-width:520px){
 .xpf-rp-bottom{left:8px;right:8px;bottom:0}.xpf-rp-btn{min-width:30px;width:30px;height:34px;padding:5px}.xpf-rp .xpf-rp-btn>svg{width:20px;height:20px}.xpf-rp-left,.xpf-rp-right{gap:0}.xpf-rp-row{gap:0}
 .xpf-rp-time{font-size:10px;min-width:55px;margin-right:2px}.xpf-rp-btn.xpf-rp-episodes-button{min-width:28px;width:28px}.xpf-rp-btn[data-rp-action=cast],.xpf-rp-btn[data-rp-action=pip]{display:none}
 .xpf-rp-info{left:12px;top:12px;bottom:auto;width:75%;gap:3px}.xpf-rp-info>strong{font-size:16px;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.xpf-rp-info>em{font-size:10px}.xpf-rp-info>small{font-size:10px;margin:1px 0}.xpf-rp-info>b{display:none}
 .xpf-rp-btn.xpf-rp-center{width:48px;height:48px;padding:13px}.xpf-rp .xpf-rp-center>svg{width:23px;height:23px}
 .xpf-rp-panel{top:9px;bottom:10px;left:9px;right:9px;max-width:none;width:auto;gap:6px}.xpf-rp-panel-head{flex-basis:31px;gap:6px}.xpf-rp-tabs{padding:2px}.xpf-rp-tabs>button{padding:6px 7px;font-size:10px}.xpf-rp-btn.xpf-rp-close{height:31px;width:31px;min-width:31px;padding:7px}
 .xpf-rp-options{padding:5px 6px;border-radius:12px}.xpf-rp-option{padding:8px 12px;min-height:35px;font-size:12px;border-radius:9px}.xpf-rp-option+ .xpf-rp-option{margin-top:2px}.xpf-rp-option>small{font-size:9px;padding:2px 7px}
 .xpf-rp-episode-tools{gap:5px;padding:2px}.xpf-rp-search{height:25px;min-width:50px;padding:0 6px}.xpf-rp-seasons{padding:3px 4px;font-size:11px}.xpf-rp-auto{font-size:10px;gap:5px}.xpf-rp-auto>b{width:39px;font-size:7px;line-height:22px}.xpf-rp-auto>b:after{width:17px;height:17px}
 .xpf-rp-episode-list{padding:0 3px 8px}.xpf-rp-episode-list>h3{font-size:14px;margin:5px 8px 10px}.xpf-rp-episode-card{max-width:260px}.xpf-rp-episode-caption>strong{font-size:13px}.xpf-rp-episode-caption>small{font-size:9px}
 .xpf-rp-select{padding:7px 11px;font-size:11px}.xpf-rp-select>select{padding:3px 6px;font-size:11px}.xpf-rp-legacy{font-size:12px;padding:7px 11px;margin:8px 12px}
 .xpf-rp-return{top:8px;right:8px;padding:5px 8px;font-size:10px}
}
@media(max-width:360px){.xpf-rp-btn[data-rp-action=forward]{display:none}.xpf-rp-tabs>button{padding-inline:4px;font-size:9px}.xpf-rp-auto>span{display:none}}
@media(orientation:landscape) and (max-height:500px){
 .xpf-w-stage:fullscreen .xpf-rp-info{left:18px;bottom:82px;top:auto}.xpf-w-stage:fullscreen .xpf-rp-info>strong{font-size:22px}.xpf-w-stage:fullscreen .xpf-rp-info>p{display:none}
 .xpf-w-stage:fullscreen .xpf-rp-panel{top:12px;bottom:18px;left:auto;right:18px;width:440px;max-width:calc(100% - 36px)}
}
@media(prefers-reduced-motion:reduce){.xpf-rp *{transition:none!important;animation:none!important}.xpf-rp-spinner{border-style:dotted}}

/* v1.1: match the reference control sizes and light-gray hover treatment.
   Only the bottom control row is changed; no media/player logic changes. */
.xpf-rp-bottom .xpf-rp-btn{width:44px;min-width:44px;height:44px;padding:0;border-radius:6px}
.xpf-rp .xpf-rp-bottom .xpf-rp-btn>svg{width:26px;height:26px}
.xpf-rp .xpf-rp-bottom .xpf-rp-btn[data-rp-action=cast]>svg{width:28px;height:28px}
.xpf-rp-bottom .xpf-rp-left,.xpf-rp-bottom .xpf-rp-right{gap:4px}
.xpf-rp-bottom .xpf-rp-btn.xpf-rp-episodes-button{width:auto;min-width:94px;padding-inline:12px}
/* The old generic hover is cancelled on touch to avoid a stuck highlight. */
.xpf-rp-bottom .xpf-rp-btn:hover:not(:disabled){background:transparent}
@media(hover:hover){
 .xpf-rp-bottom .xpf-rp-btn:hover:not(:disabled){background:rgba(255,255,255,.12)}
}
.xpf-rp-bottom .xpf-rp-btn:active:not(:disabled){background:rgba(255,255,255,.18)}
@media(max-width:1100px){
 .xpf-rp-bottom .xpf-rp-btn.xpf-rp-episodes-button{width:44px;min-width:44px;padding:0}
}
@media(max-width:768px){
 .xpf-rp-bottom .xpf-rp-btn,.xpf-rp-bottom .xpf-rp-btn.xpf-rp-episodes-button{width:36px;min-width:36px;height:38px;padding:0}
 .xpf-rp .xpf-rp-bottom .xpf-rp-btn>svg,.xpf-rp .xpf-rp-bottom .xpf-rp-btn[data-rp-action=cast]>svg{width:24px;height:24px}
 .xpf-rp-bottom .xpf-rp-left,.xpf-rp-bottom .xpf-rp-right{gap:3px}
}
@media(max-width:520px){
 .xpf-rp-bottom .xpf-rp-btn,.xpf-rp-bottom .xpf-rp-btn.xpf-rp-episodes-button{width:32px;min-width:32px;height:36px;padding:0}
 .xpf-rp .xpf-rp-bottom .xpf-rp-btn>svg{width:22px;height:22px}
 .xpf-rp-bottom .xpf-rp-left,.xpf-rp-bottom .xpf-rp-right{gap:0}
}
