/* PayToWatch V4 — white + neon theme (default site only).
   All rules are scoped under body.v4-live; tokens are --v4-* so nothing
   leaks into or gets crushed by the stock --ptw-* design system. */

/* ---- counter-rules: neutralise stock chrome on V4 pages ---- */
body.v4-live{background:#fff;color:#22232b}
html[data-ptw-theme] body.v4-live{background:#fff!important;color:#22232b!important}
body.v4-live .page-main-wrap{padding-top:0!important}
body.v4-live{--v4-yellow:#E8FF00;--v4-green:#37F28B;--v4-purple:#855BFF;--v4-purple-dark:#6c43e7;--v4-ink:#22232b;--v4-muted:#7d7f8b;--v4-muted2:#a0a2ac;--v4-line:#ececf2;--v4-soft:#f7f7fa;--v4-white:#fff;--v4-danger:#24252c;--v4-radius:22px;--v4-shadow:0 12px 40px rgba(38,32,55,.08)}
body.v4-live, body.v4-live button, body.v4-live input, body.v4-live textarea, body.v4-live select{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.v4-live button{cursor:pointer}
body.v4-live input, body.v4-live textarea, body.v4-live select{font:inherit}

/* ---- topbar ---- */
body.v4-live .v4-topbar{height:70px;position:fixed;z-index:50;inset:0 0 auto;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--v4-line);display:flex;align-items:center;padding:0 28px;gap:24px}
body.v4-live .v4-brand{width:204px;flex:0 0 auto;background:none;border:0;text-align:left;padding:0;font-size:21px;font-weight:900;letter-spacing:-1px;color:var(--v4-ink);text-decoration:none}
body.v4-live .v4-brand span{background:var(--v4-yellow);padding:0 3px;border-radius:3px}
body.v4-live .v4-search-wrap{height:42px;max-width:540px;flex:1;background:#f6f6f9;border-radius:24px;display:flex;align-items:center;gap:8px;padding:0 15px}
body.v4-live .v4-search-wrap input{border:0;outline:0;background:none;width:100%;color:var(--v4-ink)}
body.v4-live .v4-search-icon{font-size:20px;color:#80828d}
body.v4-live .v4-top-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
body.v4-live .v4-button{border:0;border-radius:13px;padding:11px 16px;font-weight:800;transition:.16s ease;text-decoration:none;display:inline-block}
body.v4-live .v4-button:hover{transform:translateY(-1px)}
body.v4-live .v4-button-yellow{background:var(--v4-yellow);color:#242700}
body.v4-live .v4-button-purple{background:var(--v4-purple);color:#fff}
body.v4-live .v4-button-purple:hover{background:var(--v4-purple-dark)}
body.v4-live .v4-button-green{background:var(--v4-green);color:#153823}
body.v4-live .v4-button-ghost{background:#fff;border:1px solid #e2e2e8;color:#34353d}
body.v4-live .v4-button-small{padding:8px 13px;font-size:13px;border-radius:10px}
body.v4-live .v4-icon-button{width:40px;height:40px;border:1px solid var(--v4-line);border-radius:50%;background:#fff;font-size:18px;line-height:1;text-decoration:none;color:#34353d;display:grid;place-items:center}
body.v4-live .v4-user-avatar{width:40px;height:40px;border:0;border-radius:50%;font-weight:900;color:#222;background:linear-gradient(135deg,var(--v4-yellow),var(--v4-green),var(--v4-purple));display:grid;place-items:center;overflow:hidden;padding:0}
body.v4-live .v4-user-avatar img{width:100%;height:100%;object-fit:cover}
body.v4-live .v4-user-menu{position:relative}
body.v4-live .v4-user-menu>summary{list-style:none;display:grid}
body.v4-live .v4-user-menu>summary::-webkit-details-marker{display:none}
body.v4-live .v4-user-menu-panel{position:absolute;right:0;top:48px;width:230px;background:#fff;border:1px solid var(--v4-line);border-radius:16px;box-shadow:var(--v4-shadow);padding:8px;z-index:60}
body.v4-live .v4-user-menu-head{padding:9px 12px 10px;border-bottom:1px solid var(--v4-line);margin-bottom:6px}
body.v4-live .v4-user-menu-head small{display:block;color:var(--v4-muted);margin-top:2px}
body.v4-live .v4-user-menu-panel a, body.v4-live .v4-user-menu-panel form button{display:block;width:100%;text-align:left;border:0;background:none;border-radius:10px;padding:9px 12px;color:#34353d;font-weight:600;text-decoration:none;cursor:pointer}
body.v4-live .v4-user-menu-panel a:hover, body.v4-live .v4-user-menu-panel form button:hover{background:var(--v4-soft)}
body.v4-live .v4-signin-link{color:#34353d;font-weight:700;text-decoration:none;padding:10px 6px}

/* ---- sidebar ---- */
body.v4-live .v4-sidebar{position:fixed;z-index:40;top:70px;bottom:0;left:0;width:220px;background:#fff;border-right:1px solid var(--v4-line);padding:22px 14px;display:flex;flex-direction:column}
body.v4-live .v4-side-nav{display:grid;gap:4px}
body.v4-live .v4-side-link{display:flex;align-items:center;gap:13px;border:0;background:none;color:#7c7e89;border-radius:13px;padding:13px 14px;text-align:left;text-decoration:none}
body.v4-live .v4-side-link span{width:20px;text-align:center;font-size:18px}
body.v4-live .v4-side-link b{font-weight:700}
body.v4-live .v4-side-link.active, body.v4-live .v4-side-link:hover{background:#f5f5f8;color:#24252c}
body.v4-live .v4-side-link.active{box-shadow:inset 4px 0 var(--v4-yellow)}
body.v4-live .v4-sidebar-card{margin-top:auto;border-radius:18px;background:linear-gradient(145deg,#f8ffd9,#effff6 55%,#f3efff);padding:16px}
body.v4-live .v4-neon-dot{width:10px;height:10px;border-radius:50%;background:var(--v4-yellow);box-shadow:14px 0 var(--v4-green),28px 0 var(--v4-purple);margin-bottom:13px}
body.v4-live .v4-sidebar-card p{font-size:12px;color:var(--v4-muted);line-height:1.5;margin:6px 0 8px}
body.v4-live .v4-sidebar-card a{color:#6c43df;padding:0;font-weight:800;text-decoration:none}

/* ---- page frame ---- */
body.v4-live .v4-main{margin-left:220px;padding-top:70px;min-height:100vh}
body.v4-live .v4-page{max-width:1400px;margin:auto;padding:34px 42px 70px}
body.v4-live .v4-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#7048dc}
body.v4-live .v4-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:50px 0 18px}
body.v4-live .v4-section-heading:first-child{margin-top:0}
body.v4-live .v4-section-heading h2, body.v4-live .v4-simple-heading h1{font-size:28px;letter-spacing:-.6px;margin:5px 0}
body.v4-live .v4-simple-heading{padding:8px 0 22px}
body.v4-live .v4-simple-heading p{color:var(--v4-muted);max-width:700px;margin:4px 0 0}
body.v4-live .v4-filter-row{display:flex;gap:7px;flex-wrap:wrap}
body.v4-live .v4-pill{border:1px solid var(--v4-line);background:#fafafd;color:#777983;border-radius:20px;padding:8px 13px;text-decoration:none;display:inline-block;font-size:13px;font-weight:600}
body.v4-live .v4-pill.active{background:#24252c;color:#fff;border-color:#24252c}
body.v4-live .v4-text-button{border:0;background:none;color:#777983;font-weight:700;text-decoration:none}
body.v4-live .v4-back-button{border:0;background:none;color:#777983;font-weight:700;text-decoration:none;padding:4px 0;margin-bottom:16px}

/* ---- hero (Discover) ---- */
body.v4-live .v4-hero{min-height:500px;border:1px solid var(--v4-line);border-radius:30px;overflow:hidden;padding:58px;position:relative;display:flex;align-items:center;background:radial-gradient(circle at 77% 12%,rgba(232,255,0,.35),transparent 26%),radial-gradient(circle at 63% 83%,rgba(133,91,255,.14),transparent 32%),linear-gradient(125deg,#fff,#fbfff4)}
body.v4-live .v4-hero-copy{width:57%;position:relative;z-index:2}
body.v4-live .v4-hero h1{font-size:clamp(42px,5vw,72px);line-height:.99;letter-spacing:-4px;margin:15px 0 20px;font-weight:900}
body.v4-live .v4-hero h1 em{font-style:normal;background:linear-gradient(90deg,#9cac00,#18c66a,#7a50f0);-webkit-background-clip:text;background-clip:text;color:transparent}
body.v4-live .v4-hero-copy>p{max-width:580px;font-size:18px;line-height:1.65;color:#70727d;margin:0}
body.v4-live .v4-hero-actions{display:flex;gap:9px;margin-top:24px;flex-wrap:wrap}
body.v4-live .v4-hero-proof{display:flex;gap:25px;margin-top:34px}
body.v4-live .v4-hero-proof div{display:flex;flex-direction:column}
body.v4-live .v4-hero-proof strong{font-size:13px}
body.v4-live .v4-hero-proof small{color:var(--v4-muted);margin-top:3px}
body.v4-live .v4-hero-visual{position:absolute;right:24px;bottom:0;width:45%;height:90%}
body.v4-live .v4-portrait-card{position:absolute;border:5px solid #fff;border-radius:130px 130px 25px 25px;box-shadow:0 25px 60px rgba(52,37,78,.12);overflow:hidden;display:block}
body.v4-live .v4-portrait-card img{width:100%;height:100%;object-fit:cover;display:block}
body.v4-live .v4-portrait-card span{position:absolute;bottom:16px;left:16px;right:16px;background:#fff;padding:6px 9px;border-radius:9px;font-size:9px;font-weight:900;letter-spacing:.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-portrait-one{left:2%;bottom:-3%;width:40%;height:70%;transform:rotate(-7deg);background:linear-gradient(150deg,#ddff6f,#fff 58%,#bdffd6)}
body.v4-live .v4-portrait-two{left:30%;bottom:-4%;width:45%;height:88%;z-index:2;background:linear-gradient(150deg,#e4ff71,#fff 58%,#b9a4ff)}
body.v4-live .v4-portrait-three{right:0;bottom:-3%;width:37%;height:65%;transform:rotate(7deg);background:linear-gradient(150deg,#c6b5ff,#fff 60%,#b5ffd3)}

/* ---- creator grid ---- */
body.v4-live .v4-creator-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
body.v4-live .v4-creator-card{height:370px;border:1px solid var(--v4-line);border-radius:22px;overflow:hidden;position:relative;background:var(--v4-art,#f3f0ff);box-shadow:0 8px 30px rgba(40,30,55,.04);cursor:pointer;text-decoration:none;color:inherit;display:block;transition:transform .16s ease}
body.v4-live .v4-creator-card:hover{transform:translateY(-3px)}
body.v4-live .v4-creator-card:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(255,255,255,.7) 52%,#fff 84%);pointer-events:none}
body.v4-live .v4-creator-logo{position:absolute;z-index:2;left:50%;top:24%;transform:translateX(-50%);width:96px;height:96px;border-radius:50%;background:#fff;border:4px solid #fff;box-shadow:0 12px 30px rgba(52,37,78,.14);overflow:hidden;display:grid;place-items:center}
body.v4-live .v4-creator-logo img{width:100%;height:100%;object-fit:cover}
body.v4-live .v4-creator-logo .v4-avatar-initial{font-size:38px}
body.v4-live .v4-creator-card-info{position:absolute;z-index:2;left:17px;right:17px;bottom:16px}
body.v4-live .v4-creator-card-info h3{margin:0;font-size:20px;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-creator-card-info p{margin:4px 0;color:var(--v4-muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-creator-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}
body.v4-live .v4-creator-card-footer button{border:0;background:#24252c;color:#fff;border-radius:10px;padding:7px 11px;font-weight:800}
body.v4-live .v4-creator-card-footer button.following{background:#effff5;color:#16824b}
body.v4-live .v4-verified{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--v4-purple);color:#fff;font-size:10px;flex:0 0 auto}
body.v4-live .v4-adult-badge{font-size:9px;letter-spacing:1px;background:#24252c;color:#fff;border-radius:20px;padding:5px 7px;font-weight:900}

/* ---- preview grid (featured videos / shorts previews) ---- */
body.v4-live .v4-preview-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}
body.v4-live .v4-preview-card{aspect-ratio:.72;border:1px solid var(--v4-line);border-radius:20px;overflow:hidden;position:relative;background:var(--v4-art,#f3f0ff);cursor:pointer;display:block}
body.v4-live .v4-preview-card img{width:100%;height:100%;object-fit:cover;display:block}
body.v4-live .v4-preview-card:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,rgba(255,255,255,.92));pointer-events:none}
body.v4-live .v4-preview-play{position:absolute;top:13px;right:13px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.08);z-index:2;font-size:13px}
body.v4-live .v4-preview-info{position:absolute;z-index:2;bottom:14px;left:14px;right:14px}
body.v4-live .v4-preview-info b{display:block;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-preview-info small{display:block;color:var(--v4-muted);margin-top:3px;font-size:11px}

/* ---- channel tiles (channels / following / friends) ---- */
body.v4-live .v4-channel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
body.v4-live .v4-channel-tile{background:#fff;border:1px solid var(--v4-line);border-radius:22px;padding:26px 18px 20px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;position:relative}
body.v4-live .v4-channel-tile a.v4-tile-link{position:absolute;inset:0;border-radius:22px;z-index:0}
body.v4-live .v4-channel-tile>*:not(.v4-tile-link):not(.v4-follow-btn){position:relative;z-index:1}
body.v4-live .v4-follow-btn{z-index:1;position:relative}
body.v4-live .v4-channel-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;background:linear-gradient(145deg,#dfff70,#b9a5ff);display:grid;place-items:center;margin-bottom:8px;overflow:hidden}
body.v4-live .v4-channel-avatar img{width:100%;height:100%;object-fit:cover}
body.v4-live .v4-avatar-initial{color:#fff;font-weight:900}
body.v4-live .v4-channel-name{font-size:17px;font-weight:800;color:var(--v4-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.v4-live .v4-channel-handle{font-size:13px;color:var(--v4-muted)}
body.v4-live .v4-follow-btn{border:1px solid #e2e2e8;background:#fff;color:#34353d;border-radius:10px;padding:7px 14px;font-weight:800;margin-top:10px}
body.v4-live .v4-follow-btn.following{background:#effff5;border-color:#bfe8d2;color:#16824b}
body.v4-live .v4-mini-search{display:flex;align-items:center;gap:8px;background:#f6f6f9;border-radius:24px;padding:0 8px 0 16px;margin:0 0 18px;width:min(520px,100%)}
body.v4-live .v4-mini-search input{border:0;outline:0;background:none;flex:1;height:42px;color:var(--v4-ink)}
body.v4-live .v4-mini-search button{width:34px;height:34px;border-radius:50%;border:0;background:#fff;color:#80828d;font-size:16px;box-shadow:0 3px 10px rgba(0,0,0,.06)}
body.v4-live .v4-filter-label{font-size:11px;font-weight:800;letter-spacing:.8px;color:var(--v4-muted2);align-self:center;margin:0 4px 0 10px}

/* ---- media cards (For You feed) ---- */
body.v4-live .v4-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body.v4-live .v4-yt-card{background:#fff;border:1px solid var(--v4-line);border-radius:18px;overflow:hidden}
body.v4-live .v4-yt-thumb{display:block;aspect-ratio:16/9;position:relative;overflow:hidden;background:#f3f0ff}
body.v4-live .v4-yt-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.v4-live .v4-badge{position:absolute;top:10px;left:10px;z-index:2;font-size:9px;font-weight:900;letter-spacing:.9px;border-radius:20px;padding:5px 8px}
body.v4-live .v4-badge.premium{background:var(--v4-purple);color:#fff}
body.v4-live .v4-badge.free{background:var(--v4-green);color:#153823}
body.v4-live .v4-yt-meta{display:flex;gap:11px;padding:13px}
body.v4-live .v4-yt-avatar{width:40px;height:40px;border-radius:50%;flex:0 0 auto;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#dfff70,#b9a5ff)}
body.v4-live .v4-yt-avatar img{width:100%;height:100%;object-fit:cover}
body.v4-live .v4-yt-info{min-width:0;flex:1}
body.v4-live .v4-yt-title{margin:0;font-size:15px;line-height:1.35}
body.v4-live .v4-yt-title a{color:var(--v4-ink);text-decoration:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-yt-channel{font-size:13px;margin-top:4px}
body.v4-live .v4-yt-channel a{color:var(--v4-muted);text-decoration:none}
body.v4-live .v4-yt-stats{font-size:12px;color:var(--v4-muted2);margin-top:2px}

/* ---- rails ---- */
body.v4-live .v4-rail{display:grid;grid-auto-flow:column;grid-auto-columns:252px;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
body.v4-live .v4-rail>*{scroll-snap-align:start}
body.v4-live .v4-card{background:#fff;border:1px solid var(--v4-line);border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;display:block}
body.v4-live .v4-card-media{aspect-ratio:16/9;position:relative;background:#f3f0ff;overflow:hidden}
body.v4-live .v4-card-media img{width:100%;height:100%;object-fit:cover;display:block}
body.v4-live .v4-card-title{padding:11px 14px 3px;font-size:14px;font-weight:700;color:var(--v4-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-card-meta{padding:0 14px 12px;font-size:12px;color:var(--v4-muted)}

/* ---- shorts feed ---- */
body.v4-live .v4-shorts-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
body.v4-live .v4-short{aspect-ratio:9/16;border-radius:24px;overflow:hidden;position:relative;background:#111}
body.v4-live .v4-short video{width:100%;height:100%;object-fit:cover;display:block;background:#111}
body.v4-live .v4-short-stage{position:absolute;inset:0}
body.v4-live .v4-short:after{content:"";position:absolute;inset:52% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none}
body.v4-live .v4-short-sound{position:absolute;top:13px;right:13px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:16px}
body.v4-live .v4-short-lock{position:absolute;top:14px;left:14px;z-index:3;background:var(--v4-purple);color:#fff;font-size:10px;font-weight:900;letter-spacing:.6px;border-radius:20px;padding:7px 11px;text-decoration:none}
body.v4-live .v4-short-copy{position:absolute;z-index:2;left:16px;right:16px;bottom:76px}
body.v4-live .v4-short-author{color:#fff;font-weight:800;font-size:14px;text-decoration:none;display:inline-block}
body.v4-live .v4-short-title{color:#fff;font-size:13px;font-weight:600;margin-top:4px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.v4-live .v4-short-caption{color:rgba(255,255,255,.75);font-size:12px;margin-top:5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.v4-live .v4-short-actions{position:absolute;z-index:3;left:0;right:0;bottom:12px;display:flex;align-items:center;gap:12px;padding:0 14px}
body.v4-live .v4-short-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#dfff70,#b9a5ff);border:2px solid #fff;flex:0 0 auto}
body.v4-live .v4-short-avatar img{width:100%;height:100%;object-fit:cover}
body.v4-live .v4-short-action{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;color:#fff;font-weight:800;font-size:16px;text-decoration:none;flex:1}
body.v4-live .v4-short-action small{font-size:11px;font-weight:600;opacity:.85}
body.v4-live .v4-short-action.active span{color:var(--v4-green)}
body.v4-live .v4-short-heart{position:absolute;z-index:2;left:50%;top:44%;font-size:90px;color:#fff;opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.5)}
body.v4-live .v4-short-heart.pop{animation:v4-heart-pop .8s ease}
@keyframes v4-heart-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}25%{opacity:.95;transform:translate(-50%,-50%) scale(1.15)}60%{opacity:.9;transform:translate(-50%,-58%) scale(1)}100%{opacity:0;transform:translate(-50%,-80%) scale(1)}}

/* ---- profile (channel) ---- */
body.v4-live .v4-profile{--v4-profile-bg:#fff;--v4-profile-card:#fff;--v4-profile-text:#22232b;--v4-profile-muted:#7d7f8b;--v4-profile-line:#ececf2;color:var(--v4-profile-text)}
body.v4-live .v4-profile.v4-creator-dark{--v4-profile-bg:#141417;--v4-profile-card:#1d1d21;--v4-profile-text:#f7f7f8;--v4-profile-muted:#aaaab4;--v4-profile-line:#303036}
body.v4-live .v4-profile-cover{height:280px;border-radius:25px;position:relative;overflow:hidden;background:linear-gradient(110deg,#efffbc,#d8ffe7,#e9e2ff)}
body.v4-live .v4-profile-cover.v4-cover-image{background-size:cover;background-position:center}
body.v4-live .v4-profile.v4-creator-dark .v4-profile-cover{filter:brightness(.55) saturate(1.2)}
body.v4-live .v4-cover-orb{position:absolute;width:550px;height:550px;border-radius:50%;background:rgba(133,91,255,.16);filter:blur(60px);right:8%;top:-270px}
body.v4-live .v4-cover-sticker{position:absolute;right:26px;bottom:22px;background:var(--v4-yellow);color:#222;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:.8px;transform:rotate(-2deg)}
body.v4-live .v4-profile-header{display:flex;align-items:flex-end;gap:20px;margin:-62px 28px 0;position:relative}
body.v4-live .v4-profile-avatar{width:140px;height:140px;border-radius:50%;border:6px solid var(--v4-profile-bg);background:linear-gradient(145deg,#dfff70,#c2ffe0,#b9a5ff);flex:0 0 auto;overflow:hidden;display:grid;place-items:center;box-shadow:0 14px 34px rgba(52,37,78,.12)}
body.v4-live .v4-profile-avatar img{width:100%;height:100%;object-fit:cover}
body.v4-live .v4-profile-avatar .v4-avatar-initial{font-size:52px}
body.v4-live .v4-profile-meta{padding-top:70px;flex:1;min-width:0}
body.v4-live .v4-profile-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.v4-live .v4-profile-name-row h1{font-size:32px;margin:0;letter-spacing:-.8px}
body.v4-live .v4-handle{margin:4px 0;color:var(--v4-profile-muted)}
body.v4-live .v4-profile-bio{margin:9px 0 0;color:var(--v4-profile-text);line-height:1.55;max-width:640px}
body.v4-live .v4-profile-stats{display:flex;gap:20px;margin-top:13px;color:var(--v4-profile-muted);font-size:13px;flex-wrap:wrap}
body.v4-live .v4-profile-stats strong{color:var(--v4-profile-text)}
body.v4-live .v4-profile-actions{display:flex;gap:8px;padding-bottom:8px;flex-wrap:wrap}
body.v4-live .v4-subscribed-pill{display:inline-flex;align-items:center;background:#effff5;color:#16824b;border:1px solid #bfe8d2;border-radius:13px;padding:11px 14px;font-weight:800}
body.v4-live .v4-profile-tabs{display:flex;gap:25px;border-bottom:1px solid var(--v4-profile-line);margin-top:30px;overflow-x:auto}
body.v4-live .v4-profile-tabs button{border:0;background:none;color:var(--v4-profile-muted);padding:15px 3px;white-space:nowrap;font-weight:700;font-size:14px}
body.v4-live .v4-profile-tabs button.active{color:var(--v4-profile-text);box-shadow:inset 0 -3px 0 var(--v4-yellow)}
body.v4-live .v4-profile-theme-toggle{margin-left:auto;color:#7650e0!important}
body.v4-live .v4-profile.v4-creator-dark .v4-profile-theme-toggle{color:#b9a4ff!important}
body.v4-live .v4-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;margin-top:24px}
body.v4-live .v4-profile-content{min-width:0}
body.v4-live .v4-tab-panel{display:none}
body.v4-live .v4-tab-panel.active{display:block}
body.v4-live .v4-about-card, body.v4-live .v4-video-card, body.v4-live .v4-gallery-card{border:1px solid var(--v4-profile-line);background:var(--v4-profile-card);border-radius:20px;padding:18px;margin-bottom:16px}
body.v4-live .v4-about-card h2{margin:0 0 8px;font-size:20px}
body.v4-live .v4-about-card p{line-height:1.65;color:var(--v4-profile-muted);margin:8px 0}
body.v4-live .v4-about-card a{color:var(--v4-purple);text-decoration:none;font-weight:700}
body.v4-live .v4-profile-media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin-bottom:16px}
body.v4-live .v4-video-card{padding:0;overflow:hidden;margin-bottom:0}
body.v4-live .v4-video-thumb{display:block;aspect-ratio:16/10;position:relative;background:linear-gradient(145deg,#dfff70,#fff,#bba8ff);overflow:hidden}
body.v4-live .v4-video-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.v4-live .v4-video-thumb .v4-badge{top:10px;left:10px}
body.v4-live .v4-video-thumb .v4-duration{position:absolute;right:10px;bottom:10px;background:#24252c;color:#fff;border-radius:8px;padding:4px 7px;font-size:10px;font-weight:700}
body.v4-live .v4-video-info{padding:13px}
body.v4-live .v4-video-info strong{display:block;font-size:14px;line-height:1.35}
body.v4-live .v4-video-info small{color:var(--v4-profile-muted);font-size:12px}
body.v4-live .v4-profile-shorts{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}
body.v4-live .v4-short-mini{aspect-ratio:9/16;border-radius:18px;position:relative;overflow:hidden;display:block;background:#111}
body.v4-live .v4-short-mini img{width:100%;height:100%;object-fit:cover;display:block}
body.v4-live .v4-short-mini:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none}
body.v4-live .v4-short-mini small{position:absolute;z-index:2;left:10px;right:10px;bottom:9px;color:#fff;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .v4-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}
body.v4-live .v4-gallery-card{padding:0;overflow:hidden;margin-bottom:0;display:block}
body.v4-live .v4-gallery-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
body.v4-live .v4-gallery-card small{display:block;padding:10px 12px;font-size:12px;color:var(--v4-profile-muted)}
body.v4-live .v4-membership-card{position:sticky;top:94px;background:linear-gradient(155deg,var(--v4-profile-card),rgba(133,91,255,.06));border:1px solid var(--v4-profile-line);border-radius:20px;padding:22px;margin-bottom:16px}
body.v4-live .v4-membership-card h3{font-size:22px;margin:6px 0 10px}
body.v4-live .v4-membership-price{display:flex;align-items:baseline;gap:5px}
body.v4-live .v4-membership-price strong{font-size:31px;color:#734ae0}
body.v4-live .v4-membership-price small{color:var(--v4-profile-muted)}
body.v4-live .v4-membership-card ul{list-style:none;padding:12px 0 16px;margin:0;line-height:2;color:var(--v4-profile-muted);font-size:13px}
body.v4-live .v4-membership-card>small{display:block;text-align:center;color:var(--v4-profile-muted);margin-top:9px}
body.v4-live .v4-wide{width:100%}
body.v4-live .v4-pending-note{margin:18px 0;padding:12px 16px;border:1px solid var(--v4-line);border-radius:13px;background:#fff;color:var(--v4-muted);font-size:13px}

/* ---- empty states / docs / gates / forms ---- */
body.v4-live .v4-empty-state{text-align:center;padding:70px 30px;border:1px dashed #e3e3ea;border-radius:24px;background:#fcfcfe}
body.v4-live .v4-empty-state h1, body.v4-live .v4-empty-state h2{margin:0 0 8px;letter-spacing:-.5px}
body.v4-live .v4-empty-state p{color:var(--v4-muted);max-width:440px;margin:0 auto 20px}
body.v4-live .v4-kicker{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#7048dc}
body.v4-live .v4-help{color:var(--v4-muted);font-size:14px;line-height:1.55}
body.v4-live .v4-doc{max-width:820px;margin:24px 0 70px}
body.v4-live .v4-doc h1{font-size:40px;letter-spacing:-1.5px;margin:8px 0 14px}
body.v4-live .v4-doc h2{font-size:21px;margin:34px 0 10px;letter-spacing:-.3px}
body.v4-live .v4-doc p, body.v4-live .v4-doc li{line-height:1.7;color:#5a5c66}
body.v4-live .v4-doc ul{padding-left:22px}
body.v4-live .v4-doc a{color:var(--v4-purple);font-weight:600}
body.v4-live .v4-gate{min-height:62vh;display:flex;align-items:center;justify-content:center;padding:20px 0}
body.v4-live .v4-gate-card{width:min(440px,100%);background:#fff;border:1px solid var(--v4-line);border-radius:24px;padding:34px;text-align:center;box-shadow:var(--v4-shadow)}
body.v4-live .v4-gate-card h1{font-size:26px;letter-spacing:-.5px;margin:12px 0 8px}
body.v4-live .v4-gate-card p{color:var(--v4-muted);line-height:1.55;margin:0 0 20px}
body.v4-live .v4-age-mark{width:64px;height:64px;margin:0 auto;border-radius:50%;background:var(--v4-purple);color:#fff;display:grid;place-items:center;font-weight:900;font-size:20px}
body.v4-live .v4-gate-card input[type=password]{width:100%;border:1px solid var(--v4-line);border-radius:13px;padding:12px 14px;outline:0;background:#fafafd}
body.v4-live .v4-gate-card .v4-button{width:100%;margin-top:14px}
body.v4-live .v4-form-card{background:#fff;border:1px solid var(--v4-line);border-radius:22px;padding:28px;margin:20px 0 70px;max-width:900px}
body.v4-live .v4-form-card h1{font-size:28px;letter-spacing:-.6px;margin:6px 0 8px}
body.v4-live .v4-form-card h2{font-size:20px;margin:26px 0 8px}
body.v4-live .v4-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
body.v4-live .v4-field{display:grid;gap:7px}
body.v4-live .v4-field.full{grid-column:1/-1}
body.v4-live .v4-field label{font-size:13px;font-weight:700;color:#34353d}
body.v4-live .v4-field input, body.v4-live .v4-field select, body.v4-live .v4-field textarea{border:1px solid var(--v4-line);border-radius:12px;padding:11px 13px;outline:0;background:#fafafd;color:var(--v4-ink);width:100%}
body.v4-live .v4-field input:focus, body.v4-live .v4-field select:focus, body.v4-live .v4-field textarea:focus{border-color:var(--v4-purple);background:#fff}
body.v4-live .v4-switch{display:flex;align-items:center;gap:10px;font-size:14px;color:#34353d;padding:6px 0}
body.v4-live .v4-switch.full{grid-column:1/-1}
body.v4-live .v4-switch input{width:18px;height:18px;accent-color:var(--v4-purple)}
body.v4-live .v4-form-actions{margin-top:22px;display:flex;gap:10px;flex-wrap:wrap}
body.v4-live .v4-rule{border:0;border-top:1px solid var(--v4-line);margin:26px 0}
body.v4-live .v4-season-list, body.v4-live .v4-studio-list{display:grid;gap:8px}
body.v4-live .v4-season-row{display:flex;align-items:center;gap:14px;border:1px solid var(--v4-line);border-radius:13px;padding:11px 14px}
body.v4-live .v4-season-row span{flex:1}
body.v4-live .v4-season-row small, body.v4-live .v4-studio-item small{color:var(--v4-muted)}
body.v4-live .v4-inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.v4-live .v4-inline-form input{border:1px solid var(--v4-line);border-radius:12px;padding:10px 13px;outline:0;background:#fafafd;width:180px}
body.v4-live .v4-inline-form input:first-child{width:90px}
body.v4-live .v4-studio-item{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--v4-line);border-radius:13px;padding:11px 14px}
body.v4-live .v4-studio-item small{display:block;margin-top:2px}
body.v4-live .v4-text-link{color:var(--v4-purple);font-weight:700;text-decoration:none;white-space:nowrap}
body.v4-live .v4-photo-post{max-width:900px;margin:16px 0 70px}
body.v4-live .v4-photo-post header h1{font-size:30px;letter-spacing:-.6px;margin:6px 0 10px}
body.v4-live .v4-photo-post header a{color:var(--v4-purple);font-weight:700;text-decoration:none}
body.v4-live .v4-photo-post header p{color:var(--v4-muted);line-height:1.6}
body.v4-live .v4-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
body.v4-live .v4-photo-grid figure{margin:0;border-radius:14px;overflow:hidden}
body.v4-live .v4-photo-grid img{width:100%;display:block}

/* ---- toast / modal ---- */
body.v4-live .v4-toast{position:fixed;z-index:100;right:22px;bottom:22px;background:#24252c;color:#fff;border-radius:13px;padding:11px 14px;box-shadow:var(--v4-shadow);opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s;max-width:320px;font-size:14px}
body.v4-live .v4-toast.show{opacity:1;transform:translateY(0)}
body.v4-live .v4-modal-backdrop{position:fixed;z-index:90;inset:0;background:rgba(38,34,45,.44);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}
body.v4-live .v4-modal-backdrop[hidden]{display:none}
body.v4-live .v4-modal-card{width:min(470px,100%);background:#fff;border-radius:24px;padding:28px;box-shadow:0 30px 100px rgba(43,31,62,.28);position:relative}
body.v4-live .v4-modal-close{position:absolute;right:13px;top:10px;border:0;background:none;font-size:26px;color:#777}
body.v4-live .v4-modal-card h2{font-size:28px;margin:8px 0;letter-spacing:-.5px}
body.v4-live .v4-modal-card p{color:var(--v4-muted);line-height:1.55}
body.v4-live .v4-checkout-row{display:flex;justify-content:space-between;background:#f7f7fa;border-radius:14px;padding:15px;margin:18px 0;font-weight:700}
body.v4-live .v4-checkout-row small{color:var(--v4-muted);font-weight:600}
body.v4-live .v4-modal-note{font-size:11px!important}
body.v4-live .v4-success-icon{font-size:45px;color:#18b764}

/* ---- mobile nav ---- */
body.v4-live .v4-mobile-nav{display:none}
body.v4-live .hide-mobile{display:inline}

/* ---- responsive ---- */
@media(max-width:1050px){
  body.v4-live .v4-sidebar{width:74px;padding:22px 8px}
  body.v4-live .v4-side-link b, body.v4-live .v4-sidebar-card{display:none}
  body.v4-live .v4-side-link{justify-content:center;padding:13px 0}
  body.v4-live .v4-brand{width:auto}
  body.v4-live .v4-page{padding:28px}
  body.v4-live .v4-creator-grid{grid-template-columns:repeat(2,1fr)}
  body.v4-live .v4-preview-grid{grid-template-columns:repeat(3,1fr)}
  body.v4-live .v4-channel-grid{grid-template-columns:repeat(3,1fr)}
  body.v4-live .v4-main{margin-left:74px}
  body.v4-live .v4-profile-layout{grid-template-columns:1fr}
  body.v4-live .v4-membership-card{position:static}
  body.v4-live .v4-media-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  body.v4-live .v4-topbar{height:62px;padding:0 15px;gap:12px}
  body.v4-live .v4-brand{font-size:18px}
  body.v4-live .v4-search-wrap, body.v4-live .hide-mobile{display:none}
  body.v4-live .v4-sidebar{display:none}
  body.v4-live .v4-main{margin:0;padding-top:62px;padding-bottom:70px}
  body.v4-live .v4-page{padding:16px}
  body.v4-live .v4-hero{min-height:585px;padding:28px;align-items:flex-start}
  body.v4-live .v4-hero-copy{width:100%}
  body.v4-live .v4-hero h1{font-size:45px;letter-spacing:-2.7px}
  body.v4-live .v4-hero-copy>p{font-size:15px}
  body.v4-live .v4-hero-proof{gap:13px;flex-wrap:wrap}
  body.v4-live .v4-hero-visual{width:100%;height:44%;right:0;opacity:.63}
  body.v4-live .v4-section-heading{align-items:flex-start;flex-direction:column;gap:12px}
  body.v4-live .v4-filter-row{width:100%;overflow-x:auto;flex-wrap:nowrap}
  body.v4-live .v4-creator-grid{gap:9px}
  body.v4-live .v4-creator-card{height:292px}
  body.v4-live .v4-preview-grid{grid-template-columns:repeat(2,1fr)}
  body.v4-live .v4-channel-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  body.v4-live .v4-profile-header{display:block;margin:-46px 10px 0}
  body.v4-live .v4-profile-avatar{width:98px;height:98px;border-width:5px}
  body.v4-live .v4-profile-avatar .v4-avatar-initial{font-size:36px}
  body.v4-live .v4-profile-meta{padding-top:9px}
  body.v4-live .v4-profile-actions{margin-top:15px}
  body.v4-live .v4-profile-actions .v4-button{flex:1;padding:10px 7px;text-align:center}
  body.v4-live .v4-profile-tabs{gap:20px}
  body.v4-live .v4-profile-theme-toggle{margin-left:0}
  body.v4-live .v4-profile-layout{display:block}
  body.v4-live .v4-profile-media-grid{grid-template-columns:1fr}
  body.v4-live .v4-profile-shorts{grid-template-columns:repeat(2,1fr);gap:9px}
  body.v4-live .v4-gallery-grid{grid-template-columns:repeat(2,1fr)}
  body.v4-live .v4-media-grid{grid-template-columns:1fr}
  body.v4-live .v4-shorts-feed{grid-template-columns:repeat(2,1fr);gap:10px}
  body.v4-live .v4-mobile-nav{display:flex;position:fixed;z-index:60;left:0;right:0;bottom:0;height:64px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-top:1px solid var(--v4-line);justify-content:space-around}
  body.v4-live .v4-mobile-nav a{color:#777;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;font-size:17px}
  body.v4-live .v4-mobile-nav small{font-size:9px}
  body.v4-live .v4-form-grid{grid-template-columns:1fr}
  body.v4-live .v4-photo-grid{grid-template-columns:repeat(2,1fr)}
  body.v4-live .v4-modal-card{padding:24px 20px}
}

/* --- v4neon1.2: follow-state + avatar-initial sizing + tab-panel headings --- */
body.v4-live .v4-button.following{background:#effff5;border-color:#bfe8d2;color:#16824b}
body.v4-live .v4-channel-avatar.v4-avatar-initial{font-size:32px}
body.v4-live .v4-yt-avatar .v4-avatar-initial{font-size:17px}
body.v4-live .v4-short-avatar .v4-avatar-initial{font-size:17px}
body.v4-live .v4-user-avatar .v4-avatar-initial{font-size:16px}
body.v4-live .v4-tab-panel .v4-section-heading{margin-top:28px}
body.v4-live .v4-tab-panel .v4-section-heading:first-child{margin-top:0}

/* --- v4neon2: Phase 7 — badges, flash, messaging + notifications --- */
body.v4-live .v4-bell{position:relative}
body.v4-live .ptw-badge{position:absolute;top:-5px;right:-7px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--v4-yellow);color:#242700;font-size:11px;font-weight:800;line-height:18px;text-align:center;pointer-events:none}
body.v4-live .v4-side-link .ptw-badge{position:static;margin-left:auto}
body.v4-live .v4-flash{border:1px solid var(--v4-line);border-radius:13px;padding:11px 14px;font-size:13px;font-weight:600;margin-bottom:14px}
body.v4-live .v4-flash-success{background:#effff5;border-color:#bfe8d2;color:#16824b}
body.v4-live .v4-flash-error{background:#fff0f0;border-color:#f3c1c1;color:#b3261e}
body.v4-live .v4-flash-warning{background:#fffbe0;border-color:#ecd98a;color:#7a5b00}
body.v4-live .v4-flash-info{background:#f2f2f6;color:#34353d}
body.v4-live .ptw-msg-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
body.v4-live .ptw-thread-list{border:1px solid var(--v4-line);border-radius:18px;background:#fff;overflow:hidden}
body.v4-live .ptw-thread{display:flex;align-items:center;gap:10px;padding:12px 14px;text-decoration:none;color:var(--v4-ink);border-bottom:1px solid var(--v4-line)}
body.v4-live .ptw-thread:last-child{border-bottom:0}
body.v4-live .ptw-thread:hover{background:#f5f5f8}
body.v4-live .ptw-thread.active{background:#f5f5f8;box-shadow:inset 3px 0 var(--v4-yellow)}
body.v4-live .ptw-thread-main{flex:1;min-width:0;display:grid;gap:2px}
body.v4-live .ptw-thread b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .ptw-thread p{margin:0;font-size:12px;color:var(--v4-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4-live .ptw-unread-badge{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--v4-yellow);color:#242700;font-size:11px;font-weight:800;display:inline-grid;place-items:center}
body.v4-live .ptw-chat{border:1px solid var(--v4-line);border-radius:18px;background:#fff;display:flex;flex-direction:column;min-height:480px;max-height:calc(100vh - 160px)}
body.v4-live .ptw-chat-head{padding:13px 16px;border-bottom:1px solid var(--v4-line);font-weight:800;font-size:15px}
body.v4-live .ptw-chat-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:9px}
body.v4-live .ptw-msg{max-width:74%;padding:9px 13px;border-radius:14px;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
body.v4-live .ptw-msg time{display:block;font-size:11px;opacity:.65;margin-top:3px}
body.v4-live .ptw-msg.me{align-self:flex-end;background:var(--v4-yellow);color:#242700;border-bottom-right-radius:5px}
body.v4-live .ptw-msg.them{align-self:flex-start;background:#f2f2f6;color:#24252c;border-bottom-left-radius:5px}
body.v4-live .ptw-composer{display:flex;gap:8px;align-items:flex-end;padding:12px;border-top:1px solid var(--v4-line);flex-wrap:wrap}
body.v4-live .ptw-composer .v4-field{flex:1;min-width:200px}
body.v4-live .ptw-composer .v4-field textarea{min-height:44px;max-height:120px;resize:vertical}
body.v4-live .ptw-empty{padding:40px 18px;text-align:center;color:var(--v4-muted);font-size:13px;line-height:1.7}
body.v4-live .ptw-notif-list{border:1px solid var(--v4-line);border-radius:18px;background:#fff;overflow:hidden}
body.v4-live .ptw-notif{display:flex;align-items:baseline;gap:12px;padding:12px 16px;border-bottom:1px solid var(--v4-line);text-decoration:none;color:var(--v4-ink);font-size:14px}
body.v4-live .ptw-notif:last-child{border-bottom:0}
body.v4-live .ptw-notif p{flex:1;margin:0;line-height:1.45}
body.v4-live .ptw-notif time{font-size:11px;color:var(--v4-muted);white-space:nowrap}
body.v4-live .ptw-notif .ptw-notif-kind{font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#7048dc;min-width:86px}
body.v4-live .ptw-notif-unread{background:#fffbe0;box-shadow:inset 3px 0 var(--v4-yellow)}
@media (max-width:900px){
body.v4-live .ptw-msg-layout{grid-template-columns:1fr}
body.v4-live .ptw-thread-list{max-height:280px;overflow-y:auto}
body.v4-live .ptw-chat{min-height:380px;max-height:none}
body.v4-live .ptw-notif .ptw-notif-kind{min-width:0}
}

/* --- v4neon3: shorts full-screen cinema (click a grid card to open, swipe vertically) --- */
body.v4-live #v4-cinema{position:fixed;inset:0;z-index:95;background:#000}
body.v4-live #v4-cinema[hidden]{display:none}
body.v4-live #v4-cinema .ptw-shorts-feed{height:100dvh}
body.v4-live #v4-cinema .ptw-short{height:100dvh;padding:0}
body.v4-live #v4-cinema .ptw-short-stage{max-height:none;height:100%}
body.v4-live #v4-cinema .ptw-short-lock{top:64px}
body.v4-live .v4-cinema-close{position:absolute;z-index:20;top:16px;left:16px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:17px;line-height:1;backdrop-filter:blur(10px);cursor:pointer;display:grid;place-items:center}
body.v4-live .v4-cinema-close:hover{background:rgba(255,255,255,.3)}
