:root{
  --accent:#ff6a00;--accent-soft:#fff1e8;--bg:#f4f5f7;--panel:#fff;--panel2:#f7f8fa;
  --text:#20242a;--muted:#6f7782;--border:#e0e3e7;--sidebar:#0b0c0e;--sidebar2:#17191d;
  --sidebar-text:#e8e9eb;--sidebar-muted:#9a9da3;--sidebarText:var(--sidebar-text);--sidebarMuted:var(--sidebar-muted);--shadow:0 8px 26px rgba(25,32,42,.08)
}
html[data-theme="gray"]{
  --bg:#e0e2e5;--panel:#eceef0;--panel2:#d7dadd;--text:#25282c;--muted:#686d73;
  --border:#c9cdd1;--sidebar:#181a1d;--sidebar2:#24272b;--sidebar-text:#f0f1f2;--sidebar-muted:#b0b4b8;--sidebarText:var(--sidebar-text);--sidebarMuted:var(--sidebar-muted);
  --shadow:0 8px 26px rgba(20,24,28,.09)
}
html[data-theme="dark"]{
  --bg:#111317;--panel:#1b1e23;--panel2:#24282e;--text:#f3f4f6;--muted:#a6abb2;
  --border:#32363d;--sidebar:#08090b;--sidebar2:#17191d;--sidebar-text:#f2f2f3;--sidebar-muted:#aaaeb4;--sidebarText:var(--sidebar-text);--sidebarMuted:var(--sidebar-muted);
  --shadow:0 10px 30px rgba(0,0,0,.25)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 Arial,Helvetica,sans-serif}
button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}
.topbar{position:fixed;inset:0 0 auto 0;height:62px;z-index:80;display:grid;grid-template-columns:260px minmax(280px,620px) 1fr;align-items:center;gap:20px;padding:0 18px;background:var(--panel);border-bottom:1px solid var(--border);box-shadow:0 2px 10px rgba(0,0,0,.04)}
.brand-wrap{display:flex;align-items:center;gap:11px}.menu-toggle{display:none;width:38px;height:38px;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text)}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px}.brand-mark{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#ffd95e 0 20%,#ff9e18 21% 49%,#ff6a00 50%);box-shadow:0 0 18px rgba(255,106,0,.22);color:#111;font-size:12px}
.search-box{position:relative}.search-box input{width:100%;height:40px;padding:0 42px 0 14px;border:1px solid var(--border);border-radius:9px;background:var(--panel2);color:var(--text);outline:none}.search-box input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,106,0,.12)}.search-box button{position:absolute;right:4px;top:4px;width:34px;height:32px;border:0;border-radius:7px;background:transparent;color:var(--muted)}
.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.top-btn{height:38px;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);padding:0 11px;display:flex;align-items:center;gap:7px}.top-btn:hover{border-color:var(--accent)}.icon{font-size:17px}
.sidebar{position:fixed;left:0;top:62px;bottom:0;width:238px;z-index:70;display:flex;flex-direction:column;overflow-y:auto;background:linear-gradient(180deg,var(--sidebar),var(--sidebar2));color:var(--sidebarText);border-right:1px solid rgba(255,255,255,.05)}
.sidebar-title{padding:20px 18px 9px;color:#72767d;font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:1.2px}.nav-list{display:grid;gap:3px;padding:0 9px}.nav-link{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--sidebarMuted);text-align:left}.nav-link:hover{background:rgba(255,255,255,.07);color:#fff}.nav-link.active{background:rgba(255,106,0,.18);color:#fff;box-shadow:inset 3px 0 0 var(--accent)}.nav-icon{width:21px;text-align:center;font-size:17px}.sidebar-spacer{flex:1}.sidebar-footer{padding:15px 18px 20px;color:#70747a;font-size:11px;display:grid;gap:6px}
.page-shell{margin-left:238px;padding-top:62px;min-height:100vh}.content{max-width:1880px;margin:0 auto;padding:22px 26px 45px}.notice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;margin-bottom:24px;border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:11px;background:var(--panel);box-shadow:var(--shadow)}.notice strong{display:block;margin-bottom:2px}.notice span{color:var(--muted)}.btn{border:1px solid var(--border);border-radius:9px;padding:9px 13px;background:var(--panel);color:var(--text);font-weight:700}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.section{margin-bottom:34px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-head h2{margin:0;font-size:21px}.section-head a{color:var(--accent);font-weight:700}.filter-row{display:flex;gap:8px;margin-bottom:14px;overflow-x:auto}.chip{white-space:nowrap;border:1px solid var(--border);border-radius:999px;background:var(--panel);color:var(--muted);padding:7px 11px}.chip.active{background:var(--accent);border-color:var(--accent);color:#fff}
.video-grid{display:grid;grid-template-columns:repeat(var(--grid-columns,5),minmax(0,1fr));gap:20px 16px}.video-card{min-width:0}.thumbnail{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background-color:#101114;box-shadow:0 3px 12px rgba(0,0,0,.1)}.thumbnail:before{content:"";position:absolute;inset:0;background-image:var(--thumb,var(--art));background-size:cover;background-position:center;background-repeat:no-repeat}.thumbnail:hover:before{filter:brightness(1.08)}.duration,.quality{position:absolute;z-index:2;padding:3px 6px;border-radius:4px;background:rgba(0,0,0,.82);color:#fff;font-size:11px;font-weight:700}.duration{right:6px;bottom:6px}.quality{left:6px;top:6px;background:rgba(255,255,255,.92);color:#161616}.card-title{margin:9px 0 4px;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.card-meta,.card-tags{color:var(--muted);font-size:12px}.card-tags{margin-top:3px;color:var(--accent)}
.playlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}.playlist-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--panel);min-width:0;min-height:116px;align-items:start;overflow:hidden}.playlist-card-body{min-width:0;display:grid;align-content:start;gap:6px;min-height:96px}.playlist-cover{aspect-ratio:16/10;border-radius:7px;background:var(--art);position:relative;overflow:hidden}.playlist-cover span{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.48);color:#fff;font-weight:800}.playlist-card-title{margin:2px 0 0;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.playlist-card-desc{margin:0;color:var(--muted);font-size:12px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;max-height:6.5em}
.site-footer{border-top:1px solid var(--border);padding:24px 0;color:var(--muted);font-size:12px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:24px}.footer-title{color:var(--text);font-weight:800;margin-bottom:8px}.footer-links{display:grid;gap:6px}
.page-view{display:none}.page-view.active{display:block}
.video-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px}.player-card{background:var(--panel);border:1px solid var(--border);border-radius:10px;overflow:hidden}.player{aspect-ratio:16/9;background:radial-gradient(circle at 35% 25%,#f4a45e,#8d426f 38%,#202847 72%);display:grid;place-items:center;position:relative}.play-button{width:72px;height:72px;border:0;border-radius:50%;background:rgba(255,255,255,.94);font-size:28px;color:#111}.player-bar{position:absolute;left:0;right:0;bottom:0;height:46px;background:linear-gradient(transparent,rgba(0,0,0,.84));display:flex;align-items:end;padding:0 12px 9px;color:#fff;font-size:12px}.player-bar:before{content:"";position:absolute;left:12px;right:12px;top:11px;height:3px;border-radius:99px;background:linear-gradient(90deg,#ff3c2e 0 38%,rgba(255,255,255,.34) 38%)}.video-info{padding:17px}.video-info h1{font-size:22px;margin:0 0 8px}.video-meta{color:var(--muted)}.video-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.action-btn{border:1px solid var(--border);background:var(--panel2);color:var(--text);border-radius:8px;padding:8px 10px}.support-box{margin-top:14px;padding:14px;border-radius:9px;background:var(--accent-soft);border:1px solid #ffd4b8;color:#71401e}.side-panel{border:1px solid var(--border);border-radius:10px;background:var(--panel);overflow:hidden}.side-panel h2{font-size:15px;margin:0;padding:14px;border-bottom:1px solid var(--border)}.side-video{display:grid;grid-template-columns:128px 1fr;gap:10px;padding:10px;border-bottom:1px solid var(--border)}.side-video:last-child{border-bottom:0}.side-thumb{aspect-ratio:16/9;border-radius:6px;background:var(--thumb,var(--art))}.side-video b{font-size:13px;line-height:1.3}.side-video span{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.modal{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.55)}.modal.show{display:flex}.modal-card{width:min(620px,100%);max-height:84vh;overflow:auto;border-radius:13px;background:var(--panel);color:var(--text);box-shadow:0 25px 80px rgba(0,0,0,.28)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid var(--border)}.modal-head h2{font-size:17px;margin:0}.close{width:34px;height:34px;border:1px solid var(--border);border-radius:8px;background:var(--panel2);color:var(--text)}.language-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px}.language{border:1px solid var(--border);border-radius:9px;background:var(--panel2);color:var(--text);padding:10px;text-align:left}.language.active{border-color:var(--accent);box-shadow:0 0 0 2px rgba(255,106,0,.12)}
.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px}.theme-card{border:2px solid var(--border);border-radius:10px;padding:10px;background:var(--panel2);color:var(--text)}.theme-preview{height:74px;border-radius:7px;margin-bottom:8px;border:1px solid var(--border)}.theme-light{background:linear-gradient(90deg,#111 0 25%,#f5f5f5 25%)}.theme-gray{background:linear-gradient(90deg,#1b1b1b 0 25%,#d1d3d5 25%)}.theme-dark{background:linear-gradient(90deg,#080808 0 25%,#1c1f24 25%)}
.mobile-bottom{display:none}


:root{--radius:8px;--content-width:1880px;--card-gap:16px;--font-family:Arial,Helvetica,sans-serif;--grid-columns:5}.topbar{grid-template-columns:260px minmax(280px,620px) 1fr}.support-top{color:var(--accent)}.mobile-overlay{display:none}.page-head-public{margin-bottom:18px}.page-head-public h1{margin:0;font-size:26px}.page-head-public p{color:var(--muted)}html[data-layout="feed"] .video-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1150px}html[data-layout="focus"] .video-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px}.thumbnail{display:block}.thumbnail:before{background-image:var(--thumb,var(--art,linear-gradient(135deg,#ef8a56,#6e477f)));background-size:cover;background-position:center;background-repeat:no-repeat}.thumbnail.vertical:before{background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#000}.live-badge{position:absolute;z-index:2;left:6px;bottom:6px;padding:3px 6px;border-radius:4px;background:#e03543;color:#fff;font-size:11px;font-weight:800}.taxonomy-strip{display:flex;gap:9px;overflow:auto}.taxonomy-strip a{min-width:170px;display:flex;justify-content:space-between;padding:13px;border:1px solid var(--border);border-radius:9px;background:var(--panel)}.taxonomy-strip small{color:var(--muted)}.taxonomy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.taxonomy-card{padding:15px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.taxonomy-art{height:80px;border-radius:8px;background:linear-gradient(135deg,var(--accent),#7650a4);margin-bottom:12px}.taxonomy-card h2{font-size:17px;margin:0 0 5px}.taxonomy-card p,.taxonomy-card span{color:var(--muted)}.playlist-header{display:grid;grid-template-columns:280px 1fr;gap:20px;align-items:center;padding:18px;border:1px solid var(--border);border-radius:11px;background:var(--panel);margin-bottom:22px}.playlist-hero-cover{aspect-ratio:16/9;border-radius:9px;background:linear-gradient(135deg,var(--accent),#754796)}.playlist-header h1{margin:0 0 7px}.playlist-header p{color:var(--muted)}.article-page,.speed-page,.error-page{max-width:980px;padding:25px;border:1px solid var(--border);border-radius:11px;background:var(--panel)}.article-content{line-height:1.7}.speed-results{margin-top:20px;font-size:28px;font-weight:800}.error-page{text-align:center;margin:auto}.error-code{font-size:80px;font-weight:900;color:var(--border)}.description{margin-top:15px;line-height:1.65;white-space:normal}.autoplay-toggle{display:flex;align-items:center;gap:6px}.share-body,.support-modal-body{padding:16px}.share-body label{display:grid;gap:5px;margin-bottom:12px;color:var(--muted)}.share-body input,.share-body textarea{width:100%;padding:9px;border:1px solid var(--border);border-radius:8px;background:var(--panel2);color:var(--text)}.language small{display:block;color:var(--muted);margin-top:3px}.ad-slot:empty{display:none}.ad-item{padding:10px;text-align:center;border:1px solid var(--border);border-radius:8px;background:var(--panel)}.ad-item img{max-width:100%;height:auto}.custom-html-block{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.playlist-position{display:grid!important;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--panel2);color:var(--muted)}.side-video.current{background:var(--accent-soft)}
.suntube-player{position:relative;width:100%;aspect-ratio:16/9;background:#000;overflow:hidden;border-radius:10px;color:#fff;user-select:none}.suntube-player video{width:100%;height:100%;display:block;object-fit:contain;background:#000}.player-message{position:absolute;inset:0;display:grid;place-items:center;padding:20px;text-align:center;pointer-events:none}.player-center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;border:0;background:rgba(255,255,255,.94);color:#111;font-size:28px;cursor:pointer;z-index:4}.suntube-player.playing .player-center-play{opacity:0;pointer-events:none}.tap-zone{position:absolute;top:0;bottom:62px;width:34%;z-index:2}.tap-left{left:0}.tap-right{right:0}.player-controls{position:absolute;z-index:5;left:0;right:0;bottom:0;padding:35px 12px 9px;background:linear-gradient(transparent,rgba(0,0,0,.88));transition:.2s opacity}.suntube-player.controls-hidden .player-controls{opacity:0;pointer-events:none}.progress-wrap{height:18px;position:relative;display:flex;align-items:center}.progress-wrap:before,.buffer-line,.progress-line{content:"";position:absolute;left:0;right:0;height:4px;border-radius:9px}.progress-wrap:before{background:rgba(255,255,255,.25)}.buffer-line{right:auto;width:0;background:rgba(255,255,255,.45)}.progress-line{right:auto;width:0;background:#ef3e2f}.progress-wrap input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.controls-row{display:flex;align-items:center;gap:7px}.controls-row button{border:0;background:transparent;color:#fff;height:34px;min-width:34px;cursor:pointer}.volume{width:88px}.controls-spacer{flex:1}.time{font-size:12px}.player-menu{display:none;position:absolute;z-index:20;right:10px;bottom:60px;min-width:160px;max-height:290px;overflow:auto;border-radius:8px;background:rgba(20,20,20,.96);box-shadow:0 8px 30px rgba(0,0,0,.5)}.player-menu.open{display:block}.player-menu button{display:block;width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:10px 13px}.player-menu button:hover,.player-menu button.active{background:rgba(255,255,255,.12)}body.theater-mode .video-layout{grid-template-columns:1fr}body.theater-mode .video-side{display:none}body.theater-mode .content{max-width:none;padding-left:0;padding-right:0}body.theater-mode .video-info{padding-left:26px;padding-right:26px}.view-embed{background:#000}.view-embed .suntube-player{position:fixed;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0}
.modal.open{display:flex}.mobile-bottom-nav{display:none}

/* SunTube 1.1 — branding */
.brand-logo-img{width:34px;height:34px;object-fit:contain;display:block;flex:0 0 auto}.brand .brand-mark{display:none}.footer-brand-logo{width:42px;height:42px;object-fit:contain}


.playlist-cover,.playlist-hero-cover{background-image:linear-gradient(135deg,rgba(0,0,0,.05),rgba(0,0,0,.18)),var(--playlist-cover,linear-gradient(135deg,var(--accent),#465e84));background-position:center;background-size:cover;background-repeat:no-repeat}

.support-footer-button{display:inline-flex!important;width:auto!important;align-items:center;justify-content:center;padding:8px 12px!important;border:1px solid var(--accent)!important;border-radius:8px!important;background:var(--accent)!important;color:#fff!important;font-weight:700;cursor:pointer}
.speed-progress{margin-top:18px;max-width:520px}.speed-progress>i{display:block;height:8px;border-radius:99px;background:linear-gradient(90deg,var(--accent),#ff9c5c);width:0}.speed-progress>span{display:block;margin-top:8px;color:var(--muted)}
.speed-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.speed-result-card{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.speed-result-card b{display:block;font-size:25px;margin:8px 0}.speed-result-card small{color:var(--muted);line-height:1.45}


/* SunTube 1.1.2 — playlists and public error diagnostics */
.playlist-summary{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted)}
.playlist-summary span{display:inline-flex;padding:5px 8px;border-radius:7px;background:var(--panel2)}
.playlist-navigation{display:flex;gap:8px;padding:10px;border-bottom:1px solid var(--border)}
.playlist-navigation a{flex:1;padding:8px 9px;border:1px solid var(--border);border-radius:7px;background:var(--panel2);text-align:center;font-size:12px;font-weight:700}
.public-error-code{display:block;width:max-content;margin:12px auto;padding:7px 10px;border-radius:7px;background:var(--panel2);color:var(--muted);font-family:Consolas,monospace}


/* SunTube 1.2 — player, sorting, footer and adaptive pages */
.public-body{min-height:100dvh;display:flex;flex-direction:column}
.page-shell{display:flex;flex:1 0 auto;flex-direction:column;min-height:100dvh}
.content{width:100%;max-width:var(--content-width,1880px);flex:1 0 auto}
.site-footer{margin-top:auto;padding:22px 26px;background:var(--bg)}
.footer-grid{width:100%;max-width:var(--content-width,1880px);margin:0 auto;display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:24px}
.footer-column{min-width:0}
.footer-links{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}
.footer-button{display:inline-flex;align-items:center;width:auto;min-height:34px;padding:7px 11px;border:1px solid var(--border);border-radius:var(--radius,8px);background:var(--panel2);color:var(--text);font-weight:650}
.footer-button:hover{border-color:#b9c0c9;background:var(--panel)}
.support-footer-button{min-height:34px;white-space:nowrap}
.article-page,.speed-page,.error-page{width:100%;max-width:none}
.view-article .content,.view-speedtest .content,.view-error .content{max-width:none}
.home-sort{display:flex;align-items:end;justify-content:flex-end;gap:8px;margin:0 0 18px}
.home-sort label{display:grid;gap:4px;color:var(--muted);font-size:12px}
.home-sort select{min-width:170px;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius,8px);background:var(--panel);color:var(--text)}

.suntube-player{cursor:default}
.suntube-player video{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.player-center-play{display:grid;place-items:center;transition:.18s opacity,.18s transform}
.player-center-play:hover{transform:translate(-50%,-50%) scale(1.04)}
.suntube-player.playing .player-center-play{opacity:0;pointer-events:none}
.suntube-player.ended .player-center-play{opacity:1;pointer-events:auto}
.player-loader{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(0,0,0,.2);pointer-events:none}
.player-loader[hidden]{display:none}
.player-loader b{padding:6px 10px;border-radius:8px;background:rgba(0,0,0,.62);font-size:12px}
.player-loader b[hidden]{display:none}
.player-spinner{width:46px;height:46px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:suntube-spin .8s linear infinite}
@keyframes suntube-spin{to{transform:rotate(360deg)}}
.progress-wrap{cursor:pointer}
.progress-wrap:before{height:5px}
.buffer-line,.progress-line{height:5px}
.buffer-line{background:rgba(255,255,255,.52)}
.progress-line{background:var(--accent)}
.player-menu{min-width:190px}
.player-stats-menu{width:min(360px,calc(100% - 20px));padding:12px}
.player-stats b{display:block;margin-bottom:8px}
.player-stats dl{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0}
.player-stats dt{color:#aaa}
.player-stats dd{margin:0;text-align:right;word-break:break-word}
.share-modal-card{width:min(700px,100%)}
.share-actions{display:flex;gap:8px;margin-bottom:12px}
.share-options{display:flex;align-items:center;margin-bottom:10px}
.share-options label{display:flex!important;align-items:center;gap:7px;margin:0!important;color:var(--text)!important}
.share-qr{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0}
.share-qr img{width:180px;height:180px;padding:8px;border:1px solid var(--border);border-radius:10px;background:#fff}
.playlist-side-items{max-height:650px;overflow:auto}
.playlist-side-item{grid-template-columns:30px 112px minmax(0,1fr);align-items:center}
.playlist-side-item .side-thumb{width:112px}
.playlist-side-text{min-width:0}
.playlist-side-text b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}


/* SunTube.TV 1.2.2 */
.speed-results{font-size:14px;font-weight:600}
.speed-result-grid{gap:10px;margin-top:14px}
.speed-result-card{padding:12px 13px}
.speed-result-card>span{font-size:12px;font-weight:700}
.speed-result-card b{font-size:18px;margin:5px 0 7px}
.speed-result-card small{font-size:11px;line-height:1.35}
.speed-last{font-size:12px;font-weight:600;margin:12px 0 0}
.side-thumb{background-image:var(--thumb,var(--art))!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#101114!important}
.playlist-side-item .side-thumb{height:auto;aspect-ratio:16/9;align-self:center}

/* SunTube.TV 1.2.4 — PeerTube canonical playlist/share layout */
.share-options{display:flex!important;align-items:center!important;gap:8px!important;margin:10px 0 12px!important}
.share-options label{display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;margin:0!important;line-height:1.3!important;color:var(--text)!important}
.share-options input[type="checkbox"]{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;margin:0!important;padding:0!important}
.share-actions{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 12px!important}
.share-qr{display:grid!important;grid-template-columns:180px auto!important;align-items:center!important;justify-content:start!important;gap:14px!important;margin:12px 0 16px!important}
.share-qr img{display:block!important;width:180px!important;height:180px!important;margin:0!important}
.share-qr .btn{width:max-content!important;align-self:center!important}

/* SunTube 1.3.0: собственный слой субтитров всегда выше таймлайна/контролов */
.player-captions-overlay{position:absolute;z-index:6;left:8%;right:8%;bottom:78px;display:none;pointer-events:none;text-align:center;white-space:pre-line;font-size:clamp(16px,2.2vw,30px);font-weight:700;line-height:1.28;color:#fff;text-shadow:0 2px 4px #000,0 0 12px #000;padding:5px 10px}.player-captions-overlay.visible{display:block}.suntube-player.controls-hidden .player-captions-overlay{bottom:28px}.suntube-player video::cue{color:transparent;background:transparent;text-shadow:none}
.live-link-state{position:absolute;z-index:8;left:50%;top:16px;transform:translateX(-50%);max-width:min(88%,760px);padding:10px 16px;border-radius:999px;background:rgba(12,12,12,.82);color:#fff;font-weight:700;text-align:center;backdrop-filter:blur(8px);box-shadow:0 6px 22px rgba(0,0,0,.3)}.live-like-bursts{position:absolute;inset:0;z-index:7;pointer-events:none;overflow:hidden}.live-like-bursts span{position:absolute;bottom:80px;font-size:34px;animation:suntube-live-heart 1.8s ease-out forwards;text-shadow:0 2px 8px rgba(0,0,0,.35)}@keyframes suntube-live-heart{0%{opacity:0;transform:translateY(20px) scale(.7)}15%{opacity:1}100%{opacity:0;transform:translateY(-230px) scale(1.35) rotate(12deg)}}
.status-hero,.creative-error-page{max-width:1050px;margin:70px auto;padding:42px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,var(--panel),var(--panel2));display:grid;grid-template-columns:150px 1fr;gap:32px;align-items:center}.status-orbit,.creative-error-code{width:140px;height:140px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-size:56px;font-weight:900;box-shadow:inset 0 0 0 1px var(--border)}.creative-error-code{font-size:44px}.status-kicker{display:block;color:var(--accent);font-weight:850;text-transform:uppercase;letter-spacing:.08em;font-size:12px}.status-hero h1,.creative-error-page h1{font-size:clamp(28px,4vw,52px);margin:8px 0}.error-search{display:flex;gap:8px;margin-top:20px}.error-search input{flex:1;min-width:0}.error-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.error-suggestions{max-width:1200px;margin:0 auto 60px}.error-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.error-preview-card{display:block;text-decoration:none;color:inherit}.error-preview-image{display:grid;place-items:center;aspect-ratio:16/9;background:var(--panel2);border-radius:12px;overflow:hidden;margin-bottom:8px}.error-preview-image img{width:100%;height:100%;object-fit:cover}.processing-chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:800;margin:8px 0 16px}
@media(max-width:760px){.player-captions-overlay{left:4%;right:4%;bottom:70px;font-size:clamp(15px,4.7vw,22px)}.status-hero,.creative-error-page{grid-template-columns:1fr;margin:24px 10px;padding:24px}.status-orbit,.creative-error-code{width:92px;height:92px;font-size:34px}.error-preview-grid{grid-template-columns:1fr 1fr}}
.live-public-stats{position:absolute;top:14px;left:14px;z-index:17;display:flex;gap:8px;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(8,10,14,.72);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(6px)}
.live-public-stats span:first-child{color:#ff5353}
.player-context-menu{position:absolute;z-index:35;min-width:200px;padding:5px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(20,20,20,.97);box-shadow:0 10px 32px rgba(0,0,0,.55)}
.player-context-menu[hidden]{display:none!important}
.player-context-menu button{display:block;width:100%;border:0;border-radius:6px;background:transparent;color:#fff;text-align:left;padding:10px 12px;cursor:pointer}
.player-context-menu button:hover{background:rgba(255,255,255,.12)}

/* SunTube 1.3.8 — compact text-only theme selector + public diagnostics + infinite listings */
.theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.theme-card{min-height:48px;display:grid;place-items:center;cursor:pointer}
.theme-card b{display:block;text-align:center;font-size:14px}
.infinite-scroll-sentinel{min-height:64px;display:grid;place-items:center;color:var(--muted);font-size:13px;padding:18px;text-align:center}
.infinite-scroll-sentinel.loading span:after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:suntube-spin .7s linear infinite}
@keyframes suntube-spin{to{transform:rotate(360deg)}}
/* SunTube 1.3.8 hotfix — System information is context-menu only, PeerTube-style overlay. */
.player-stats-menu{display:none!important;position:absolute!important;z-index:34!important;inset:0!important;width:100%!important;min-width:0!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;pointer-events:none!important}
.player-stats-menu.open{display:block!important}
.system-info-overlay{position:absolute;left:14px;top:12px;width:min(620px,calc(100% - 28px));max-height:calc(100% - 24px);overflow:auto;padding:8px 12px 10px;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.62) 76%,rgba(0,0,0,0) 100%);color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.22;text-shadow:0 1px 2px #000;pointer-events:auto}
.system-info-close{position:absolute;right:10px;top:5px;border:0!important;background:transparent!important;color:#fff!important;font:700 12px/1 Arial,Helvetica,sans-serif!important;padding:3px!important;cursor:pointer!important;min-width:0!important;height:auto!important}
.system-info-lines{padding-right:42px}
.system-info-lines>div{display:grid;grid-template-columns:minmax(118px,max-content) minmax(0,1fr);gap:10px;align-items:start}
.system-info-lines b{font-weight:700;text-align:right}
.system-info-lines span{font-weight:700;overflow-wrap:anywhere}


/* SunTube 1.3.9 — real single-stream Speedtest + animated SunTube meter */
.speedtest-v139{overflow:hidden;position:relative;padding:28px}
.speedtest-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}
.speedtest-head h1{margin:0 0 8px;font-size:30px}
.speedtest-head p{margin:0;color:var(--muted);max-width:760px;line-height:1.55}
.speedtest-start{min-width:150px;min-height:42px}
.speedtest-stage{display:grid;grid-template-columns:190px minmax(0,1fr);gap:26px;align-items:center;margin:26px 0 8px;padding:24px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(135deg,var(--panel2),var(--panel));overflow:hidden;position:relative}
.speedtest-stage:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-150px;top:-190px;background:radial-gradient(circle,var(--accent-soft),transparent 70%);pointer-events:none}
.speedtest-stage-copy{min-width:0;position:relative;z-index:1}
.speedtest-stage-copy strong{display:block;font-size:18px;margin-bottom:10px}
.speedtest-stage-copy small{display:block;margin-top:10px;color:var(--muted);line-height:1.45}
.speedtest-v139 .speed-progress{max-width:none;margin:0;height:12px;border-radius:999px;background:var(--border);overflow:hidden}
.speedtest-v139 .speed-progress>i{height:100%;width:0;background:linear-gradient(90deg,var(--accent),#ffb43d);box-shadow:0 0 18px rgba(255,125,0,.32);transition:width .22s ease}
.speedtest-v139 .speed-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
.speedtest-v139 .speed-result-card{position:relative;overflow:hidden;min-height:128px}
.speedtest-v139 .speed-result-card:after{content:"";position:absolute;width:85px;height:85px;border-radius:50%;right:-36px;bottom:-42px;background:var(--accent-soft)}
.speedtest-v139 .speed-last{color:var(--muted)}
@keyframes suntube-speed-sun-rotate{to{transform:rotate(360deg)}}
@keyframes suntube-speed-pulse{50%{transform:scale(1.045)}}

/* Keep the diagnostic close control inside the System information table. */
.system-info-overlay{box-sizing:border-box!important;position:absolute!important}
.system-info-close{left:auto!important;right:7px!important;top:6px!important;bottom:auto!important;transform:none!important;margin:0!important;z-index:3!important;box-sizing:border-box!important;display:block!important}
.system-info-lines{padding-right:38px!important}

/* SunTube 1.4.0 — public Speedtest, clean cards and compact diagnostics */
.speedtest-v139 .speedtest-head{display:block}
.speedtest-v139 .speedtest-actions{display:flex;align-items:center;gap:10px;margin-top:16px}
.speedtest-v139 .speedtest-start{min-width:170px}
.speedtest-v139 .speedtest-stage.running{box-shadow:0 12px 34px rgba(255,125,0,.10)}
@keyframes suntube-speed-float{50%{transform:translateY(-4px)}}
@keyframes suntube-speed-ray-pulse{to{opacity:1;filter:drop-shadow(0 0 5px var(--accent))}}

.player-stats-menu .system-info-overlay{left:14px!important;right:auto!important;top:12px!important;width:min(560px,calc(100% - 28px))!important;max-width:calc(100% - 28px)!important;padding:9px 34px 10px 12px!important;background:rgba(0,0,0,.80)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:3px!important;overflow:auto!important}
.player-stats-menu .system-info-close{position:absolute!important;left:auto!important;right:6px!important;top:5px!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;display:inline-block!important;padding:2px 3px!important;margin:0!important;line-height:1!important;text-align:center!important;z-index:5!important}
.player-stats-menu .system-info-lines{padding-right:0!important}
.controls-row [data-captions-button][disabled]{opacity:.42;cursor:not-allowed}
.controls-row [data-captions-button].pending{opacity:1;animation:suntube-cc-pending 1.4s ease-in-out infinite}
.player-menu .caption-state-item{opacity:.72!important;cursor:default!important}
@keyframes suntube-cc-pending{50%{text-shadow:0 0 9px rgba(255,255,255,.9)}}


/* SunTube 1.4.3 */
.support-top{font-family:inherit;white-space:nowrap}
.share-modal-card{width:min(760px,100%)}
.share-media-grid{display:grid;grid-template-columns:196px minmax(0,1fr);gap:18px;align-items:start;margin-top:12px}
.share-media-grid .share-qr{display:block!important;margin:0!important}
.share-media-grid .share-qr img{display:block!important;width:196px!important;height:196px!important;margin:0!important;padding:8px!important;box-sizing:border-box!important}
.share-embed-panel{min-width:0;display:flex;flex-direction:column;gap:10px}
.share-embed-panel label{margin:0!important}
.share-embed-panel textarea{min-height:132px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.4}
.share-embed-panel .btn{align-self:flex-start}
.side-video-copy{min-width:0!important;display:flex!important;flex-direction:column!important;align-self:center!important;color:inherit!important;font-size:inherit!important;margin:0!important}
.side-video-copy b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.32}
.side-video .side-video-views{display:block!important;margin:7px 0 0!important;color:var(--muted)!important;font-size:12px!important;line-height:1.25!important;font-weight:650!important}
.speedtest-idle-icon{display:grid;place-items:center;font-size:54px;line-height:1;color:#ff7a00;text-shadow:0 2px 9px rgba(255,122,0,.22);filter:saturate(1.08)}
.speedtest-live-reading{display:flex;flex-direction:column;align-items:center;justify-content:center}
.speedtest-live-reading[hidden],.speedtest-idle-icon[hidden]{display:none!important}
.speedtest-live-reading b{font-size:29px;line-height:1;font-variant-numeric:tabular-nums}
.speedtest-live-reading small{margin-top:5px;font-size:11px;font-weight:800;opacity:.72;color:inherit}

/* SunTube 1.4.4 */
.share-modal-v144{width:min(680px,calc(100vw - 28px))}.share-modal-v144 .share-body{padding:14px 16px 16px}.share-link-label{display:block!important;margin:0 0 5px!important;color:var(--muted)}.share-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.share-link-row input{min-width:0}.share-modal-v144 .share-options{margin:9px 0 10px}.share-modal-v144 .share-media-grid{grid-template-columns:170px minmax(0,1fr);gap:14px;margin-top:0;align-items:stretch}.share-modal-v144 .share-qr{margin:0;display:grid!important;place-items:center}.share-modal-v144 .share-qr img{width:170px!important;height:170px!important;margin:0!important;padding:7px!important}.share-modal-v144 .share-embed-panel{display:flex;flex-direction:column;min-width:0}.share-modal-v144 .share-embed-panel label{margin:0!important;min-width:0;flex:1}.share-modal-v144 .share-embed-panel textarea{min-height:108px;resize:vertical}.share-modal-v144 .share-embed-panel .btn{align-self:flex-start;margin-top:8px}

.video-main,.video-info,.video-actions,.suntube-player,.player-controls,.controls-row{min-width:0}.suntube-player{max-width:100%}.controls-row{width:100%}.controls-row button{white-space:nowrap}.player-menu{max-width:calc(100% - 20px)}


.privacy-banner{position:fixed;z-index:110;left:calc(238px + 18px);right:18px;bottom:16px;display:none;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid var(--border);border-radius:13px;background:color-mix(in srgb,var(--panel) 94%,transparent);color:var(--text);box-shadow:0 12px 38px rgba(0,0,0,.16);backdrop-filter:blur(12px)}.privacy-banner.show{display:flex}.privacy-banner-copy{min-width:0;display:grid;gap:2px}.privacy-banner-copy strong{font-size:13px}.privacy-banner-copy span{font-size:12px;color:var(--muted);line-height:1.35}.privacy-banner-actions{display:flex;gap:8px;flex:0 0 auto}.privacy-banner-actions .btn{white-space:nowrap;min-height:36px;padding:7px 12px}.privacy-settings-button{cursor:pointer}.external-counters-slot{width:100%;max-width:var(--content-width,1880px);margin:0 auto;padding:0 26px}.external-counters-slot:empty{display:none}

/* SunTube 1.4.5 — real progress state: fill follows measured work, no endless stripe motion */


/* SunTube 1.4.6 — exact volume range end points */
.suntube-player .volume{
  -webkit-appearance:none;
  appearance:none;
  height:4px;
  padding:0;
  border:0;
  border-radius:999px;
  outline:none;
  background:transparent;
  cursor:pointer;
}
.suntube-player .volume::-webkit-slider-runnable-track{
  width:100%;height:4px;border:0;border-radius:999px;
  background:linear-gradient(90deg,#fff 0 var(--volume-percent,100%),rgba(255,255,255,.34) var(--volume-percent,100%) 100%);
}
.suntube-player .volume::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.45);
}
.suntube-player .volume::-moz-range-track{height:4px;border:0;border-radius:999px;background:rgba(255,255,255,.34)}
.suntube-player .volume::-moz-range-progress{height:4px;border:0;border-radius:999px;background:#fff}
.suntube-player .volume::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.45)}

/* SunTube 1.4.7 */
.language-top{display:inline-flex;align-items:center;gap:7px}.language-flag{font-size:18px;line-height:1}.language-short{display:none;font-weight:700;letter-spacing:.02em}
.footer-grid{grid-template-columns:minmax(170px,.8fr) minmax(300px,1fr) minmax(520px,1.45fr);gap:20px}.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.footer-tools-links{flex-wrap:nowrap}.footer-tools-links>*{white-space:nowrap}
.player-ad-overlay,.player-end-screen{position:absolute;inset:0;z-index:31;background:rgba(4,5,8,.94);display:flex;align-items:center;justify-content:center;overflow:hidden}.player-ad-overlay[hidden],.player-end-screen[hidden]{display:none!important}.player-ad-overlay img,.player-ad-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}.player-ad-click{position:absolute;inset:0;z-index:4}.player-ad-label{position:absolute;left:14px;top:14px;z-index:6;background:rgba(0,0,0,.7);color:#fff;border-radius:7px;padding:4px 8px;font:700 11px/1 system-ui}.player-ad-countdown{position:absolute;right:14px;top:14px;z-index:6;background:rgba(0,0,0,.7);color:#fff;border-radius:7px;padding:5px 9px;font-weight:700}.showing-ad .player-controls,.showing-ad .player-center-play,.showing-ad .tap-zone{visibility:hidden}.player-end-screen{flex-direction:column;gap:12px;padding:22px;color:#fff}.player-end-screen-title{font-size:20px;font-weight:800}.player-end-screen-grid{width:min(880px,94%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.player-end-card{display:grid;grid-template-rows:auto 1fr;color:#fff;text-decoration:none;background:rgba(255,255,255,.08);border-radius:10px;overflow:hidden;min-width:0}.player-end-thumb{display:block;aspect-ratio:16/9;background:#111 center/cover no-repeat}.player-end-title{padding:7px 9px;font-size:12px;line-height:1.25;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.player-end-replay{border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.4);color:#fff;border-radius:8px;padding:8px 14px;cursor:pointer}
.ad-item video{max-width:100%;height:auto}.ad-item img{max-width:100%;height:auto}

/* SunTube 1.4.8 — working playlist autoplay switch, equal footer tools, compact home filters */
.autoplay-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:5px 9px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--panel2);
  color:var(--text);
  cursor:pointer;
  user-select:none;
  box-sizing:border-box;
}
.autoplay-toggle input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.autoplay-switch-ui{
  position:relative;
  flex:0 0 auto;
  width:36px;
  height:20px;
  border-radius:999px;
  background:color-mix(in srgb,var(--muted) 34%,var(--panel));
  box-shadow:inset 0 0 0 1px var(--border);
  transition:background .18s ease,box-shadow .18s ease;
}
.autoplay-switch-ui>span{
  position:absolute;
  left:3px;
  top:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.22);
  transition:transform .18s ease;
}
.autoplay-toggle input:checked + .autoplay-switch-ui{
  background:var(--accent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 82%,#000);
}
.autoplay-toggle input:checked + .autoplay-switch-ui>span{transform:translateX(16px)}
.autoplay-toggle input:focus-visible + .autoplay-switch-ui{outline:2px solid var(--accent);outline-offset:2px}
.autoplay-switch-label{font-size:12px;font-weight:650;line-height:1.1;white-space:nowrap}
.player-autoplay-countdown{
  width:min(760px,94%);
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:9px;
  background:rgba(255,255,255,.09);
  color:#fff;
  text-align:center;
  font-size:13px;
  font-weight:750;
  line-height:1.3;
}
.player-autoplay-countdown[hidden]{display:none!important}

.footer-tools-links>.footer-button,
.footer-tools-links>.support-footer-button{
  height:34px!important;
  min-height:34px!important;
  padding:0 11px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.view-home .content{padding-top:12px}
.view-home .home-sort{
  gap:5px;
  margin:0 0 7px;
  align-items:end;
}
.view-home .home-sort label{
  gap:2px;
  font-size:10px;
  line-height:1.05;
}
.view-home .home-sort select{
  min-width:126px;
  height:30px;
  padding:0 7px;
  border-radius:7px;
  font-size:11px;
}
.view-home .home-sort .btn{
  height:30px;
  min-height:30px;
  padding:0 9px;
  border-radius:7px;
  font-size:11px;
}
.view-home .home-sort + .section{margin-top:0}
.view-home .section-head{margin-bottom:9px}

.speedtest-v151{overflow:hidden;position:relative;padding:22px}
.speedtest-v151 .speedtest-head{display:block}
.speedtest-v151 .speedtest-head h1{margin:0 0 8px;font-size:30px}
.speedtest-v151 .gauge-stream-stage{display:grid;grid-template-columns:minmax(280px,330px) minmax(320px,1fr);gap:26px;align-items:center;margin:18px 0 8px;padding:18px 22px;border:1px solid #2b4068;border-radius:16px;background:linear-gradient(135deg,#0a1429 0%,#112448 52%,#0b1a36 100%);position:relative;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 28px rgba(7,18,40,.12)}
.speedtest-v151 .gauge-stream-stage:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 48%,rgba(72,126,230,.18),transparent 42%),linear-gradient(90deg,rgba(255,255,255,.018),transparent 38%);pointer-events:none}
.speed-gauge{--needle-angle:-120deg;position:relative;z-index:2;width:min(100%,320px);margin:0 auto;aspect-ratio:420/300;display:grid;place-items:center;filter:drop-shadow(0 10px 20px rgba(0,0,0,.24))}
.speed-gauge-svg{display:block;width:100%;height:100%;overflow:visible}
.speed-gauge-face{fill:#101e3d;stroke:#40598b;stroke-width:3}
.speed-gauge-inner{fill:#0a1630;stroke:#314a79;stroke-width:2}
.speed-gauge-segments{filter:drop-shadow(0 0 5px rgba(69,193,255,.11))}
.speed-gauge-scale text{fill:#c6d2e8;font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-anchor:middle;dominant-baseline:middle;font-variant-numeric:tabular-nums}
.speed-gauge-needle{transform-origin:210px 215px;transform:rotate(var(--needle-angle));transition:transform .16s cubic-bezier(.18,.78,.25,1);will-change:transform}
.speed-gauge-needle-shadow{fill:rgba(0,0,0,.22);filter:blur(2px)}
.speed-gauge-needle-body{fill:#edf2ff;filter:drop-shadow(0 0 5px rgba(255,255,255,.35))}
.speed-gauge-hub-outer{fill:#14254a;stroke:#5872aa;stroke-width:3}
.speed-gauge-hub-inner{fill:#243c70;stroke:rgba(255,255,255,.22);stroke-width:1}
.speed-gauge-idle{position:absolute;left:50%;top:71.6%;width:46px;height:46px;border-radius:50%;transform:translate(-50%,-50%);border:1px solid rgba(89,113,206,.28);box-shadow:0 0 0 0 rgba(89,113,206,.18);pointer-events:none}
.speed-gauge-idle[hidden]{display:none!important}
.speed-gauge-live{position:absolute;z-index:8;left:50%;top:58%;transform:translate(-50%,-50%);min-width:76px;padding:6px 11px;border-radius:999px;text-align:center;background:rgba(7,17,38,.86);border:1px solid #425d91;box-shadow:0 8px 20px rgba(0,0,0,.22);backdrop-filter:blur(6px)}
.speed-gauge-live[hidden]{display:none!important}
.speed-gauge-live b{display:block;color:#f7f9ff;font-size:24px;line-height:1;font-weight:850;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.speedtest-v151 .speedtest-stage-copy{position:relative;z-index:3;min-width:0;color:#f4f7ff}
.speedtest-v151 .speedtest-stage-copy strong{display:block;font-size:20px;margin-bottom:10px}
.speedtest-v151 .speedtest-stage-copy>small{display:block;margin-top:8px;color:#aebbd1;line-height:1.4}
.speedtest-v151 .speedtest-actions{display:flex;align-items:center;gap:10px;margin-top:13px}
.speedtest-v151 .speedtest-start{min-width:170px}
.speedtest-v151 .speed-progress{height:7px;border-radius:999px;background:#263958;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.28)}
.speedtest-v151 .speed-progress>i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#ff6546,#ffd84a,#72e879,#42d5ef);transition:width .2s ease}
.speedtest-v151 .speed-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
.speedtest-v151 .speed-last{color:var(--muted)}
.speedtest-v151[data-speed-phase="idle"] .speed-gauge-idle{animation:st-gauge-idle 2.1s ease-in-out infinite}
.speedtest-v151[data-speed-phase="preparing"] .speed-gauge-needle{animation:st-gauge-calibrate 1.7s cubic-bezier(.32,.03,.22,1) infinite}
.speedtest-v151[data-speed-phase="preparing"] .speed-gauge-segments{animation:st-gauge-glow 1.4s ease-in-out infinite}
.speedtest-v151[data-speed-phase="ping"] .speed-gauge-needle{animation:st-gauge-ping .82s ease-in-out infinite}
.speedtest-v151[data-speed-phase="ping"] .speed-gauge-segments{animation:st-gauge-glow .82s ease-in-out infinite}
.speedtest-v151[data-speed-phase="download"] .speed-gauge-needle{animation:none}
.speedtest-v151[data-speed-phase="download"] .speed-gauge-segments{filter:drop-shadow(0 0 7px rgba(66,213,239,.18))}
.speedtest-v151[data-speed-phase="done"] .speed-gauge-needle{animation:none}
.speedtest-v151[data-speed-phase="done"] .speed-gauge-segments{filter:drop-shadow(0 0 7px rgba(72,220,153,.15))}
.speedtest-v151[data-speed-phase="error"] .speed-gauge-needle{animation:none;transform:rotate(-120deg)!important}
.speedtest-v151[data-speed-phase="error"] .speed-gauge-segments{opacity:.42;filter:grayscale(.7)}
@keyframes st-gauge-idle{0%,100%{box-shadow:0 0 0 0 rgba(89,113,206,.14)}50%{box-shadow:0 0 0 13px rgba(89,113,206,0)}}
@keyframes st-gauge-calibrate{0%{transform:rotate(-120deg)}42%{transform:rotate(112deg)}68%{transform:rotate(-34deg)}100%{transform:rotate(-108deg)}}
@keyframes st-gauge-ping{0%,100%{transform:rotate(-112deg)}50%{transform:rotate(-82deg)}}
@keyframes st-gauge-glow{0%,100%{opacity:.72}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.speed-gauge-idle,.speed-gauge-needle,.speed-gauge-segments{animation:none!important}.speed-gauge-needle,.speedtest-v151 .speed-progress>i{transition:none!important}}

.speedtest-v151.speedtest-r5{
    overflow:visible;
    padding:22px;
}

.speedtest-v151.speedtest-r5 .gauge-stream-stage{
    display:grid;
    grid-template-columns:210px minmax(320px,1fr);
    gap:26px;
    align-items:center;
    min-height:200px;
    margin:14px 0 8px;
    padding:4px 8px 4px 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
}

.speedtest-v151.speedtest-r5 .gauge-stream-stage:before{
    display:none;
    content:none;
}

.speedtest-v151.speedtest-r5 .speed-gauge{
    --needle-angle:-120deg;
    width:185px;
    max-width:185px;
    aspect-ratio:1/1;
    margin:0 auto;
    filter:drop-shadow(0 7px 13px rgba(0,0,0,.16));
}

.speedtest-v151.speedtest-r5 .speed-gauge-svg{
    width:185px;
    height:185px;
    overflow:visible;
}

.speedtest-v151.speedtest-r5 .speed-gauge-face{
    fill:#111a2a;
    stroke:#454d5d;
    stroke-width:3;
}

.speedtest-v151.speedtest-r5 .speed-gauge-inner{
    fill:#0b1220;
    stroke:#333b4b;
    stroke-width:2;
}

.speedtest-v151.speedtest-r5 .speed-gauge-segments{
    filter:none;
}

.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(1){stroke:#777c85!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(2){stroke:#878087!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(3){stroke:#99767c!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(4){stroke:#ab6870!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(5){stroke:#bd5963!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(6){stroke:#d14954!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(7){stroke:#e53a47!important}
.speedtest-v151.speedtest-r5 .speed-gauge-segments path:nth-child(8){stroke:#f52f3e!important}

.speedtest-v151.speedtest-r5 .speed-gauge-scale text{
    fill:#d3d7df;
    font-size:13px;
}

.speedtest-v151.speedtest-r5 .speed-gauge-needle{
    transform-origin:210px 215px;
    transform:rotate(var(--needle-angle));
    transition:transform .14s cubic-bezier(.18,.78,.25,1);
    will-change:transform;
}

.speedtest-v151.speedtest-r5 .speed-gauge-needle-body{
    fill:#f6f7fb;
    filter:drop-shadow(0 0 4px rgba(255,255,255,.32));
}

.speedtest-v151.speedtest-r5 .speed-gauge-needle-shadow{
    fill:rgba(0,0,0,.34);
}

.speedtest-v151.speedtest-r5 .speed-gauge-hub-outer{
    fill:#172136;
    stroke:#606b80;
    stroke-width:3;
}

.speedtest-v151.speedtest-r5 .speed-gauge-hub-inner{
    fill:#35445f;
    stroke:rgba(255,255,255,.18);
    stroke-width:1;
}

.speedtest-v151.speedtest-r5 .speed-gauge-idle{
    left:50%;
    top:51.2%;
    width:32px;
    height:32px;
    border-color:rgba(112,121,139,.38);
}

.speedtest-v151.speedtest-r5 .speed-gauge-live{
    left:50%;
    top:43%;
    min-width:58px;
    padding:4px 8px;
    background:rgba(8,13,22,.91);
    border:1px solid #515b6d;
    box-shadow:0 4px 12px rgba(0,0,0,.20);
}

.speedtest-v151.speedtest-r5 .speed-gauge-live b{
    color:#fafbfe;
    font-size:18px;
}

.speedtest-v151.speedtest-r5 .speedtest-stage-copy{
    color:var(--text);
    align-self:center;
    max-width:680px;
}

.speedtest-v151.speedtest-r5 .speedtest-stage-copy strong{
    margin-bottom:8px;
    font-size:20px;
}

.speedtest-v151.speedtest-r5 .speedtest-stage-copy>small{
    margin-top:7px;
    color:var(--muted);
}

.speedtest-v151.speedtest-r5 .speedtest-actions{
    margin-top:12px;
}

.speedtest-v151.speedtest-r5 .speed-progress{
    height:7px;
    background:color-mix(in srgb,var(--border) 90%,#7b8089 10%);
}

.speedtest-v151.speedtest-r5 .speed-progress>i{
    background:linear-gradient(90deg,#777c85 0%,#9e7379 34%,#c6535d 67%,#f52f3e 100%);
    background-size:220% 100%;
}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path,
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path,
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path{
    animation:r5-gauge-strip 1.05s ease-in-out infinite;
}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(1),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(1),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(1){animation-delay:0s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(2),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(2),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(2){animation-delay:.08s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(3),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(3),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(3){animation-delay:.16s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(4),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(4),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(4){animation-delay:.24s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(5),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(5),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(5){animation-delay:.32s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(6),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(6),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(6){animation-delay:.40s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(7),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(7),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(7){animation-delay:.48s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-gauge-segments path:nth-child(8),
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-gauge-segments path:nth-child(8),
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-gauge-segments path:nth-child(8){animation-delay:.56s}

.speedtest-v151.speedtest-r5[data-speed-phase="preparing"] .speed-progress>i,
.speedtest-v151.speedtest-r5[data-speed-phase="ping"] .speed-progress>i,
.speedtest-v151.speedtest-r5[data-speed-phase="download"] .speed-progress>i{
    animation:r5-progress-flow .8s linear infinite;
}

@keyframes r5-gauge-strip{
    0%,100%{opacity:.42;stroke-width:15}
    48%{opacity:1;stroke-width:23;filter:drop-shadow(0 0 4px rgba(245,47,62,.28))}
    72%{opacity:.72;stroke-width:18}
}

@keyframes r5-progress-flow{
    0%{background-position:100% 0}
    100%{background-position:-120% 0}
}

@media(max-width:900px){
    .speedtest-v151.speedtest-r5 .gauge-stream-stage{
        grid-template-columns:185px minmax(260px,1fr);
        gap:18px;
    }

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

@media(prefers-reduced-motion:reduce){
    .speedtest-v151.speedtest-r5 .speed-gauge-segments path,
    .speedtest-v151.speedtest-r5 .speed-progress>i{
        animation:none!important;
    }
}

/* SUNTUBE_SPEEDTEST_R6_BEGIN */
.speedtest-v151.speedtest-r6{overflow:visible;position:relative;padding:22px}
.speedtest-v151.speedtest-r6 .gauge-stream-stage{display:grid;grid-template-columns:470px minmax(320px,1fr);gap:22px;align-items:center;min-height:220px;margin:14px 0 8px;padding:0 8px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;position:relative;overflow:visible}
.speedtest-v151.speedtest-r6 .gauge-stream-stage:before{display:none;content:none}
.speedtest-v151.speedtest-r6 .speed-gauge{--needle-angle:-120deg;position:relative;z-index:4;width:210px;max-width:210px;height:210px;aspect-ratio:1/1;margin:0 0 0 18px;display:grid;place-items:center;filter:drop-shadow(0 7px 15px rgba(0,0,0,.17))}
.speedtest-v151.speedtest-r6 .speed-gauge-svg{display:block;width:210px;height:210px;overflow:visible}
.speedtest-v151.speedtest-r6 .speed-gauge-face{fill:#151a22;stroke:#545a65;stroke-width:3}
.speedtest-v151.speedtest-r6 .speed-gauge-inner{fill:#0d1118;stroke:#3f4651;stroke-width:2}
.speedtest-v151.speedtest-r6 .speed-gauge-segments{filter:none}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(1){stroke:#757b84!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(2){stroke:#858188!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(3){stroke:#99777d!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(4){stroke:#ad6871!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(5){stroke:#c15863!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(6){stroke:#d84854!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(7){stroke:#e93b49!important}
.speedtest-v151.speedtest-r6 .speed-gauge-segments path:nth-child(8){stroke:#f52f3e!important}
.speedtest-v151.speedtest-r6 .speed-gauge-scale text{fill:#f0f3f8;stroke:#090d13;stroke-width:2.2px;paint-order:stroke fill;stroke-linejoin:round;font:900 28px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-anchor:middle;dominant-baseline:middle;font-variant-numeric:tabular-nums;filter:drop-shadow(0 1px 1px rgba(0,0,0,.45))}
.speedtest-v151.speedtest-r6 .speed-gauge-needle{transform-origin:210px 215px;transform:rotate(var(--needle-angle));transition:transform .14s cubic-bezier(.18,.78,.25,1);will-change:transform}
.speedtest-v151.speedtest-r6 .speed-gauge-needle-shadow{fill:rgba(0,0,0,.40);filter:blur(2px)}
.speedtest-v151.speedtest-r6 .speed-gauge-needle-body{fill:#f7f8fb;filter:drop-shadow(0 0 5px rgba(255,255,255,.38))}
.speedtest-v151.speedtest-r6 .speed-gauge-hub-outer{fill:#1a2230;stroke:#6d7480;stroke-width:3}
.speedtest-v151.speedtest-r6 .speed-gauge-hub-inner{fill:#3b4658;stroke:rgba(255,255,255,.18);stroke-width:1}
.speedtest-v151.speedtest-r6 .speed-gauge-idle{left:50%;top:51.2%;width:34px;height:34px;border-color:rgba(142,148,159,.36)}
.speedtest-v151.speedtest-r6 .speed-gauge-live{left:50%;top:43%;min-width:62px;padding:4px 9px;border:1px solid #606672;background:rgba(10,13,18,.92);box-shadow:0 4px 12px rgba(0,0,0,.22)}
.speedtest-v151.speedtest-r6 .speed-gauge-live b{color:#fff;font-size:19px;font-weight:900;font-variant-numeric:tabular-nums}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes{position:absolute;z-index:2;left:112px;top:50%;width:338px;height:112px;transform:translateY(-50%);display:grid;align-content:space-between;pointer-events:none;overflow:visible;mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 100%)}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i{display:block;height:3px;border-radius:999px;opacity:.40;background:linear-gradient(90deg,#767c85 0%,#8e7b82 28%,#b45f69 62%,#f52f3e 100%);background-size:240% 100%;box-shadow:0 0 7px rgba(245,47,62,.08)}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i:nth-child(1){width:100%}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i:nth-child(2){width:91%}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i:nth-child(3){width:96%}
.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i:nth-child(4){width:84%}
.speedtest-v151.speedtest-r6 .speedtest-stage-copy{position:relative;z-index:5;align-self:center;max-width:690px;color:var(--text)}
.speedtest-v151.speedtest-r6 .speedtest-stage-copy strong{display:block;margin-bottom:8px;font-size:20px}
.speedtest-v151.speedtest-r6 .speedtest-stage-copy>small{display:block;margin-top:7px;color:var(--muted);line-height:1.45}
.speedtest-v151.speedtest-r6 .speedtest-actions{margin-top:12px}
.speedtest-v151.speedtest-r6 .speed-progress{height:7px;background:color-mix(in srgb,var(--border) 90%,#777c85 10%);overflow:hidden}
.speedtest-v151.speedtest-r6 .speed-progress>i{background:linear-gradient(90deg,#767c85 0%,#9a737b 34%,#c6535e 68%,#f52f3e 100%);background-size:240% 100%}
.speedtest-v151.speedtest-r6[data-speed-phase="idle"] .speedtest-flow-lanes i{animation:r6-lane-idle 2.4s ease-in-out infinite}
.speedtest-v151.speedtest-r6[data-speed-phase="idle"] .speedtest-flow-lanes i:nth-child(2){animation-delay:.18s}
.speedtest-v151.speedtest-r6[data-speed-phase="idle"] .speedtest-flow-lanes i:nth-child(3){animation-delay:.36s}
.speedtest-v151.speedtest-r6[data-speed-phase="idle"] .speedtest-flow-lanes i:nth-child(4){animation-delay:.54s}
.speedtest-v151.speedtest-r6[data-speed-phase="preparing"] .speedtest-flow-lanes i,.speedtest-v151.speedtest-r6[data-speed-phase="ping"] .speedtest-flow-lanes i,.speedtest-v151.speedtest-r6[data-speed-phase="download"] .speedtest-flow-lanes i{opacity:.92;animation:r6-lane-flow .86s linear infinite}
.speedtest-v151.speedtest-r6[data-speed-phase="preparing"] .speedtest-flow-lanes i:nth-child(2),.speedtest-v151.speedtest-r6[data-speed-phase="ping"] .speedtest-flow-lanes i:nth-child(2),.speedtest-v151.speedtest-r6[data-speed-phase="download"] .speedtest-flow-lanes i:nth-child(2){animation-delay:-.19s}
.speedtest-v151.speedtest-r6[data-speed-phase="preparing"] .speedtest-flow-lanes i:nth-child(3),.speedtest-v151.speedtest-r6[data-speed-phase="ping"] .speedtest-flow-lanes i:nth-child(3),.speedtest-v151.speedtest-r6[data-speed-phase="download"] .speedtest-flow-lanes i:nth-child(3){animation-delay:-.38s}
.speedtest-v151.speedtest-r6[data-speed-phase="preparing"] .speedtest-flow-lanes i:nth-child(4),.speedtest-v151.speedtest-r6[data-speed-phase="ping"] .speedtest-flow-lanes i:nth-child(4),.speedtest-v151.speedtest-r6[data-speed-phase="download"] .speedtest-flow-lanes i:nth-child(4){animation-delay:-.57s}
.speedtest-v151.speedtest-r6[data-speed-phase="preparing"] .speed-gauge-segments path,.speedtest-v151.speedtest-r6[data-speed-phase="ping"] .speed-gauge-segments path,.speedtest-v151.speedtest-r6[data-speed-phase="download"] .speed-gauge-segments path{animation:r6-gauge-pulse 1.15s ease-in-out infinite}
.speedtest-v151.speedtest-r6[data-speed-phase="download"] .speed-progress>i{animation:r6-progress-flow .78s linear infinite}
.speedtest-v151.speedtest-r6[data-speed-phase="done"] .speedtest-flow-lanes i{opacity:.62;background-position:0 0}
.speedtest-v151.speedtest-r6[data-speed-phase="error"] .speedtest-flow-lanes i{opacity:.18;animation:none}
@keyframes r6-lane-flow{0%{background-position:120% 0;filter:brightness(.85)}50%{filter:brightness(1.22)}100%{background-position:-120% 0;filter:brightness(.9)}}
@keyframes r6-lane-idle{0%,100%{opacity:.24;transform:scaleX(.96)}50%{opacity:.58;transform:scaleX(1)}}
@keyframes r6-gauge-pulse{0%,100%{opacity:.56}50%{opacity:1;filter:drop-shadow(0 0 4px rgba(245,47,62,.25))}}
@keyframes r6-progress-flow{0%{background-position:120% 0}100%{background-position:-120% 0}}
@media(max-width:1180px){.speedtest-v151.speedtest-r6 .gauge-stream-stage{grid-template-columns:400px minmax(280px,1fr)}.speedtest-v151.speedtest-r6 .speedtest-flow-lanes{width:270px}.speedtest-v151.speedtest-r6 .speed-gauge{margin-left:8px}}
@media(prefers-reduced-motion:reduce){.speedtest-v151.speedtest-r6 .speedtest-flow-lanes i,.speedtest-v151.speedtest-r6 .speed-gauge-segments path,.speedtest-v151.speedtest-r6 .speed-progress>i{animation:none!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 */
.suntube-player [data-speed-button].player-speed-button-v1466{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;max-width:none!important;padding:0 7px!important;font-weight:800!important;white-space:nowrap!important;visibility:visible!important;opacity:1!important}
.suntube-player [data-speed-menu]{min-width:132px!important;max-height:min(420px,70vh)!important;overflow:auto!important}
.suntube-player [data-speed-menu] button.active{font-weight:800!important}


/* Native one-track subtitles toggle: simple [Т] pressed/released state. */
.controls-row [data-captions-button]{
  min-width:30px;
  width:30px;
  height:28px;
  padding:0;
  border:1px solid rgba(255,255,255,.72);
  border-radius:4px;
  font-size:16px;
  line-height:26px;
  font-weight:800;
  text-align:center;
  background:rgba(0,0,0,.28);
  color:#fff;
  transition:background .12s ease,color .12s ease,border-color .12s ease,transform .12s ease;
}
.controls-row [data-captions-button]:hover:not([disabled]){
  background:rgba(255,255,255,.16);
}
.controls-row [data-captions-button].active{
  background:#fff;
  color:#111;
  border-color:#fff;
  box-shadow:0 0 0 1px rgba(0,0,0,.18);
}
.controls-row [data-captions-button][disabled]{
  opacity:.38;
  cursor:not-allowed;
  background:rgba(0,0,0,.18);
}
