/* Scoped additions for the h5.10guo.tv website. Native wheel/touch scrolling remains enabled. */
#sg-home .sg-floating{display:none!important}
#sg-player .sp-episodes-head{flex-wrap:wrap}
#sg-player .sp-episode-buttons button{color:#ddd;border-color:#ffffff30;background:#ffffff09;height:auto;min-height:44px;padding:8px 5px;overflow-wrap:anywhere;font-size:14px}
#sg-player .sp-episode-buttons button.is-current{color:#ff4792;border-color:#ff4792;background:#ec237f1a}
#sg-player .sp-episode-buttons button:disabled{color:#777}
#sg-player .sp-line-buttons{margin:0 0 16px}
#sg-home .tg-tv-strips,.tg-tv-detail-ads{display:flex;flex-direction:column;gap:12px;margin-top:20px;margin-bottom:20px}
.tg-tv-strip{display:block;width:100%;border-radius:10px;overflow:hidden;background:#101014}
.tg-tv-strip img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.tg-tv-popup-backdrop{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:48px 18px;background:#000b;overscroll-behavior:contain;font-size:14px;line-height:1.4}
.tg-tv-popup{position:relative;width:min(440px,88vw);max-height:82vh;display:flex;flex-direction:column;align-items:center;background:#16161c;border-radius:16px;box-shadow:0 12px 60px #0008}
.tg-tv-popup-image{display:block;width:100%;max-height:76vh;overflow-y:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0}
.tg-tv-popup-image img{display:block;width:100%;height:auto}
.tg-tv-popup-close{position:absolute;right:0;top:-42px;appearance:none;padding:0;margin:0;border:1px solid #fff9;background:#19191fe6;color:#fff;width:34px;height:34px;border-radius:50%;font:28px/30px Arial;cursor:pointer}
.tg-tv-popup-close:after{display:none}
.tg-tv-popup button:focus-visible,.tg-tv-popup a:focus-visible{outline:3px solid #ff438d;outline-offset:3px}
.tg-tv-ad-label{display:block;padding:4px 12px;color:#aaa;font:11px/16px Arial}
#sg-player .tg-tv-preroll{position:absolute;inset:0;z-index:20;background:#000;display:flex;align-items:center;justify-content:center}
#sg-player .tg-tv-preroll video{width:100%;height:100%;object-fit:contain}
#sg-player .tg-tv-preroll-image{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
#sg-player .tg-tv-preroll-image img{max-width:100%;max-height:100%;object-fit:contain}
#sg-player .tg-tv-ad-count{position:absolute;right:12px;top:12px;padding:6px 10px;background:#000b;border-radius:20px;color:white;font-size:12px;pointer-events:none}
#sg-player .tg-tv-ad-visit{position:absolute;right:12px;bottom:44px;background:#ec237f;color:white;padding:8px 16px;border-radius:20px}
#sg-player .tg-tv-pause-ad{position:absolute;z-index:12;inset:12% 20%;display:flex;align-items:center;justify-content:center;pointer-events:none}
#sg-player .tg-tv-pause-image{display:block;max-width:100%;max-height:100%;pointer-events:auto}
#sg-player .tg-tv-pause-image img{display:block;max-width:100%;max-height:100%;object-fit:contain}
#sg-player .tg-tv-pause-ad button{position:absolute;right:0;top:0;width:30px;height:30px;background:#000b;border:1px solid #fff9;border-radius:50%;font-size:24px;color:white;pointer-events:auto}
@media(max-width:767px){#sg-home .tg-tv-strips{gap:8px;margin-top:14px;margin-bottom:14px}#sg-player .sp-episode-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#sg-player .sp-line-buttons button{min-width:0;font-size:12px;white-space:normal;height:auto;min-height:40px;padding:8px}}
