/*
Theme Name: VIPX Stream
Description: Original dark, mobile-first video publishing theme for VIPX Core.
Version: 1.10.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: vipx-theme
License: GPLv2 or later
*/
:root{--bg:#111214;--surface:#1a1c20;--raised:#23262b;--text:#f7f7f8;--muted:#a9adb5;--border:#343840;--accent:#ff4d76;--accent2:#8b5cf6;--success:#52c788;--radius:12px;--max:1440px}*{box-sizing:border-box}html{color-scheme:dark;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:var(--body-size,16px)/1.55 var(--font-body,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)}a{color:inherit;text-decoration:none}a:hover{color:#fff}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,.button{min-height:44px;border:0;border-radius:8px;padding:10px 16px;background:var(--accent);color:#fff;font-weight:700;cursor:pointer}.button.secondary,button.secondary{background:var(--raised);border:1px solid var(--border)}:focus-visible{outline:3px solid #ffd166;outline-offset:3px}.skip-link{position:absolute;top:-100px;left:16px;background:#fff;color:#000;padding:10px;z-index:9999}.skip-link:focus{top:16px}.site-header{position:sticky;top:0;z-index:100;background:rgba(17,18,20,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.header-inner{max-width:var(--max);margin:auto;min-height:72px;padding:12px 20px;display:flex;align-items:center;gap:20px}.brand{font-size:21px;font-weight:900;letter-spacing:-.04em}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;margin-right:7px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent2))}.main-nav{display:flex;gap:18px;font-weight:650}.header-search{margin-left:auto;display:flex;max-width:460px;flex:1}.header-search input{width:100%;min-height:44px;background:var(--surface);border:1px solid var(--border);border-radius:10px 0 0 10px;padding:0 14px;color:var(--text)}.header-search button{border-radius:0 10px 10px 0;padding-inline:14px}.menu-toggle{display:none;margin-left:auto}.container{max-width:var(--max);margin:auto;padding:28px 20px}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:end;padding:44px;border:1px solid var(--border);border-radius:20px;background:radial-gradient(circle at 15% 15%,rgba(255,77,118,.22),transparent 42%),linear-gradient(135deg,#202129,#141519);min-height:360px}.hero h1{font-size:clamp(34px,6vw,74px);line-height:.98;letter-spacing:-.055em;margin:12px 0 20px}.hero p{max-width:60ch;color:var(--muted)}.kicker{color:#ff87a2;text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:13px}.hero-panel{background:rgba(0,0,0,.3);border:1px solid var(--border);border-radius:14px;padding:22px}.hero-panel ul{margin:0;padding-left:20px}.section{margin:48px 0}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:18px}.section h2,.archive-header h1{font-size:clamp(26px,3vw,40px);letter-spacing:-.035em;margin:0}.muted,.card-meta,.video-stats{color:var(--muted)}.video-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 16px}.video-card{min-width:0}.thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius);background:linear-gradient(135deg,#2b2e35,#181a1e)}.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.video-card:hover .thumb img{transform:scale(1.035)}.placeholder{width:100%;height:100%;display:grid;place-items:center;color:var(--muted);font-weight:800;background:linear-gradient(135deg,#282b32,#17191d)}.duration{position:absolute;right:7px;bottom:7px;background:rgba(0,0,0,.82);padding:2px 6px;border-radius:5px;font-size:12px}.video-card h3{font-size:15px;line-height:1.35;margin:10px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-meta{font-size:13px;display:flex;gap:8px;flex-wrap:wrap}.player-shell{position:relative;aspect-ratio:16/9;background:#000;border-radius:16px;overflow:hidden}.player-shell video,.player-shell iframe{width:100%;height:100%;border:0}.player-message{height:100%;display:grid;place-items:center;padding:30px;text-align:center;color:var(--muted)}.video-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px}.video-title{font-size:clamp(25px,4vw,42px);line-height:1.1;letter-spacing:-.035em;margin:22px 0 12px}.video-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--border)}.actions{display:flex;gap:8px;flex-wrap:wrap}.content-box{margin:20px 0;padding:20px;border-radius:12px;background:var(--surface);border:1px solid var(--border)}.tag-list{display:flex;gap:8px;flex-wrap:wrap}.tag-list a{background:var(--raised);border:1px solid var(--border);padding:5px 10px;border-radius:999px;font-size:13px}.sidebar{display:grid;gap:18px;align-content:start}.vipx-ad{display:grid;place-items:center;min-height:90px;border:1px dashed var(--border);border-radius:10px;color:var(--muted);overflow:hidden}.vipx-ad img{display:block}.pagination,.nav-links{display:flex;gap:8px;justify-content:center;margin:34px 0}.page-numbers{padding:9px 13px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.page-numbers.current{background:var(--accent);border-color:var(--accent)}.site-footer{border-top:1px solid var(--border);margin-top:60px}.footer-inner{max-width:var(--max);margin:auto;padding:40px 20px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}.footer-inner nav{display:grid;gap:7px}.site-footer small{display:block;max-width:var(--max);padding:20px;margin:auto;color:var(--muted);border-top:1px solid var(--border)}.vipx-age-gate{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.9);display:grid;place-items:center;padding:20px}.vipx-age-card{width:min(520px,100%);padding:32px;border:1px solid var(--border);border-radius:18px;background:#191b1f;box-shadow:0 30px 90px #000}.vipx-age-card h2{font-size:36px;margin:5px 0}.vipx-age-card form{display:flex;gap:10px}.vipx-age-note{color:var(--muted);font-size:14px}.vipx-report label{display:grid;gap:6px;margin:12px 0}.vipx-report select,.vipx-report textarea,.comment-form input,.comment-form textarea{width:100%;background:var(--raised);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:10px}.comments-area{margin-top:36px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1200px){.video-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:900px){.video-grid{grid-template-columns:repeat(3,1fr)}.video-layout{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.main-nav{display:none}.menu-toggle{display:block}.header-search{order:3;flex-basis:100%;max-width:none}.header-inner{flex-wrap:wrap}.main-nav.open{display:flex;order:4;width:100%;padding:10px 0}.footer-inner{grid-template-columns:1fr 1fr}}@media(max-width:620px){.container{padding:20px 14px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.hero{padding:28px 20px;min-height:auto}.hero-panel{display:none}.video-bar{align-items:flex-start;flex-direction:column}.footer-inner{grid-template-columns:1fr}.video-card h3{font-size:14px}.card-meta{font-size:12px}.site-header{position:relative}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Homepage: original pink tube-style composition */
.category-rail{background:#17181b;border-bottom:1px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,.18)}.category-rail-inner{max-width:var(--max);margin:auto;padding:10px 20px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin}.category-rail a{flex:0 0 auto;padding:7px 13px;border:1px solid #34363d;border-radius:7px;background:#202126;color:#d8d9dd;font-size:13px;font-weight:750}.category-rail a:hover,.category-rail a.active{background:var(--accent);border-color:var(--accent);color:#fff}.home-container{padding-top:22px}.home-featured{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(310px,.72fr);gap:16px;background:#0c0d0f;border:1px solid #2d3036;border-radius:14px;padding:16px}.featured-main{position:relative;min-width:0;border-radius:10px;overflow:hidden;background:#17181c}.featured-media{position:relative;display:block;aspect-ratio:16/8.4;overflow:hidden;background:linear-gradient(135deg,#292b31,#121316)}.featured-media:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}.featured-media img{width:100%;height:100%;object-fit:cover}.featured-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:62px;color:#555963;background:radial-gradient(circle at 70% 30%,#35313b,#17181c 65%)}.featured-play{position:absolute;z-index:2;left:32px;bottom:34px;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--accent);box-shadow:0 10px 30px rgba(255,77,118,.38);padding-left:4px}.featured-media .duration{z-index:3}.featured-copy{position:absolute;z-index:3;left:112px;right:28px;bottom:27px;pointer-events:none}.featured-copy h1{font-size:clamp(25px,3.1vw,47px);line-height:1.02;letter-spacing:-.045em;margin:3px 0 8px}.featured-copy p{max-width:62ch;margin:0;color:#d1d2d6}.featured-copy a{pointer-events:auto}.featured-meta{color:#aeb1b8;font-size:13px;margin-top:9px}.featured-list{display:flex;flex-direction:column;gap:4px;min-width:0}.featured-list-head{display:flex;align-items:center;justify-content:space-between;padding:7px 8px 11px;border-bottom:1px solid var(--border)}.featured-list-head strong{font-size:18px}.featured-list-head span,.featured-row span{font-size:12px;color:var(--muted)}.featured-row{display:grid;grid-template-columns:118px minmax(0,1fr);gap:11px;padding:8px;border-radius:8px;transition:background .18s}.featured-row:hover{background:#202126}.featured-row-thumb{aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:#24262b}.featured-row-thumb img{width:100%;height:100%;object-fit:cover}.featured-row h2{font-size:14px;line-height:1.3;margin:2px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-ad-slot{margin:18px 0}.home-video-section{margin:38px 0}.section-eyebrow{margin:0 0 2px;color:#ff7f9d;text-transform:uppercase;font-size:11px;font-weight:850;letter-spacing:.14em}.home-video-section .section-head{align-items:center;margin-bottom:14px;border-bottom:1px solid var(--border);padding-bottom:12px}.home-video-section .section-head h2{font-size:28px}.view-all{padding:8px 12px;border-radius:7px;background:#222328;color:#ddd;font-size:13px;font-weight:750}.view-all:hover{background:var(--accent)}.home-grid{gap:24px 13px}.home-grid .thumb{border-radius:8px}.home-grid .video-card h3{font-weight:750}.home-grid .video-card:hover h3 a{color:#ff7696}@media(max-width:1050px){.home-featured{grid-template-columns:1fr}.featured-list{display:grid;grid-template-columns:1fr 1fr}.featured-list-head{grid-column:1/-1}.featured-row{grid-template-columns:110px 1fr}}@media(max-width:700px){.category-rail-inner{padding-inline:14px}.home-featured{padding:8px;border-radius:10px}.featured-media{aspect-ratio:16/11}.featured-copy{left:20px;bottom:18px;right:18px}.featured-copy h1{font-size:27px}.featured-copy p{display:none}.featured-play{width:46px;height:46px;left:auto;right:18px;bottom:92px}.featured-list{grid-template-columns:1fr}.featured-list-head{grid-column:auto}.featured-row{grid-template-columns:120px 1fr}.home-video-section .section-head h2{font-size:24px}.home-video-section{margin:32px 0}}

/* Editable footer — v1.2.0 */
.footer-brand .custom-logo-link{display:inline-flex;align-items:center}.footer-brand .custom-logo{display:block;width:auto;max-width:260px;max-height:64px}.footer-navigation>strong,.footer-safety>strong{display:block;margin-bottom:12px}.footer-links{display:grid;gap:7px;margin:0;padding:0;list-style:none}.footer-links li{margin:0}.footer-links a{color:var(--text)}.footer-links a:hover{color:var(--accent)}.footer-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.footer-socials:empty{display:none}.footer-socials a{padding:6px 9px;border:1px solid var(--border);border-radius:7px;color:var(--muted);font-size:13px;font-weight:700}.footer-socials a:hover{border-color:var(--accent);background:var(--accent);color:#fff}.footer-bottom{max-width:var(--max);margin:auto;padding:0 20px}.footer-bottom small{display:block;padding:20px 0;color:var(--muted);border-top:1px solid var(--border)}

/* Preroll-to-iframe player and compact sticky footer — v1.3.0 */
.vipx-embed-gate{position:absolute;inset:0;display:grid;place-items:center;background:#090a0c center/cover no-repeat}.vipx-start-player{display:flex;align-items:center;gap:10px;font-size:17px;box-shadow:0 12px 38px rgba(255,77,118,.4)}.vipx-start-player span{font-size:22px}.vipx-ad-video,.vipx-ima-container{position:absolute;inset:0;width:100%;height:100%;background:#000;z-index:5}.vipx-ad-video{object-fit:contain}.vipx-ad-ui{position:absolute;inset:0;z-index:7;pointer-events:none}.vipx-ad-label{position:absolute;left:12px;top:12px;padding:5px 8px;border-radius:5px;background:rgba(0,0,0,.78);font-size:12px}.vipx-skip-ad{position:absolute;right:12px;bottom:52px;pointer-events:auto;background:rgba(0,0,0,.82);border:1px solid rgba(255,255,255,.35)}.vipx-skip-ad:disabled{opacity:.72;cursor:not-allowed}html,body{min-height:100%}body{min-height:100vh;display:flex;flex-direction:column}body>main{flex:1 0 auto}.site-footer{flex-shrink:0;margin-top:auto}.footer-inner{padding:26px 20px 20px;gap:24px;align-items:start}.footer-inner p{margin-bottom:0}.footer-bottom{padding:0 20px}.footer-bottom small{padding:12px 0}

/* Video cards and interaction bar — v1.4.0 */
.video-card{display:flex;flex-direction:column}.video-card h3{height:2.7em;min-height:2.7em;margin:10px 0 5px;-webkit-line-clamp:2}.video-card .card-meta{min-height:20px;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden}.card-category{height:20px;margin-top:3px;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-footnote{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 2px;color:var(--muted);font-size:12px;text-transform:uppercase;border-bottom:1px solid var(--border)}.player-footnote a,.text-button{color:var(--text);font-weight:750}.text-button{min-height:auto;padding:0;background:none;border:0;font-size:12px;text-transform:none}.text-button:hover{color:var(--accent)}.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:0 0 auto}.actions button{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding:9px 12px}.actions button[aria-pressed="true"]{border-color:var(--accent);color:#fff;background:rgba(255,77,118,.15)}.actions small{font-size:11px;color:var(--muted)}.related-grid{grid-template-columns:1fr 1fr}.report-dialog{width:min(520px,calc(100% - 28px));padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text)}.report-dialog::backdrop{background:rgba(0,0,0,.76)}.report-close{position:absolute;right:12px;top:10px;min-width:38px;min-height:38px;padding:0;background:transparent;font-size:26px}.report-dialog h2{margin-top:0}@media(max-width:700px){.video-bar{gap:12px}.actions{width:100%}.actions button{padding:9px 5px;font-size:13px}.actions small{display:none}.player-footnote{padding-inline:2px}.video-card h3{height:2.7em}.card-category{font-size:12px}}

/* Thumbnail play overlays and hover previews — v1.4.1 */
.thumb,.featured-row-thumb,.featured-media{isolation:isolate}.thumb-play{position:absolute;z-index:3;left:50%;top:50%;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(255,77,118,.92);color:#fff;transform:translate(-50%,-50%);padding-left:3px;box-shadow:0 8px 24px rgba(0,0,0,.35);transition:transform .18s,opacity .18s}.video-card:hover .thumb-play,.featured-row-thumb:hover .thumb-play{transform:translate(-50%,-50%) scale(1.08)}.thumb-preview{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:cover;background:#000}.is-previewing .thumb-play,.featured-media.is-previewing .featured-play{opacity:0}.featured-media .thumb-preview,.featured-row-thumb .thumb-preview{z-index:1}.featured-media.is-previewing:after{z-index:2}.featured-row-thumb{position:relative}.featured-row-thumb .thumb-play{width:32px;height:32px;font-size:12px}.featured-media>img{width:100%;height:100%;object-fit:cover}

/* Sidebar widgets and category overflow — v1.5.1 */
.vipxt-comment-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.vipxt-comment-list li{border-bottom:1px solid var(--border);padding-bottom:10px}.vipxt-comment-list li:last-child{border:0;padding-bottom:0}.vipxt-comment-list a{display:grid;gap:3px}.vipxt-comment-list span{color:var(--muted);font-size:13px}.category-rail-inner{scroll-snap-type:x proximity}.category-rail a{scroll-snap-align:start}.category-rail-inner::-webkit-scrollbar{height:5px}.category-rail-inner::-webkit-scrollbar-thumb{background:var(--border);border-radius:5px}

/* More Categories dropdown — v1.5.2 */
.category-rail{position:relative;z-index:90}.category-rail-inner{overflow:visible}.category-more{position:relative;flex:0 0 auto}.category-more-toggle{min-height:auto;padding:7px 13px;border:1px solid #34363d;border-radius:7px;background:#202126;color:#d8d9dd;font-size:13px;font-weight:750}.category-more-toggle:hover,.category-more.open .category-more-toggle{background:var(--accent);border-color:var(--accent)}.category-more-menu{position:absolute;z-index:120;right:0;top:calc(100% + 8px);width:min(560px,80vw);max-height:360px;overflow:auto;padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 18px 50px rgba(0,0,0,.5)}.category-more-menu[hidden]{display:none}.category-more-menu a{white-space:normal}.category-more-menu a.active{background:var(--accent);border-color:var(--accent)}@media(max-width:700px){.category-rail-inner{overflow-x:auto;overflow-y:visible}.category-more-menu{position:fixed;left:14px;right:14px;top:132px;width:auto;grid-template-columns:1fr 1fr}.category-more{position:static}}

/* Main related videos and comment form — v1.5.3 */
.main-related{margin:36px 0}.main-related h2{margin:0 0 16px;font-size:28px}.main-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.comments-area{padding:24px}.comments-area ol{margin:20px 0;padding-left:24px}.comment-list .comment{margin-bottom:18px}.comment-body{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--raised)}.comment-form{display:grid;gap:12px}.comment-form>p{margin:0}.comment-form label{display:block;margin-bottom:5px}.comment-form .submit{width:auto}.no-comments{color:var(--muted)}@media(max-width:700px){.main-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-related{margin:28px 0}.comments-area{padding:18px}}

/* Source/community ratings — v1.6.0 */
.card-rating{color:#ffd166;font-weight:750}.card-rating small{color:var(--muted);font-weight:500}.rating-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 20px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.rating-panel strong{color:#ffd166;font-size:18px}.rating-stars{display:flex;gap:3px}.rating-stars button{min-width:38px;min-height:38px;padding:3px;background:transparent;color:#ffd166;font-size:27px;line-height:1}.rating-stars button:hover,.rating-stars button:focus{transform:scale(1.08)}.rating-panel output{min-width:95px;color:var(--muted);font-size:13px}@media(max-width:700px){.rating-panel{align-items:flex-start;flex-direction:column}.rating-stars{width:100%;justify-content:space-between}.rating-stars button{flex:1}}

/* Neutral compact ratings, square thumbnails, widget heading icons — v1.6.1 */
.thumb,.home-grid .thumb,.featured-media,.featured-row-thumb{border-radius:0!important}.video-card .thumb img,.featured-media img,.featured-row-thumb img{border-radius:0!important}.card-rating{height:18px;min-height:18px;margin-top:2px;color:var(--muted);font-size:12px;font-weight:500;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-rating small{color:inherit;font-size:inherit;font-weight:inherit}.rating-panel.rating-inline{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin:8px 0 18px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:13px}.rating-panel.rating-inline strong{color:var(--text);font-size:13px;font-weight:700}.rating-inline .rating-stars{gap:1px}.rating-inline .rating-stars button{min-width:28px;min-height:28px;padding:0;color:var(--text);font-size:19px}.rating-inline output{font-size:12px}.widget:not(.widget_vipxt_ad_widget)>h2::before,.vipxt-video-widget>h2::before,.main-related>h2::before{content:"▶";display:inline-block;margin-right:8px;color:var(--accent);font-size:.72em;transform:translateY(-1px)}@media(max-width:700px){.rating-panel.rating-inline{align-items:center;flex-direction:row;flex-wrap:wrap}.rating-inline .rating-stars{width:auto}.rating-inline .rating-stars button{flex:0 0 28px}}


/* Local bookmarks and global typography — v1.7.0 */
h1,h2,h3,h4,h5,h6,.brand{font-family:var(--font-heading,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-weight:var(--heading-weight,800)}.brand{font-size:var(--header-title-size,21px)}.bookmarks-link{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:7px 10px;border:1px solid var(--border);border-radius:8px;color:var(--muted);font-size:13px;font-weight:750}.bookmarks-link:hover{border-color:var(--accent);color:#fff}.bookmarks-page .archive-header{max-width:760px}.bookmarks-status{min-height:1.55em}.bookmarks-empty{max-width:600px}.bookmarks-empty h2{margin-top:0}.bookmark-card{position:relative}.bookmark-remove{align-self:flex-start;min-height:34px;margin-top:8px;padding:5px 9px;color:var(--muted);font-size:12px}.bookmark-remove:hover{border-color:var(--accent);color:#fff}@media(max-width:900px){.bookmarks-link{margin-left:auto}.menu-toggle+.main-nav+.bookmarks-link{margin-left:0}}@media(max-width:620px){.bookmarks-link{font-size:0}.bookmarks-link span{font-size:16px}}

/* Approved layout release — v1.8.0 */
.header-inner{gap:16px}.header-tools{display:flex;align-items:center;gap:12px;margin-left:auto;flex:1;justify-content:flex-end;min-width:0;max-width:680px}.header-tools .header-search{margin-left:0;min-width:0;max-width:460px}.header-tools .bookmarks-link{margin-left:0;min-height:44px}.header-search input{min-width:0}.main-nav{flex-wrap:wrap}
.player-shell,.player-shell iframe,.player-shell video,.vipx-embed-gate{border-radius:0}
.actions{grid-template-columns:repeat(3,minmax(0,1fr));max-width:100%}.actions:has(.download-link){grid-template-columns:repeat(4,minmax(0,1fr))}.actions .button{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding:9px 12px;line-height:1.55}.video-bar{flex-wrap:wrap}.after-related-ad{margin:28px 0}.after-related-ad .vipx-ad:empty{display:none}.vipx-ad img{max-width:100%;height:auto}
.footer-inner{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.footer-column{min-width:0;overflow-wrap:anywhere}.footer-column:empty{min-height:0}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--border);padding:14px 20px;flex-wrap:wrap}.footer-bottom small{margin:0;padding:0;border:0;max-width:none}.footer-bottom-links{margin-left:auto;display:flex;gap:16px;flex-wrap:wrap}.footer-bottom-links .footer-links{display:flex;flex-wrap:wrap;gap:8px 16px}.footer-bottom-links:empty{display:none}
.widget{overflow-wrap:anywhere}.widget>h2,.widget>.widget-title,.widget .wp-block-search__label,.widget>.wp-block-heading,.widget>.wp-block-group>.wp-block-heading,.widget>.wp-block-group>.wp-block-group__inner-container>h2:first-child{display:block;background:var(--accent);color:var(--widget-title-ink,#000);margin:-20px -20px 20px;padding:12px 20px;border-radius:11px 11px 0 0;line-height:1.25;overflow-wrap:anywhere}.widget>h2::before,.widget>.widget-title::before,.vipxt-video-widget>h2::before{color:inherit}.widget .wp-block-search__label{width:calc(100% + 40px)}.widget .wp-block-search__inside-wrapper{display:flex;gap:8px;flex-wrap:wrap}.widget input,.widget select,.widget textarea{max-width:100%;min-width:0}.widget .wp-block-search__input{flex:1;min-width:100px}.widget .video-card h3{height:auto;min-height:2.7em}.video-card h3{height:auto}.category-rail a{overflow-wrap:anywhere}.rating-inline .rating-stars button{min-height:36px;min-width:36px}.video-title{overflow-wrap:anywhere}.content-box p,.comments-area p{overflow-wrap:anywhere}
@media(max-width:1000px){.header-tools{max-width:none}.header-inner{flex-wrap:wrap}.header-tools{flex-basis:100%}.header-tools .header-search{max-width:none}.header-tools .bookmarks-link{margin-left:0}.header-tools .header-search{order:0;flex-basis:auto}.footer-inner{gap:20px}}
@media(max-width:700px){.header-tools{gap:8px;flex-wrap:nowrap}.header-tools .header-search{min-width:0;flex:1}.header-tools .bookmarks-link{font-size:13px;padding:8px}.header-tools .bookmarks-link span{font-size:inherit}.header-tools .header-search input{padding:0 10px}.header-tools .header-search button{padding:8px 12px}.footer-inner{grid-template-columns:1fr}.footer-column:empty{display:none}.footer-bottom{align-items:flex-start}.footer-bottom-links{margin-left:auto}.actions:has(.download-link){grid-template-columns:repeat(4,minmax(0,1fr))}.actions button,.actions .button{padding:9px 5px;gap:3px;white-space:normal;overflow-wrap:anywhere}.actions{width:100%;min-width:0}.actions small{display:none}.video-bar{width:100%}.main-related-grid{min-width:0}.rating-inline .rating-stars button{flex:0 0 auto}}
/* Keep form controls and compact action labels readable on narrow screens. */
.thumb>img{display:block}.comment-form input[type="checkbox"]{width:auto;display:inline-block;margin:0 8px 0 0}.comment-form-cookies-consent label{display:inline}.comment-form .submit{min-height:44px;padding:10px 16px;border:0;border-radius:8px;background:var(--accent);color:#fff;font-weight:700;cursor:pointer}
@media(max-width:700px){.actions button,.actions .button{flex-direction:column;gap:2px;padding:8px 4px}.actions b{display:block;white-space:normal;word-break:normal;overflow-wrap:normal}.actions .screen-reader-text{position:absolute!important}}
@media(max-width:360px){.actions:has(.download-link){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact, left-aligned title bars — v1.9.0. */
.widget>h2,.widget>.widget-title,.widget .wp-block-search__label,.widget>.wp-block-heading,.widget>.wp-block-group>.wp-block-heading,.widget>.wp-block-group>.wp-block-group__inner-container>h2:first-child{padding:8px 16px;margin-bottom:16px;text-align:left;color:var(--text);font-family:var(--font-heading);line-height:1.2}
/* Ratings are intentionally confined to the individual-video rating panel. */
.video-card .card-rating,.widget .card-rating{display:none}

/* Approved pending release — 1.10.0 */
@media(min-width:1100px){
 .container,.header-inner,.category-rail-inner,.footer-inner,.footer-bottom,.footer-full-width{width:80%;max-width:none;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
}
/* Fit categories to one row; the no-script fallback keeps every link accessible. */
.category-rail-inner{overflow:visible;align-items:center;gap:8px}
.category-direct{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.category-direct>a{white-space:nowrap;max-width:100%;text-overflow:ellipsis;overflow:hidden}
.category-rail-inner.is-fitted{flex-wrap:nowrap}
.is-fitted .category-direct{flex:0 1 auto;flex-wrap:nowrap;overflow:hidden}
.category-rail .category-more{position:relative;margin:0}
.category-more[hidden]{display:none}
.category-more-toggle{display:flex;align-items:center;gap:5px;min-height:36px;list-style:none;cursor:pointer;white-space:nowrap}
.category-more-toggle::-webkit-details-marker{display:none}
.category-more:not([open])>.category-more-menu{display:none}
.category-more[open]>.category-more-toggle,.category-more-toggle:hover{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.category-rail .category-more-menu{position:absolute;left:auto;right:0;top:calc(100% + 8px);width:min(560px,80vw);grid-template-columns:repeat(2,minmax(0,1fr));max-height:min(360px,65vh)}
.category-more-menu a{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.category-rail .category-more-menu{width:min(340px,calc(100vw - 28px))}}
/* Rounded rectangular category badges, including browser-local bookmark cards. */
.card-category{height:auto;min-height:0;margin-top:5px;white-space:normal;overflow:visible}
.card-category:empty{display:none}
.category-badge{display:inline-block;max-width:100%;padding:2px 7px;border:1px solid var(--border);border-color:color-mix(in srgb,var(--accent) 40%,var(--border));border-radius:5px;background:var(--raised);background:color-mix(in srgb,var(--accent) 12%,var(--raised));color:var(--text);line-height:1.45;font-size:inherit;overflow-wrap:anywhere}
/* Accent presets reach every previously pink accent, not just the main buttons. */
button,.button,.comment-form .submit{color:var(--accent-ink,#fff)}
button.secondary,.button.secondary,.text-button,.category-more-toggle,.rating-inline .rating-stars button{color:var(--text)}
.category-rail a:hover,.category-rail a.active,.category-more-menu a.active,.view-all:hover,.page-numbers.current{color:var(--accent-ink,#fff)}
.kicker,.section-eyebrow,.home-grid .video-card:hover h3 a{color:var(--accent)}
.thumb-play{background:var(--accent);color:var(--accent-ink,#fff)}
.featured-play,.vipx-start-player{color:var(--accent-ink,#fff);box-shadow:0 10px 30px color-mix(in srgb,var(--accent) 35%,transparent)}
.actions button[aria-pressed="true"]{background:color-mix(in srgb,var(--accent) 16%,var(--raised));color:var(--text)}
/* Related heading is bounded by the left article, never the sidebar. */
.main-related{min-width:0}
.main-related>h2{display:block;width:100%;box-sizing:border-box;background:var(--widget-title-bg,var(--accent));color:var(--widget-title-ink,var(--text));padding:8px 16px;line-height:1.2;border-radius:8px 8px 0 0;margin:0 0 16px;overflow-wrap:anywhere}
.main-related>h2::before{color:inherit}
/* Compact action row: equal height, content-sized on desktop, four columns on mobile. */
.actions,.actions:has(.download-link){display:flex;align-items:center;gap:6px;width:auto;max-width:100%;flex-wrap:wrap}
.actions button,.actions .button{display:inline-flex;flex:0 0 auto;flex-direction:row;justify-content:center;align-items:center;min-height:44px;min-width:0;width:auto;padding:7px 10px;gap:4px;line-height:1.2;border-radius:7px}
.actions b{font-size:inherit;overflow-wrap:anywhere}.actions small{font-size:.8em}.actions button>span:not(.screen-reader-text),.actions .button>span:not(.screen-reader-text){font-size:1em}
@media(max-width:700px){.actions,.actions:has(.download-link){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:5px}.actions:not(:has(.download-link)){grid-template-columns:repeat(3,minmax(0,1fr))}.actions button,.actions .button{width:100%;height:48px;padding:5px 3px;flex-direction:column;gap:2px}.actions small{display:none}}
/* Tight star spacing and restored guest voting. */
.rating-panel.rating-inline{column-gap:10px;row-gap:4px;flex-wrap:wrap}
.rating-panel.rating-inline .rating-stars{display:inline-flex;flex:0 0 auto;width:max-content;max-width:100%;gap:0;justify-content:flex-start}
.rating-panel.rating-inline .rating-stars button{flex:0 0 32px;width:32px;min-width:32px;max-width:32px;min-height:44px;padding:0;border:0;background:transparent;line-height:1;letter-spacing:0;text-align:center}
.rating-panel.rating-inline .rating-stars button:disabled{cursor:wait;opacity:.65}
.rating-panel.rating-inline output{min-width:0;max-width:100%;overflow-wrap:anywhere}
.rating-panel.rating-inline output:empty{display:none}
/* Compact posted comments remain visible above the closed-by-default form. */
.comments-area.vipxt-comments{max-width:720px;width:100%;margin:28px 0;padding:0;background:transparent;border:0;min-width:0}
.vipxt-comments>h2{margin:0 0 12px}
.vipxt-comments .comment-list,.vipxt-comments .comment-list .children{list-style:none;margin:0;padding:0}
.vipxt-comments .comment-list .children{margin:8px 0 0 18px;padding-left:10px;border-left:1px solid var(--border)}
.vipxt-comments .comment-list li{margin:0 0 10px}
.vipxt-comments .comment-body{padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow-wrap:anywhere}
.vipxt-comments .comment-author{display:flex;align-items:center;gap:7px;font-size:.9em}
.vipxt-comments .avatar{width:28px;height:28px;border-radius:50%;flex:0 0 28px}
.vipxt-comments .comment-metadata{font-size:.78em;color:var(--muted);margin:3px 0 0 35px}
.vipxt-comments .comment-content{font-size:.94em;line-height:1.5}
.vipxt-comments .comment-content p{margin:8px 0}
.vipxt-comments .reply{font-size:.8em}
.vipxt-comments .comment-reply-link{display:inline-flex;align-items:center;min-height:32px;color:var(--muted)}
.vipxt-comment-accordion{margin-top:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}
.vipxt-comment-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:16px 24px;list-style:none;cursor:pointer;font-family:var(--font-heading);font-size:22px;font-weight:var(--heading-weight,800);line-height:1.25}
.vipxt-comment-accordion>summary::-webkit-details-marker{display:none}
.vipxt-comment-accordion>summary::after{content:'+';font-size:24px;font-weight:500;line-height:1}
.vipxt-comment-accordion[open]>summary::after{content:'−'}
.vipxt-comment-accordion[open]>summary{border-bottom:1px solid var(--border)}
.vipxt-comment-form-body{padding:20px 24px 24px}
.vipxt-comment-accordion .comment-reply-title{display:none;margin:0 0 12px;line-height:1.4}
.vipxt-comment-accordion .comment-reply-title.is-replying{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:16px}
.vipxt-comment-accordion #cancel-comment-reply-link{align-items:center;min-height:32px;font-size:13px;color:var(--muted)}
.vipxt-comment-accordion .comment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.vipxt-comment-accordion .comment-form>p{grid-column:1/-1;min-width:0;margin:0}
.vipxt-comment-accordion .comment-form>.comment-form-author,.vipxt-comment-accordion .comment-form>.comment-form-email{grid-column:auto}
.vipxt-comment-accordion .comment-form label{font-size:.94em;font-weight:600;margin-bottom:7px}
.vipxt-comment-accordion .comment-notes{color:var(--muted);font-size:14px;line-height:1.5}
.vipxt-comment-accordion .comment-form textarea{height:132px;min-height:110px;resize:vertical;padding:10px 12px;border-radius:7px;display:block}
.vipxt-comment-accordion .comment-form input:not([type=checkbox]):not([type=submit]){height:44px;min-width:0;padding:10px 12px;border-radius:7px}
.vipxt-comment-accordion .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:9px}
.vipxt-comment-accordion .comment-form-cookies-consent input{flex:0 0 16px;width:16px;height:16px;margin:3px 0 0;accent-color:var(--accent)}
.vipxt-comment-accordion .comment-form-cookies-consent label{font-size:14px;font-weight:400;color:var(--muted);margin:0}
.vipxt-comment-accordion .form-submit .submit{width:auto;min-height:44px;font-size:14px;padding:10px 16px}
@media(max-width:700px){.vipxt-comment-accordion>summary{padding:16px 20px;font-size:21px}.vipxt-comment-form-body{padding:20px}.vipxt-comment-accordion .comment-form{grid-template-columns:1fr}.vipxt-comments .comment-list .children{margin-left:10px;padding-left:6px}}
/* The optional full-width widget row sits above the retained three footer columns. */
.footer-full-width{max-width:var(--max);margin:24px auto 0;padding:0 20px;min-width:0}
.footer-full-width>.widget{margin:0 0 16px}.footer-full-width>.widget:last-child{margin-bottom:0}
@media(min-width:1100px){.footer-full-width{width:80%;max-width:none;padding-left:0;padding-right:0}}

/* Align the More panel with page content, even when category labels are very long. */
.category-rail .category-more{position:static}
.category-rail .category-more-menu{right:20px;top:100%}
@media(min-width:1100px){.category-rail .category-more-menu{right:10vw}}
@media(max-width:700px){.category-rail .category-more-menu{right:14px;top:100%}}
.rating-panel.rating-inline .rating-stars button:hover,.rating-panel.rating-inline .rating-stars button:focus{transform:none}

.hero{background:radial-gradient(circle at 15% 15%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 42%),linear-gradient(135deg,#202129,#141519)}
/* Long feed titles/category lists must not run behind the homepage Play badge. */
@media(max-width:700px){.featured-play{top:12px;right:12px;left:auto;bottom:auto;width:40px;height:40px}.featured-copy h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.featured-meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}}

.header-search button{display:inline-flex;align-items:center;justify-content:center}.header-search button svg{display:block;width:1.125em;height:1.125em;flex:0 0 auto}
