@media(max-width:1500px){.playlist-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1180px){.video-layout{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:repeat(2,1fr)}.side-panel h2{grid-column:1/-1}.playlist-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.topbar{grid-template-columns:auto 1fr auto}.menu-toggle{display:block}.brand span{display:none}.sidebar{transform:translateX(-102%);transition:.2s}body.menu-open .sidebar{transform:none}.page-shell{margin-left:0}.content{padding:17px}.top-btn .top-label{display:none}.video-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.topbar{padding:0 10px;gap:8px}.search-box{position:fixed;left:10px;right:10px;top:69px;display:none;z-index:90}.search-box.show{display:block}.content{padding:13px 10px 78px}.video-grid{gap:15px 10px}.playlist-grid{grid-template-columns:1fr}.playlist-card{grid-template-columns:105px minmax(0,1fr);min-height:104px}.playlist-card-body{min-height:84px;gap:4px}.footer-grid{grid-template-columns:1fr}.language-grid{grid-template-columns:repeat(2,1fr)}.theme-grid{grid-template-columns:1fr}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:75;height:59px;display:grid;grid-template-columns:repeat(4,1fr);background:var(--panel);border-top:1px solid var(--border)}.mobile-bottom-nav a{border:0;background:transparent;color:var(--muted);font-size:11px}.mobile-bottom-nav a b{display:block;font-size:17px;color:var(--text)}}

@media(max-width:1500px){:root{--grid-columns:4}.taxonomy-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1180px){:root{--grid-columns:3}.video-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.video-side .side-panel{display:block}.taxonomy-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){:root{--grid-columns:2}.mobile-overlay{position:fixed;inset:0;z-index:65;background:rgba(0,0,0,.45)}body.menu-open .mobile-overlay{display:block}.brand>span:last-child{display:none}.support-top{display:none}.video-layout{grid-template-columns:1fr}.video-side{grid-template-columns:1fr 1fr}.playlist-header{grid-template-columns:190px 1fr}}
@media(max-width:620px){.topbar{height:auto;min-height:62px;grid-template-columns:auto 1fr auto;gap:8px}.search-box{display:flex;position:absolute;left:10px;right:10px;top:69px}.page-shell{padding-top:118px}.top-actions .top-label{display:none}.video-side{grid-template-columns:1fr}.playlist-header{grid-template-columns:1fr}.taxonomy-grid{grid-template-columns:1fr}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:75;height:60px;background:var(--panel);border-top:1px solid var(--border)}.mobile-bottom-nav a{display:grid;place-items:center;color:var(--muted);font-size:11px}.controls-row{gap:1px}.volume{display:none}.controls-row button{min-width:30px}.time{font-size:10px}.player-center-play{width:58px;height:58px}}
@media(max-width:390px){:root{--grid-columns:1}.video-grid{grid-template-columns:1fr}}
@media(max-width:620px){.speed-result-grid{grid-template-columns:1fr}.mobile-bottom-nav{grid-template-columns:repeat(3,1fr)}}

/* SunTube 1.2 — mobile compact layout */
@media(max-width:620px){
  body{min-height:100dvh}
  .page-shell{min-height:100dvh;padding-top:118px}
  .content{flex:1 0 auto;padding:12px 10px 74px}
  .section{margin-bottom:24px}
  .home-sort{align-items:stretch;display:grid;grid-template-columns:1fr 1fr;margin-bottom:14px}
  .home-sort label{min-width:0}
  .home-sort select{width:100%;min-width:0}
  .home-sort button{grid-column:1/-1}
  .article-page,.speed-page,.error-page{width:100%;padding:18px 14px}
  .site-footer{margin-top:auto;padding:18px 10px 76px}
  .footer-grid{grid-template-columns:1fr;gap:16px}
  .footer-links{gap:6px}
  .footer-button,.support-footer-button{width:auto!important}
  .share-qr{justify-content:center}
  .share-qr img{width:160px;height:160px}
  .playlist-side-item{grid-template-columns:28px 92px minmax(0,1fr)}
  .playlist-side-item .side-thumb{width:92px}
  .playlist-side-items{max-height:none}
  .player-controls{padding-left:6px;padding-right:6px}
  .controls-row button{min-width:28px;padding:0 4px}
  [data-stats-button],[data-theater]{display:none}
}


/* SunTube.TV mobile 1.2.2 */
@media(max-width:620px){
  .speed-result-card{padding:10px 11px}.speed-result-card>span{font-size:11px}.speed-result-card b{font-size:17px}.speed-result-card small,.speed-last{font-size:10px}
  .playlist-side-item .side-thumb{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#101114!important}
}

/* SunTube.TV mobile 1.2.4 */
@media(max-width:620px){
  .share-qr{grid-template-columns:1fr!important;justify-items:center!important}
  .share-options label{font-size:13px!important}
}
.player-captions-overlay{bottom:72px!important;left:4%!important;right:4%!important}.suntube-player.controls-hidden .player-captions-overlay{bottom:24px!important}
.live-public-stats{top:8px;left:8px;font-size:11px;padding:6px 8px;gap:6px}

@media(max-width:900px){.theme-grid{grid-template-columns:1fr!important}.theme-card{min-height:44px!important}.system-info-overlay{left:8px;top:8px;width:calc(100% - 16px);max-height:calc(100% - 16px);font-size:10px;padding:7px 9px}.system-info-lines{padding-right:32px}.system-info-lines>div{grid-template-columns:minmax(100px,max-content) minmax(0,1fr);gap:7px}.system-info-close{right:6px;top:4px;font-size:11px!important}}

/* SunTube 1.3.9 Speedtest mobile */
@media(max-width:900px){
  .speedtest-v139{padding:18px!important}
  .speedtest-head{display:grid!important;grid-template-columns:1fr!important}
  .speedtest-start{width:100%!important}
  .speedtest-stage{grid-template-columns:1fr!important;padding:18px!important;gap:14px!important}
  .speedtest-v139 .speed-result-grid{grid-template-columns:1fr!important}
  .system-info-close{left:auto!important;right:5px!important;top:4px!important}
  .system-info-lines{padding-right:30px!important}
}

/* SunTube 1.4.0 */
@media(max-width:900px){
  .speedtest-v139 .speedtest-actions{display:block!important}
  .speedtest-v139 .speedtest-actions .speedtest-start{width:100%!important}
  .player-stats-menu .system-info-overlay{left:8px!important;top:8px!important;width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;padding-right:30px!important}
  .player-stats-menu .system-info-close{right:5px!important;top:4px!important;width:auto!important}
}


/* SunTube 1.4.3 */
@media(max-width:620px){
  .share-media-grid{grid-template-columns:1fr!important;gap:14px!important}
  .share-media-grid .share-qr{justify-self:center!important}
  .share-media-grid .share-qr img{width:170px!important;height:170px!important}
  .share-embed-panel{width:100%!important}
  .share-embed-panel textarea{min-height:112px!important}
  .share-embed-panel .btn{width:100%!important}
  .side-video .side-video-views{font-size:12px!important;margin-top:6px!important}
  .speedtest-idle-icon{font-size:46px!important}
  .speedtest-live-reading b{font-size:24px!important}
}

/* SunTube 1.4.4 mobile adaptive audit */
@media(max-width:900px){
  .video-layout,.video-main,.video-side,.video-info,.suntube-player{min-width:0!important;max-width:100%!important;width:100%!important}
  .video-layout{overflow:hidden}
  .suntube-player{aspect-ratio:16/9!important;height:auto!important;overflow:hidden!important}
  .suntube-player video{width:100%!important;height:100%!important;max-width:100%!important}
  .player-controls{left:0!important;right:0!important;width:100%!important;max-width:100%!important}
  .player-menu{right:6px!important;left:auto!important;top:8px!important;bottom:58px!important;min-width:min(190px,calc(100% - 12px))!important;max-width:calc(100% - 12px)!important;max-height:none!important;overflow:auto!important}
  .player-menu button{padding:8px 11px!important;font-size:12px!important;min-height:34px}
  .privacy-banner{left:12px;right:12px;bottom:72px}
}
@media(max-width:620px){
  html,body{max-width:100%;overflow-x:hidden}
  .page-shell,.content,.video-layout,.video-main,.video-info,.description{min-width:0!important;max-width:100%!important}
  .view-video .content{padding:12px 8px 78px!important}
  .view-video .video-main{width:100%!important}
  .view-video .suntube-player{width:100%!important;max-width:100%!important;margin:0!important;border-radius:8px!important}
  .view-video .video-info{padding:14px 0 8px!important}
  .view-video .video-info h1{font-size:20px!important;line-height:1.35!important;margin:0 0 8px!important;overflow-wrap:anywhere}
  .view-video .video-meta{font-size:12px!important;margin-bottom:10px!important}
  .view-video .video-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 14px!important;align-items:stretch}
  .view-video .video-actions .action-btn{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:38px!important;padding:7px 8px!important;font-size:12px!important;text-align:center!important;white-space:normal!important}
  .view-video .video-actions .autoplay-toggle{grid-column:1/-1;min-height:34px;padding:2px 2px;font-size:12px!important}
  .view-video .description{font-size:12px!important;line-height:1.55!important;overflow-wrap:anywhere}
  .view-video .support-box{margin-top:12px!important;padding:12px!important}

  .suntube-player .player-controls{padding:30px 6px 6px!important}
  .suntube-player .progress-wrap{height:16px!important}
  .suntube-player .controls-row{display:flex!important;align-items:center!important;gap:1px!important;width:100%!important;min-width:0!important;overflow:visible!important}
  .suntube-player .controls-row button{flex:0 0 auto!important;min-width:27px!important;width:auto!important;height:30px!important;padding:0 4px!important;font-size:11px!important}
  .suntube-player [data-player-play],.suntube-player [data-player-mute],.suntube-player [data-fullscreen]{font-size:14px!important}
  .suntube-player [data-theater]{display:none!important}
  .suntube-player .time{flex:0 1 auto!important;min-width:0!important;font-size:9px!important;white-space:nowrap!important;letter-spacing:-.2px}
  .suntube-player .controls-spacer{flex:1 1 4px!important;min-width:2px!important}
  .suntube-player [data-speed-button]{max-width:34px!important}
  .suntube-player [data-quality-button]{max-width:62px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .suntube-player [data-captions-button]{max-width:32px!important}
  .suntube-player .volume{display:block!important;position:absolute!important;left:36px!important;bottom:46px!important;width:118px!important;height:30px!important;padding:0 8px!important;border-radius:8px!important;background:rgba(18,18,18,.94)!important;box-shadow:0 8px 24px rgba(0,0,0,.35)!important;opacity:0!important;transform:translateY(6px)!important;pointer-events:none!important;transition:.16s ease!important;z-index:25!important}
  .suntube-player.mobile-volume-open .volume{opacity:1!important;transform:none!important;pointer-events:auto!important}
  .suntube-player .player-menu{top:7px!important;bottom:49px!important;right:5px!important;left:auto!important;min-width:min(168px,calc(100% - 10px))!important;max-width:calc(100% - 10px)!important;border-radius:7px!important}
  .suntube-player .player-menu button{padding:6px 10px!important;min-height:31px!important;font-size:11px!important}
  .player-center-play{width:54px!important;height:54px!important;font-size:23px!important}
  .tap-zone{bottom:54px!important}

  .share-modal-v144{width:min(100%,calc(100vw - 16px))!important;max-height:calc(100dvh - 22px)!important}
  .share-modal-v144 .modal-head{padding:11px 12px!important}.share-modal-v144 .share-body{padding:11px 12px 13px!important}
  .share-link-row{grid-template-columns:1fr!important;gap:7px!important}.share-link-row .btn{width:100%!important}
  .share-modal-v144 .share-options{margin:8px 0!important}
  .share-modal-v144 .share-media-grid{grid-template-columns:1fr!important;gap:10px!important}
  .share-modal-v144 .share-qr{justify-self:center!important}.share-modal-v144 .share-qr img{width:148px!important;height:148px!important}
  .share-modal-v144 .share-embed-panel textarea{min-height:90px!important;max-height:120px!important}.share-modal-v144 .share-embed-panel .btn{width:100%!important;margin-top:6px!important}


  .privacy-banner{left:8px!important;right:8px!important;bottom:67px!important;display:none!important;align-items:stretch!important;gap:9px!important;padding:10px 10px!important;border-radius:11px!important}.privacy-banner.show{display:grid!important;grid-template-columns:1fr!important}.privacy-banner-copy{gap:3px!important}.privacy-banner-copy strong{font-size:12px!important}.privacy-banner-copy span{font-size:10.5px!important;line-height:1.3!important}.privacy-banner-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.privacy-banner-actions .btn{min-width:0!important;width:100%!important;min-height:34px!important;padding:6px 8px!important;font-size:11px!important}
  .external-counters-slot{padding:0 10px!important;max-width:100%!important;overflow:hidden!important}
}
@media(max-width:360px){
  .view-video .video-actions{grid-template-columns:1fr!important}.view-video .video-actions .autoplay-toggle{grid-column:1!important}
  .suntube-player .controls-row button{min-width:25px!important;padding:0 3px!important;font-size:10px!important}.suntube-player .time{font-size:8px!important}.suntube-player [data-quality-button]{max-width:53px!important}.suntube-player [data-speed-button]{max-width:30px!important}
  .privacy-banner-actions{grid-template-columns:1fr!important}
}

@media(max-width:620px){img,video,iframe,canvas,svg{max-width:100%}.modal{padding:8px!important}.modal-card{max-width:100%!important}.article-page,.speed-page,.error-page{max-width:100%!important}}

/* SunTube 1.4.5 — mobile player context menu, bottom navigation and compact centered speedtest */
@media(max-width:620px){
  .suntube-player .player-context-menu{width:min(300px,calc(100% - 12px))!important;min-width:0!important;max-width:calc(100% - 12px)!important;max-height:calc(100% - 12px)!important;padding:4px!important;border-radius:7px!important;overflow:auto!important}
  .suntube-player .player-context-menu:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px!important}
  .suntube-player .player-context-menu button{min-width:0!important;min-height:32px!important;padding:5px 7px!important;border-radius:5px!important;font-size:10px!important;line-height:1.18!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important}

  .mobile-bottom-nav a{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;place-items:center!important;align-content:center!important;gap:1px!important;padding:3px 2px 4px!important;line-height:1!important}
  .mobile-bottom-nav .mobile-bottom-icon{display:block!important;font-size:clamp(23px,7vw,29px)!important;line-height:.92!important;font-weight:500!important;color:var(--text)!important}
  .mobile-bottom-nav a span{font-size:10px!important;line-height:1.05!important}

}
@media(max-width:360px){
  .suntube-player .player-context-menu{width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important}
  .suntube-player .player-context-menu button{font-size:9.5px!important;padding:4px 6px!important}
  .mobile-bottom-nav .mobile-bottom-icon{font-size:clamp(21px,7.2vw,26px)!important}
}


/* SunTube 1.4.6 — volume end point + compact landscape chrome */
@media(max-width:620px){
  .suntube-player .volume{
    width:126px!important;
    height:30px!important;
    padding:0!important;
    border:0!important;
    background:rgba(18,18,18,.94)!important;
    background-clip:padding-box!important;
  }
  .suntube-player .volume::-webkit-slider-runnable-track{
    width:100%!important;height:4px!important;border-radius:999px!important;
    background:linear-gradient(90deg,#fff 0 var(--volume-percent,100%),rgba(255,255,255,.34) var(--volume-percent,100%) 100%)!important;
  }
  .suntube-player .volume::-moz-range-track{height:4px!important;background:rgba(255,255,255,.34)!important}
  .suntube-player .volume::-moz-range-progress{height:4px!important;background:#fff!important}
}

@media(max-width:900px) and (orientation:landscape) and (max-height:600px){
  .topbar{
    height:34px!important;min-height:34px!important;
    grid-template-columns:auto minmax(120px,1fr) auto!important;
    gap:5px!important;padding:0 6px!important;
  }
  .brand-wrap{gap:4px!important;min-width:0!important}
  .menu-toggle{display:block!important;width:28px!important;height:28px!important;border-radius:6px!important;font-size:13px!important;padding:0!important}
  .brand{gap:3px!important;font-size:12px!important}
  .brand-logo-img{width:24px!important;height:24px!important}
  .search-box{
    display:block!important;position:relative!important;
    left:auto!important;right:auto!important;top:auto!important;
    width:100%!important;min-width:0!important;z-index:auto!important;
  }
  .search-box input{height:28px!important;padding:0 28px 0 8px!important;border-radius:6px!important;font-size:11px!important}
  .search-box button{right:2px!important;top:2px!important;width:24px!important;height:24px!important;font-size:11px!important}
  .top-actions{gap:4px!important;min-width:0!important}
  .top-btn{height:28px!important;min-width:28px!important;padding:0 5px!important;border-radius:6px!important;gap:0!important;font-size:10px!important}
  .top-btn .icon,.icon{font-size:13px!important;line-height:1!important}
  .support-top{display:none!important}
  .page-shell{padding-top:34px!important}
  .content{padding-top:7px!important}
  .sidebar{top:34px!important}
}

/* SunTube 1.4.7 */
.language-top{min-width:0!important;max-width:72px;padding-inline:7px!important;gap:4px!important}.language-top .language-full{display:none!important}.language-top .language-short{display:inline!important;font-size:11px}.language-top .language-flag{font-size:16px}
.footer-grid{grid-template-columns:1fr!important}.footer-links,.footer-tools-links{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.footer-tools-links>*{white-space:normal}
.player-end-screen{padding:10px;gap:7px}.player-end-screen-title{font-size:15px}.player-end-screen-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.player-end-title{font-size:10px;padding:5px 6px}.player-end-replay{font-size:11px;padding:6px 10px}.player-ad-label,.player-ad-countdown{top:7px;font-size:9px;padding:4px 6px}.player-ad-label{left:7px}.player-ad-countdown{right:7px}

/* SunTube 1.4.8 — mobile autoplay switch and compact home filters */
@media(max-width:620px){
  .view-video .video-actions .autoplay-toggle{
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%!important;
    min-height:34px!important;
    padding:5px 8px!important;
    gap:7px!important;
    border:1px solid var(--border)!important;
    border-radius:9px!important;
    background:var(--panel2)!important;
  }
  .autoplay-switch-ui{width:34px;height:19px}
  .autoplay-switch-ui>span{width:13px;height:13px}
  .autoplay-toggle input:checked + .autoplay-switch-ui>span{transform:translateX(15px)}
  .autoplay-switch-label{font-size:11px!important}
  .player-autoplay-countdown{width:96%;padding:7px 9px;font-size:10px;line-height:1.25}

  .footer-tools-links>.footer-button,
  .footer-tools-links>.support-footer-button{
    height:34px!important;
    min-height:34px!important;
    padding:0 9px!important;
    line-height:1!important;
  }

  .view-home .content{padding-top:7px!important}
  .view-home .home-sort{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:4px!important;
    margin:0 0 7px!important;
  }
  .view-home .home-sort label{gap:2px!important;font-size:9px!important;line-height:1!important}
  .view-home .home-sort select{height:29px!important;min-width:0!important;padding:0 5px!important;font-size:10px!important}
  .view-home .home-sort button{grid-column:auto!important;height:29px!important;min-height:29px!important;padding:0 7px!important;font-size:10px!important;white-space:nowrap!important}
  .view-home .section-head{margin-bottom:8px!important}
}

@media(max-width:390px){
  .view-home .home-sort{grid-template-columns:1fr 1fr!important}
  .view-home .home-sort button{grid-column:1/-1!important;width:max-content!important;justify-self:end!important}
}

.speedtest-v151{padding:14px 10px!important}
.speedtest-v151 .speedtest-head h1{font-size:25px!important}
.speedtest-v151 .gauge-stream-stage{grid-template-columns:1fr!important;padding:12px 10px!important;gap:8px!important}
.speedtest-v151 .speed-gauge{width:min(100%,270px)!important;margin:-2px auto -8px!important}
.speedtest-v151 .speed-gauge-scale text{font-size:10px!important}
.speedtest-v151 .speed-gauge-live{top:58%!important;min-width:64px!important;padding:5px 9px!important}
.speedtest-v151 .speed-gauge-live b{font-size:20px!important}
.speedtest-v151 .speedtest-stage-copy strong{font-size:16px!important;margin-bottom:6px!important}
.speedtest-v151 .speedtest-stage-copy>small{font-size:11px!important;margin-top:6px!important}
.speedtest-v151 .speedtest-actions{display:block!important;margin-top:12px!important}
.speedtest-v151 .speedtest-start{width:100%!important;min-width:0!important}
.speedtest-v151 .speed-result-grid{grid-template-columns:1fr!important}

.speedtest-v151.speedtest-r5{
    padding:14px 10px!important;
}

.speedtest-v151.speedtest-r5 .gauge-stream-stage{
    grid-template-columns:1fr!important;
    gap:4px!important;
    min-height:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

.speedtest-v151.speedtest-r5 .speed-gauge,
.speedtest-v151.speedtest-r5 .speed-gauge-svg{
    width:165px!important;
    height:165px!important;
    max-width:165px!important;
}

.speedtest-v151.speedtest-r5 .speed-gauge-live{
    min-width:54px!important;
    padding:3px 7px!important;
}

.speedtest-v151.speedtest-r5 .speed-gauge-live b{
    font-size:17px!important;
}

.speedtest-v151.speedtest-r5 .speedtest-stage-copy{
    text-align:center!important;
}

.speedtest-v151.speedtest-r5 .speedtest-stage-copy strong{
    font-size:16px!important;
    margin-bottom:5px!important;
}

.speedtest-v151.speedtest-r5 .speedtest-stage-copy>small{
    font-size:11px!important;
    margin-top:5px!important;
}

.speedtest-v151.speedtest-r5 .speedtest-actions{
    display:block!important;
    margin-top:9px!important;
}

.speedtest-v151.speedtest-r5 .speedtest-start{
    width:100%!important;
    min-width:0!important;
}

/* SUNTUBE_SPEEDTEST_R6_BEGIN */
.speedtest-v151.speedtest-r6{padding:14px 10px!important}
.speedtest-v151.speedtest-r6 .gauge-stream-stage{grid-template-columns:1fr!important;gap:6px!important;min-height:0!important;padding:0!important;margin-top:10px!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.speedtest-v151.speedtest-r6 .speed-gauge,.speedtest-v151.speedtest-r6 .speed-gauge-svg{width:184px!important;height:184px!important;max-width:184px!important}
.speedtest-v151.speedtest-r6 .speed-gauge{margin:0 auto!important}
.speedtest-v151.speedtest-r6 .speed-gauge-scale text{font-size:29px!important;stroke-width:2.4px!important}
.speedtest-v151.speedtest-r6 .speed-gauge-live{min-width:58px!important;padding:3px 8px!important}
.speedtest-v151.speedtest-r6 .speed-gauge-live b{font-size:18px!important}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes{left:50%!important;top:92px!important;width:min(78vw,272px)!important;height:92px!important;transform:translate(-18%,-50%)!important;opacity:.86!important}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i{height:2px!important}
.speedtest-v151.speedtest-r6 .speedtest-stage-copy{text-align:center!important;z-index:6!important}
.speedtest-v151.speedtest-r6 .speedtest-stage-copy strong{font-size:16px!important;margin-bottom:5px!important}
.speedtest-v151.speedtest-r6 .speedtest-stage-copy>small{font-size:11px!important;margin-top:5px!important}
.speedtest-v151.speedtest-r6 .speedtest-actions{display:block!important;margin-top:9px!important}
.speedtest-v151.speedtest-r6 .speedtest-start{width:100%!important;min-width:0!important}
/* SUNTUBE_SPEEDTEST_R6_END */


/* SUNTUBE_LANGUAGE_FLAGS_1410 */
.language-flag,.language-top .language-flag{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:1.25em!important;height:auto!important;font-size:16px!important;line-height:1!important;overflow:visible!important}


/* SUNTUBE_LANGUAGE_FLAGS_FIX3 */
.language-top{gap:7px!important}
.language-flag{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;width:22px!important;min-width:22px!important;height:16px!important;line-height:16px!important;overflow:visible!important;flex:0 0 22px!important}
.language-flag img,.suntube-locale-flag{display:block!important;width:22px!important;height:16px!important;object-fit:cover!important;border-radius:2px!important;border:1px solid rgba(0,0,0,.18)!important;box-shadow:0 0 0 1px rgba(255,255,255,.35) inset!important;background:#eef2f7!important}
.suntube-language-choice-flagged{position:relative!important;padding-right:44px!important}
.suntube-language-choice-flagged>.suntube-locale-flag{position:absolute!important;right:10px!important;top:10px!important;width:24px!important;height:18px!important;pointer-events:none!important}
@media (max-width:900px){
  .language-flag{width:20px!important;min-width:20px!important;height:15px!important;flex-basis:20px!important}
  .language-flag img{width:20px!important;height:15px!important}
  .suntube-language-choice-flagged{padding-right:40px!important}
  .suntube-language-choice-flagged>.suntube-locale-flag{right:8px!important;top:9px!important;width:22px!important;height:16px!important}
}


/* SUNTUBE_MOBILE_END_RELATED_FIX5 */
.system-info-overlay{position:relative!important;width:min(440px,calc(100vw - 28px))!important;max-width:440px!important;box-sizing:border-box!important;padding-right:34px!important}
.system-info-close{position:absolute!important;right:7px!important;top:7px!important;margin:0!important;transform:none!important}

@media (max-width:1100px){
  [data-player] video{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}
  [data-suntube-related-host-fix5="1"]{position:relative!important;overflow:hidden!important}
  [data-suntube-related-grid-fix5="1"]{position:absolute!important;inset:0!important;z-index:60!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:5px!important;align-items:center!important;align-content:center!important;padding:6px!important;box-sizing:border-box!important;overflow:hidden!important;background:rgba(0,0,0,.92)!important}
  [data-suntube-related-card-fix5="1"]{display:block!important;position:relative!important;width:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
  [data-suntube-related-card-fix5="1"] img,[data-suntube-related-card-fix5="1"] picture,[data-suntube-related-card-fix5="1"] picture img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;object-position:center!important;background:#000!important}
  [data-suntube-related-card-fix5="1"] :is(h2,h3,h4,b,strong,.title,[class*="title"]){font-size:10px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:2px 0 0!important}
  [data-suntube-related-hidden-fix5="1"]{display:none!important}
}
@media (max-width:520px){
  [data-suntube-related-grid-fix5="1"]{gap:3px!important;padding:4px!important}
  [data-suntube-related-card-fix5="1"] :is(h2,h3,h4,b,strong,.title,[class*="title"]){font-size:8.5px!important}
}

/* SUNTUBE_CONLANG_SINGLE_FLAG_141308 */
.language[data-language^="eo"],
.language[data-language^="tok"]{
    position:relative!important;
    padding-right:42px!important;
    background-image:none!important;
}

/* Любой неизвестный DOM-слой старого renderer-а удаляем визуально.
   В актуальной разметке имя языка — текстовый узел, small — код,
   language-conlang-flag — единственный разрешённый графический элемент. */
.language[data-language^="eo"] > :not(small):not(.language-conlang-flag),
.language[data-language^="tok"] > :not(small):not(.language-conlang-flag){
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
}

/* Любой старый/общий renderer флага (включая 🌐) внутри кнопки eo/tok скрываем. */
.language[data-language^="eo"] .language-flag,
.language[data-language^="tok"] .language-flag{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    width:0!important;
    min-width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:none!important;
    box-shadow:none!important;
    overflow:hidden!important;
}

/* Старые псевдо-флаги/плашки на самой кнопке тоже полностью выключаем. */
.language[data-language^="eo"]::before,
.language[data-language^="eo"]::after,
.language[data-language^="tok"]::before,
.language[data-language^="tok"]::after{
    content:none!important;
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:none!important;
    box-shadow:none!important;
}

/* Единственный видимый флаг — настоящий inline SVG из WEBFIX7. */
.language[data-language^="eo"] > .language-conlang-flag,
.language[data-language^="tok"] > .language-conlang-flag{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    right:11px!important;
    top:11px!important;
    transform:none!important;
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    z-index:20!important;
    pointer-events:none!important;
}
.language[data-language^="eo"] > .language-conlang-flag > .language-conlang-svg,
.language[data-language^="tok"] > .language-conlang-flag > .language-conlang-svg{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
}

/* Верхняя кнопка языка: SVG заменяет текстовый глобус внутри того же слота. */
html[lang^="eo"] .language-top .language-flag,
html[lang^="tok"] .language-top .language-flag{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    min-width:24px!important;
    height:16px!important;
    min-height:16px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:transparent!important;
    font-size:0!important;
    line-height:0!important;
    overflow:hidden!important;
}
html[lang^="eo"] .language-top .language-flag > .language-conlang-svg,
html[lang^="tok"] .language-top .language-flag > .language-conlang-svg{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:24px!important;
    height:16px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
html[lang^="eo"] .language-top .language-flag::before,
html[lang^="eo"] .language-top .language-flag::after,
html[lang^="tok"] .language-top .language-flag::before,
html[lang^="tok"] .language-top .language-flag::after{
    content:none!important;
    display:none!important;
}


/* SUNTUBE_VERTICAL_PLAYER_1417 */
.suntube-player{aspect-ratio:var(--st-video-aspect,16/9)!important}
.suntube-player video{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
.suntube-player.st-video-portrait,.suntube-player.st-video-portrait video{background:transparent!important}
.player-card.st-video-portrait{width:min(100%,max(320px,calc(82dvh * var(--st-video-ratio,.5625))))!important;justify-self:center!important}
.player-card.st-video-portrait .suntube-player{width:100%!important;margin-inline:auto!important}
body.theater-mode .player-card.st-video-portrait{width:min(100%,max(320px,calc(92dvh * var(--st-video-ratio,.5625))))!important;margin-inline:auto!important}
body.view-embed.st-portrait-video{background:transparent!important}
.view-embed.st-portrait-video .suntube-player{position:fixed!important;inset:0!important;width:min(100vw,calc(100dvh * var(--st-video-ratio,.5625)))!important;height:auto!important;max-height:100dvh!important;margin:auto!important;aspect-ratio:var(--st-video-aspect)!important;border-radius:0!important;background:transparent!important}
@media(max-width:900px){.player-card.st-video-portrait{width:min(100%,max(280px,calc(86dvh * var(--st-video-ratio,.5625))))!important}}

/* SUNTUBE_PLAYER_SPEEDS_1466 */
@media(max-width:620px){.suntube-player [data-speed-button].player-speed-button-v1466{display:inline-flex!important;min-width:38px!important;max-width:46px!important;padding:0 3px!important;font-size:10px!important}.suntube-player [data-speed-menu]{min-width:118px!important;max-height:62vh!important}}

@media(max-width:620px){.playlist-card-title{-webkit-line-clamp:2}.playlist-card-desc{-webkit-line-clamp:3;max-height:4.3em}}

.suntube-player [data-captions-button]{min-width:28px!important;width:28px!important;max-width:28px!important;height:28px!important;padding:0!important}
