:root{--bg:#111111;--panel:#181818;--panel2:#202020;--surface:#242424;--line:#2A2A2A;--line2:#363636;--text:#F5F5F5;--muted:#A0A0A0;--dim:#818181;--accent:#9DFF00;--accent2:#B8FF52;--shadow:0 16px 50px #0005;--radius:15px;--sidebar:248px;color-scheme:dark;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,-apple-system,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{text-decoration:none;color:inherit}input,textarea,select{outline:none}input::placeholder,textarea::placeholder{color:#797979}::selection{background:#9DFF0066}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#313131;border-radius:8px}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#151515;border-right:1px solid #2A2A2A;display:flex;flex-direction:column;padding:27px 15px 18px;z-index:9}.brand{display:inline-flex;align-items:center;gap:9px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-1.15px;font-size:22px;padding:0 12px;width:max-content}.brand-symbol{width:33px;height:33px;display:grid;place-items:center;color:var(--accent);filter:drop-shadow(0 0 8px #9DFF0026)}.brand-period{color:var(--accent)}.sidebar-label{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#737373;margin:42px 12px 15px}.sidebar-links{display:flex;flex-direction:column;gap:5px}.nav-link{background:none;color:#A6A6A6;display:flex;align-items:center;gap:14px;border:0;padding:12px 14px;border-radius:15px;width:100%;font-weight:650;text-align:left;transition:background .2s,color .2s}.nav-link svg{width:19px;height:19px;flex:none;stroke-width:1.85}.nav-link:hover,.nav-link.active{background:#222222;color:#fff}.nav-link.active{box-shadow:none}.sidebar-divider{height:1px;background:#272727;margin:25px 12px -15px}.sidebar-bottom{margin-top:auto}.sidebar-card{padding:17px 16px 15px;border:1px solid #303030;border-radius:var(--radius);background:linear-gradient(145deg,#202020,#181818 80%);display:flex;flex-direction:column;gap:8px}.tiny-star{color:var(--accent);font-size:22px}.sidebar-card strong{font-size:14px;font-family:Manrope}.sidebar-card>span{font-size:12px;line-height:1.65;color:#a7a1a1}.text-link{background:none;border:0;text-align:left;padding:8px 0 0;color:var(--accent);font-size:12px;font-weight:800}.microcopy{font-size:9px;letter-spacing:1.6px;line-height:1.9;color:#5E5E5E;margin:27px 8px 0}
.page-shell{margin-left:var(--sidebar);min-width:0}.topbar{height:78px;position:sticky;top:0;z-index:8;display:flex;align-items:center;gap:24px;padding:0 clamp(22px,3vw,50px);border-bottom:1px solid #292929;background:#111111EC;backdrop-filter:blur(18px)}.mobile-brand{display:none}.search-box{height:43px;max-width:520px;width:100%;display:flex;align-items:center;gap:12px;background:#1B1B1B;border:1px solid #303030;border-radius:15px;padding:0 16px}.search-box:focus-within{border-color:#303030;outline:none;box-shadow:none}.search-box svg{width:19px;height:19px;color:#929292}.search-box input{min-width:0;flex:1;border:0;background:none;color:var(--text);font-size:13px}.search-box kbd{font-family:inherit;font-size:13px;color:#727272;border:1px solid #474747;padding:1px 6px;border-radius:5px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:12px;flex:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:15px;font-size:13px;font-weight:800;line-height:1.2;padding:13px 18px;transition:background .15s,border .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button svg{width:17px;height:17px}.button-primary{background:var(--accent);color:#111111}.button-primary:hover{background:#B8FF52}.button-secondary{background:#292929;color:#f2f3f5;border-color:#3A3A3A}.button-secondary:hover{background:#323232}.button-ghost{background:transparent;color:#C5C5C5;border-color:#353535}.button-ghost:hover{background:#222222}.button-danger{background:#3c2424;color:#ffc2bd;border-color:#623a3a}.button.tiny{font-size:12px;padding:10px 13px}.compact{padding:11px 15px}.account-avatar,.profile-avatar{display:inline-grid;place-items:center;flex:none;background:linear-gradient(135deg,#9DFF00,#66AD00);color:#151515;font-weight:800;border-radius:15px;width:40px;height:40px}.account-avatar{border:0;font-size:16px}.auth-button{padding:11px 15px}.main-content{max-width:1610px;padding:37px clamp(22px,3vw,50px) 85px;margin:0 auto;min-height:calc(100vh - 78px)}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:2.1px;text-transform:uppercase}.eyebrow-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px #9DFF0077}.hero{border:1px solid #343434;border-radius:15px;min-height:285px;padding:38px clamp(25px,4vw,57px);display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden;position:relative;background:radial-gradient(ellipse 550px 330px at 95% 80%,#9DFF0014,transparent 80%),linear-gradient(115deg,#202020,#181818 70%)}.hero:after{position:absolute;content:'';width:410px;height:410px;border:1px solid #9DFF0030;transform:rotate(25deg);border-radius:75px;right:-170px;top:-60px;pointer-events:none}.hero-copy{max-width:670px;position:relative;z-index:2}.hero h1{font-family:Manrope,sans-serif;font-size:clamp(32px,3.9vw,58px);line-height:1.12;letter-spacing:-2.3px;margin:20px 0 13px;font-weight:800}.hero h1 em{font-style:normal;color:var(--accent)}.hero p{font-size:14px;line-height:1.85;color:#b7b3b8;max-width:470px;margin:0}.hero-ctas{display:flex;flex-wrap:wrap;gap:11px;margin-top:25px}.hero-art{width:280px;min-width:200px;height:200px;display:grid;place-items:center;position:relative;transform:rotate(-8deg)}.hero-art .giant-play{width:165px;height:165px;display:grid;place-items:center;border-radius:42px;background:linear-gradient(150deg,#B8FF52,#76C800);box-shadow:0 18px 45px #9DFF0018,0 0 0 17px #ffffff08,0 0 0 34px #ffffff06;transform:rotate(15deg)}.giant-play svg{width:80px;height:80px;fill:#161616}.hero-art .orb{position:absolute;border-radius:50%;border:1px solid #9DFF0060}.orb.one{width:275px;height:275px}.orb.two{width:335px;height:335px;border-color:#9DFF001E}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:38px 0 20px}.section-head h2,.page-title{font-family:Manrope,sans-serif;font-size:21px;letter-spacing:-.7px;margin:0;font-weight:800}.section-head p,.page-subtitle{margin:8px 0 0;color:var(--muted);font-size:12.5px}.mini-link{font-weight:700;font-size:12px;color:var(--accent);background:none;border:0}.category-row{display:flex;gap:8px;overflow-x:auto;padding:3px 0 18px;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.pill{border:1px solid #343434;border-radius:10px;color:#BCBCBC;background:#202020;padding:10px 16px;font-weight:750;font-size:12px;white-space:nowrap}.pill.active{background:var(--accent);color:#101010;border-color:var(--accent)}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:19px;row-gap:30px}.video-card{min-width:0}.thumbnail{aspect-ratio:16/9;width:100%;display:flex;position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid #303030;background:linear-gradient(115deg,#262626,#2A2A2A);cursor:pointer}.thumbnail img{height:100%;width:100%;object-fit:cover;transition:transform .45s}.thumbnail:hover img{transform:scale(1.045)}.thumbnail.empty:after{content:'▶';font-size:42px;position:absolute;inset:0;display:grid;place-items:center;color:#9DFF00}.duration-tag,.views-tag{position:absolute;right:11px;bottom:11px;border-radius:6px;padding:5px 7px;font-family:Manrope;font-size:11px;font-weight:750;background:#090909ce;color:#fff}.views-tag{right:auto;left:11px;color:#D7D7D7;font-weight:600}.video-info{display:flex;gap:11px;padding-top:14px}.video-info .profile-avatar{width:36px;height:36px;border-radius:15px;font-size:14px}.video-card-title{font-size:13.6px;line-height:1.5;font-weight:800;display:block;margin:0 0 7px}.video-card-title:hover{color:var(--accent)}.video-meta{font-size:12px;line-height:1.7;color:#979797}.video-meta a:hover{color:#fff}.channel-indicator{color:var(--accent);font-weight:800;margin-left:4px}.empty-state{border:1px dashed #353535;background:#171717;border-radius:15px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:70px 20px;gap:12px;color:var(--muted)}.empty-state svg{width:42px;height:42px;color:var(--accent)}.empty-state strong{font-family:Manrope;font-size:20px;color:#f5f5f5}.empty-state p{max-width:400px;margin:0 0 7px;line-height:1.7}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:7px 0 28px}.page-heading h1{font-family:Manrope;font-size:30px;letter-spacing:-1.3px;margin:0}.page-heading p{margin:9px 0 0;color:var(--muted)}.sort-bar{display:flex;align-items:center;gap:8px}.sort-bar label{font-size:12px;color:var(--muted)}.select{appearance:none;border:1px solid #3a3a3a;border-radius:10px;background:#242424;color:#fff;padding:11px 13px;font-weight:700}
.watch-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.72fr);gap:28px}.watch-main{min-width:0}.player{aspect-ratio:16/9;background:#000;border:1px solid #2A2A2A;border-radius:var(--radius);width:100%;overflow:hidden;display:grid;place-items:center}.player video{width:100%;height:100%;display:block;outline:none}.watch-title{font-family:Manrope;font-size:clamp(19px,2vw,25px);line-height:1.35;margin:22px 0 17px;letter-spacing:-.5px}.watch-channel-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.watch-channel-row .channel-description{display:flex;flex-direction:column;gap:4px;margin-right:auto}.watch-channel-row .channel-description strong{font-size:13px}.watch-channel-row .channel-description span{font-size:11px;color:var(--muted)}.watch-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.watch-actions .button{padding:11px 15px}.watch-description{padding:20px 22px;background:#202020;border:1px solid #303030;border-radius:var(--radius);white-space:pre-wrap;line-height:1.8;color:#C5C5C5}.watch-description strong{color:#fff}.comments-section{margin-top:31px}.comments-section h3{font-family:Manrope;margin:0 0 19px;font-size:19px}.comment-entry{display:flex;gap:13px;margin-bottom:25px}.comment-body{flex:1}.comment-entry h4{margin:2px 0 6px;font-size:12px}.comment-entry time{font-weight:400;color:#878787;margin-left:9px}.comment-entry p{margin:0;white-space:pre-wrap;line-height:1.7;color:#CACACA;font-size:13px}.comment-form{display:flex;gap:10px;margin-bottom:24px}.comment-form input{flex:1;min-width:0;border:1px solid #343434;border-radius:10px;padding:12px 14px;background:#191919;color:#f5f5f5}.related-title{font-family:Manrope;font-size:17px;margin:4px 0 16px}.related-item{display:grid;grid-template-columns:minmax(115px,45%) 1fr;gap:12px;margin-bottom:15px}.related-item .thumbnail{border-radius:15px}.related-item .video-card-title{font-size:12px;margin:0 0 5px}.related-item .video-meta{font-size:11px}
.channel-cover{height:182px;border-radius:15px;border:1px solid #343434;background:radial-gradient(ellipse 500px 200px at 80% 30%,#9DFF0038,transparent 85%),linear-gradient(112deg,#222222,#171717);display:flex;align-items:center;padding:36px;overflow:hidden;position:relative}.channel-cover:after{content:'A';font-family:Manrope;font-size:220px;font-weight:800;color:#ffffff08;position:absolute;right:80px;top:-110px;transform:rotate(10deg)}.channel-cover span{font-family:Manrope;font-size:11px;letter-spacing:3px;color:#B8FF52;font-weight:800;z-index:1}.channel-head{display:flex;gap:20px;align-items:center;margin:23px 0 34px}.profile-avatar.large{height:78px;width:78px;border-radius:15px;font-size:30px}.channel-titles{flex:1}.channel-titles h1{font-family:Manrope;font-size:25px;margin:0 0 7px}.channel-titles p{color:var(--muted);margin:0 0 7px}.channel-titles small{color:#AFAFAF;line-height:1.5}.studio-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}.stat-card{border:1px solid #333333;border-radius:var(--radius);padding:21px;background:#181818}.stat-label{display:flex;justify-content:space-between;font-size:12px;font-weight:650;color:#A4A4A4}.stat-label svg{height:17px;width:17px;color:var(--accent)}.stat-card strong{display:block;font-size:29px;font-family:Manrope;margin-top:14px;letter-spacing:-1px}.studio-table{border:1px solid #323232;border-radius:var(--radius);overflow:hidden}.studio-row{display:grid;grid-template-columns:minmax(220px,2fr) 115px 100px 100px 85px;gap:15px;align-items:center;border-bottom:1px solid #2A2A2A;padding:14px 18px;font-size:12px;color:#BFBFBF}.studio-row:last-child{border:0}.studio-row.studio-header{background:#202020;font-weight:800;letter-spacing:.5px;text-transform:uppercase;font-size:10px;color:#8F8F8F}.studio-thumb{display:flex;align-items:center;gap:13px;min-width:0}.studio-thumb img{width:100px;aspect-ratio:16/9;object-fit:cover;border-radius:9px}.studio-thumb div{min-width:0}.studio-thumb strong{display:block;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-thumb span{display:block;color:#939393;font-size:10px;margin-top:5px}.studio-table .button{padding:8px}.sub-grid{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:34px}.channel-chip{border:1px solid #353535;border-radius:15px;background:#202020;padding:11px 15px;display:flex;align-items:center;gap:11px;font-weight:700}
.modal-backdrop{position:fixed;inset:0;background:#050505D6;backdrop-filter:blur(11px);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#181818;border:1px solid #383838;border-radius:15px;box-shadow:var(--shadow);width:min(100%,490px);max-height:calc(100vh - 40px);overflow:auto;padding:29px}.modal.wide{width:min(100%,590px)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:27px}.modal-head .eyebrow{margin-bottom:9px}.modal-head h2{font-family:Manrope;font-size:24px;letter-spacing:-.7px;margin:0}.icon-button{height:35px;width:35px;border:1px solid #393939;color:#D3D3D3;background:#252525;display:grid;place-items:center;border-radius:10px}.icon-button svg{width:18px;height:18px}.form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.form-group label{font-weight:750;font-size:12px;color:#C6C6C6}.form-control{background:#151515;border:1px solid #383838;border-radius:15px;min-height:45px;padding:12px 13px;color:#fff;width:100%}.form-control:focus{border-color:var(--accent)}textarea.form-control{min-height:100px;resize:vertical}.help-text{font-size:11px;color:#919191;line-height:1.5}.form-footer{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.form-footer>.button{flex:1}.link-button{background:none;border:0;color:var(--accent);font-size:12px;font-weight:800;padding:9px 0}.file-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #555555;background:#202020;border-radius:15px;min-height:140px;gap:7px;text-align:center;padding:20px;cursor:pointer}.file-drop:hover{border-color:var(--accent)}.file-drop svg{width:28px;height:28px;color:var(--accent)}.file-drop input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.file-drop strong{font-size:12px}.file-drop span{font-size:11px;color:#A0A0A0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.progress-track{width:100%;height:6px;border-radius:9px;background:#353535;margin:12px 0;overflow:hidden}.progress-track>div{height:100%;width:0;background:var(--accent);transition:width .15s}.form-error{padding:11px 13px;border:1px solid #774247;background:#382327;color:#ffd0d0;border-radius:9px;font-size:12px;margin:12px 0}.inline-notice{font-size:12px;color:#AFAFAF;line-height:1.65}.inline-notice a{color:var(--accent)}.toast{position:fixed;bottom:28px;right:28px;z-index:50;background:#242424;color:#fff;border:1px solid #424242;box-shadow:var(--shadow);padding:14px 18px;border-radius:15px;max-width:min(360px,calc(100vw - 24px));font-size:12px;font-weight:700}.toast.error{border-color:#b45757}.bottom-nav{display:none}.skeleton-header{width:60%;height:220px;background:#202020;border-radius:16px}.skeleton-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:27px}.skeleton-grid span{aspect-ratio:16/9;background:#202020;border-radius:16px}
@media(min-width:1600px){.video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){:root{--sidebar:210px}.sidebar{padding-inline:10px}.hero-art{min-width:150px;width:180px}.hero-art .giant-play{width:130px;height:130px;border-radius:30px}.watch-layout{grid-template-columns:minmax(0,1fr)}.related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{display:none}.page-shell{margin-left:0}.topbar{height:71px;padding:0 17px;gap:12px}.mobile-brand{display:inline-flex;font-size:18px;gap:4px;padding:0}.mobile-brand .brand-symbol{width:27px}.search-box{max-width:none;flex:1;height:40px;padding:0 10px}.search-box input{font-size:12px}.search-box kbd{display:none}.top-actions{margin-left:0;gap:7px}.top-actions .compact{padding:10px}.desktop-only{display:none}.account-avatar{height:37px;width:37px}.main-content{padding:22px 17px 100px;min-height:calc(100vh - 71px)}.hero{min-height:auto;padding:28px 24px;align-items:flex-start}.hero-art{display:none}.hero h1{font-size:35px;letter-spacing:-1.6px;margin:13px 0}.hero p{font-size:12.5px}.hero-ctas{margin-top:20px}.section-head{margin-top:30px}.section-head h2{font-size:18px}.bottom-nav{position:fixed;z-index:12;bottom:0;left:0;right:0;display:flex;justify-content:space-around;padding:8px 4px max(9px,env(safe-area-inset-bottom));background:#161616F5;border-top:1px solid #333333;backdrop-filter:blur(16px)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;background:none;border:0;color:#979797;font-size:10px;font-weight:700;min-width:0}.bottom-nav button.active{color:var(--accent)}.bottom-nav svg{width:21px;height:21px}.page-heading h1{font-size:25px}.channel-cover{height:125px;padding:22px}.channel-head{gap:12px;flex-wrap:wrap}.profile-avatar.large{width:60px;height:60px;font-size:23px}.channel-titles h1{font-size:20px}.channel-head>.button{width:100%}.studio-row{grid-template-columns:minmax(0,1fr) 65px}.studio-row>div:nth-child(3),.studio-row>div:nth-child(4),.studio-header>div:nth-child(3),.studio-header>div:nth-child(4){display:none}.studio-row>div:nth-child(2){display:none}.studio-thumb img{width:75px}.related-list{display:block}.watch-layout{gap:20px}.watch-channel-row .button{padding:10px}.modal{padding:22px}.toast{bottom:82px;right:12px}}
@media(max-width:520px){.video-grid{grid-template-columns:1fr;row-gap:24px}.video-card-title{font-size:14px}.search-box input{width:100%}.search-box{margin-left:auto;max-width:175px}.mobile-brand span:last-child{display:none}.hero h1{font-size:32px}.hero .button{font-size:12px}.studio-stats{gap:8px}.stat-card{padding:14px}.stat-card strong{font-size:21px}.stat-label{font-size:10px}.two-fields{grid-template-columns:1fr}.page-heading{align-items:flex-start}.sort-bar{flex-direction:column;align-items:flex-end}.watch-actions .button{font-size:11px;padding:10px}.channel-cover{height:110px}}


/* v0.4 creator tools — flat charcoal + lime, 15px */
.next-panel{border:1px solid var(--line);border-radius:15px;background:var(--panel);padding:24px;margin:22px 0}
.next-panel>h2{font:800 19px Manrope,system-ui;margin:0 0 20px}
.next-panel form{display:grid;gap:14px}
.next-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.next-grid>button{align-self:end}
.next-card{border-bottom:1px solid var(--line);padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}
.next-card:last-child{border-bottom:0}.next-card strong{font-size:14px}.next-card p,.next-muted{color:var(--muted);font-size:12px;line-height:1.7;margin:7px 0}
.next-card>a{min-width:0}.next-buttons,.next-watch{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.next-buttons .button{font-size:12px;padding:9px 12px}.next-watch{margin:20px 0;padding:14px 0;border-bottom:1px solid var(--line)}
.next-check{display:flex;gap:10px;align-items:center;color:var(--muted);padding:10px 0}
.next-check input{accent-color:var(--accent);width:16px;height:16px}
.next-panel textarea{min-height:100px;resize:vertical}
.next-panel select,.next-panel input{background:var(--panel2);color:var(--text);border:1px solid var(--line2)}
.next-panel .button-primary{width:max-content}
@media(max-width:800px){.next-card{align-items:flex-start;flex-direction:column}.next-grid{grid-template-columns:1fr}.next-panel{padding:17px}.next-watch{gap:7px}}

/* Vertical short-form clips */
.clip-reel{display:grid;gap:12px;max-height:calc(100vh - 170px);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;padding:8px 0 25px}
.clip-item{scroll-snap-align:start;min-height:calc(100vh - 190px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#181818;border:1px solid #2A2A2A;border-radius:15px;padding:16px}
.clip-item video{height:min(67vh,740px);max-width:100%;aspect-ratio:9/16;object-fit:contain;border-radius:15px;background:#090909}
.clip-video-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%}
.clip-loop-toggle{position:absolute;right:12px;bottom:52px;width:42px;height:42px;display:grid;place-items:center;background:#111d;border:1px solid #ffffff33;border-radius:12px;color:#fff;cursor:pointer;touch-action:manipulation;z-index:2;backdrop-filter:blur(8px)}
.clip-loop-toggle svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.clip-loop-toggle[aria-pressed="true"]{color:#9DFF00;background:#9DFF0022;border-color:#9DFF0080}
.clip-loop-toggle:focus-visible{outline:2px solid #9DFF00;outline-offset:3px}
.clip-item strong{font-size:14px;text-align:center}.clip-item p{font-size:12px;color:#A0A0A0;margin:0}
@media(max-width:600px){.clip-reel{max-height:calc(100dvh - 150px)}.clip-item{min-height:calc(100dvh - 165px);padding:8px}.clip-item video{height:65dvh}}


/* Responsive upgrade: independent desktop sidebar, accessible mobile navigation. */
.sidebar{height:100vh;height:100dvh;overflow:hidden}
.sidebar>.brand{flex:0 0 auto;min-height:39px}
.sidebar-scroll{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#474747 transparent;scroll-padding:12px 0;padding-right:4px;padding-bottom:18px}
.sidebar-scroll::-webkit-scrollbar{width:6px}
.sidebar-scroll::-webkit-scrollbar-thumb{background:#474747;border-radius:6px}
.sidebar-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:9px}
.sidebar-scroll .sidebar-bottom{margin-top:30px}
.sidebar-scroll .sidebar-card{flex-shrink:0}
.mobile-drawer[hidden]{display:none!important}
.mobile-drawer{display:none}
.page-shell,.main-content{min-width:0}
.main-content,.watch-main,.comment-body,.video-info>div,.channel-titles{overflow-wrap:anywhere}
.studio-row>div{min-width:0}
@media (min-width:901px) and (max-width:1250px){
 .studio-table{overflow-x:auto;overscroll-behavior-x:contain}
 .studio-row{min-width:690px}
}
@media (max-height:700px) and (min-width:901px){
 .sidebar{padding-top:14px;padding-bottom:10px}
 .sidebar-scroll .sidebar-label{margin-top:23px;margin-bottom:10px}
 .sidebar-scroll .nav-link{padding-top:10px;padding-bottom:10px}
 .sidebar-scroll .sidebar-bottom{margin-top:22px}
}
@media(max-width:900px){
 .page-shell{width:100%}
 .topbar{padding:0 14px;gap:10px}
 .topbar>.mobile-brand{flex-shrink:0}
 .search-box{flex:1 1 0;min-width:0;max-width:none;width:auto;margin-left:0}
 .search-box input{min-width:0;width:100%;font-size:16px}
 .top-actions{flex:0 0 auto}
 .main-content{min-height:calc(100dvh - 71px)}
 .page-heading{flex-wrap:wrap;align-items:flex-start}
 .page-heading .next-buttons{width:100%;justify-content:flex-start}
 .studio-table{overflow:visible}
 .studio-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 13px;min-width:0}
 .studio-row.studio-header{display:none}
 .studio-row>div:nth-child(5){display:flex;justify-content:flex-end;gap:6px;align-items:center;flex-wrap:wrap}
 .studio-row>div:nth-child(5) .button{min-height:36px;padding:8px 10px}
 .studio-thumb{min-width:0}
 .studio-thumb strong{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .watch-description{padding:16px;overflow-wrap:anywhere}
 .modal-backdrop{padding:12px 10px;align-items:center}
 .modal{width:min(100%,520px);max-height:calc(100dvh - 24px);overscroll-behavior-y:contain}
 .bottom-nav button{min-height:49px;touch-action:manipulation}
 .mobile-drawer{display:flex;position:fixed;inset:0;z-index:25;align-items:flex-end}
 .mobile-drawer-backdrop{position:absolute;inset:0;background:#000b;border:0;width:100%;height:100%;cursor:pointer}
 .mobile-drawer-sheet{position:relative;background:#181818;border:1px solid #343434;border-bottom:0;border-radius:15px 15px 0 0;width:100%;max-height:calc(100dvh - 38px);overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 16px calc(23px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px #0008}
 .mobile-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #333}
 .mobile-drawer-header strong{font:800 17px Manrope,system-ui}
 .mobile-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:14px}
 .mobile-menu-links .nav-link{gap:10px;min-height:47px;padding:11px 12px;font-size:12px;overflow-wrap:anywhere}
 .mobile-menu-links .nav-link svg{flex:0 0 17px}
 body.mobile-menu-open{overflow:hidden}
 .next-panel,.next-card{max-width:100%}
 .clip-reel{max-height:calc(100dvh - 175px)}
}
@media(max-width:600px){
 .topbar{padding:0 12px;gap:8px}
 .mobile-brand{flex:0 0 auto}
 .search-box{min-width:0}
 .top-actions .auth-button{white-space:nowrap}
 .main-content{padding:20px 14px calc(110px + env(safe-area-inset-bottom))}
 .hero{padding:25px 20px}
 .hero h1{font-size:clamp(27px,8vw,35px);letter-spacing:-1.2px}
 .hero-ctas{gap:8px}
 .hero-ctas .button{padding:12px 13px}
 .page-heading h1{font-size:clamp(23px,6vw,28px)}
 .studio-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .stat-card{min-width:0;padding:15px}
 .stat-card strong{font-size:24px}
 .stat-label{overflow-wrap:anywhere}
 .studio-row{grid-template-columns:minmax(0,1fr)}
 .studio-row>div:nth-child(5){justify-content:flex-start}
 .studio-thumb img{width:76px;flex-shrink:0}
 .comment-form{flex-wrap:wrap}
 .comment-form input{flex:1 1 100%}
 .comment-form .button{width:100%}
 .modal{padding:19px}
 .modal-head h2{font-size:21px}
 .watch-actions{gap:7px}
 .watch-actions .button{font-size:12px;min-height:41px}
 .mobile-menu-links{grid-template-columns:1fr 1fr}
 .mobile-drawer-sheet{padding:17px 13px calc(24px + env(safe-area-inset-bottom))}
 .toast{left:12px;right:12px;max-width:none}
}
@media(max-width:520px){
 .topbar{height:65px}
 #header-upload{display:none}
 .mobile-brand{min-width:28px}
 .search-box{flex:1 1 0;max-width:none;min-width:0;margin:0}
 .search-box input{font-size:16px}
 .top-actions{flex:0 0 auto;min-width:0}
 .top-actions .auth-button{font-size:11px;padding:11px 9px}
 .main-content{min-height:calc(100dvh - 65px)}
 .video-grid{grid-template-columns:minmax(0,1fr)}
 .related-list{display:block}
}
@media(max-width:360px){
 .search-box{padding:0 8px;gap:5px}
 .search-box input::placeholder{color:transparent}
 .mobile-menu-links{grid-template-columns:1fr}
 .bottom-nav button{font-size:9px}
 .bottom-nav svg{width:19px;height:19px}
}
@media(min-width:901px){.mobile-drawer{display:none!important}}



/* --- Avenyxo v0.5: owner control center, premium player, identity, legal and appearance --- */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.profile-avatar{object-fit:cover;flex-shrink:0}
.account-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.avx-profile-tools{margin-top:20px;padding:17px 0;border-top:1px solid var(--line);display:grid;gap:14px}
.avx-profile-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.avx-profile-tools code{font-family:ui-monospace,monospace;overflow-wrap:anywhere;font-size:11px}
.avx-sidebar-settings{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 14px;padding:15px 10px;border-top:1px solid var(--line);align-items:center}
.avx-sidebar-settings .avx-theme-button{width:100%;justify-content:center}
.avx-sidebar-settings>a,.avx-mobile-links>a{font-size:12px;color:var(--muted);font-weight:700}
.avx-sidebar-settings>a:hover,.avx-mobile-links>a:hover{color:var(--accent)}
.avx-mobile-links{padding:17px 9px 5px;display:flex;gap:14px;flex-wrap:wrap;align-items:center;border-top:1px solid var(--line);margin-top:15px}
.avx-mobile-links>button{width:100%}
.avx-admin-tabs{display:flex;overflow-x:auto;gap:8px;padding:8px 0 18px;scrollbar-width:thin;white-space:nowrap}
.avx-chip{border:1px solid var(--line2);border-radius:15px;padding:11px 18px;background:var(--panel2);color:var(--muted);font-weight:800;font-size:12px;flex-shrink:0}
.avx-chip.is-active{background:var(--accent);border-color:var(--accent);color:#101010}
.avx-admin-list{display:grid;gap:12px;min-width:0}
.avx-admin-card{border:1px solid var(--line2);border-radius:15px;background:var(--panel);padding:19px;min-width:0}
.avx-admin-card-body{min-width:0;overflow-wrap:anywhere}
.avx-admin-card strong{font-size:14px;display:block;margin-bottom:6px}
.avx-admin-card p{font-size:12px;line-height:1.75;color:var(--muted);margin:8px 0}
.avx-admin-card p b{color:var(--text)}
.avx-admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.avx-admin-actions .button{font-size:12px;padding:10px 13px;min-height:38px}
.avx-inline-link{color:var(--accent);font-weight:800;text-decoration:underline}
.avx-filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.avx-filter-row label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}
.avx-metric{color:var(--muted);font-size:13px;margin:0 0 17px}
.avx-metric strong{font-size:20px;color:var(--text);margin:0 5px}
.avx-empty{padding:25px;border:1px dashed var(--line2);border-radius:15px;color:var(--muted);text-align:center}
.avx-report-message{white-space:pre-wrap;overflow-wrap:anywhere}
.avx-profile-tools .button{padding:9px 13px}
.avenyxo-player{position:relative!important;display:block!important;background:#000;overflow:hidden}
.avenyxo-player video{display:block;width:100%;height:100%;object-fit:contain;background:#000;cursor:pointer}
.avenyxo-player-controls{position:absolute;inset:auto 0 0;padding:25px 16px 12px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(transparent,#000d 55%,#000e);color:#fff;opacity:1;transition:opacity .2s;z-index:2}
.avenyxo-timeline{width:100%}
.avx-seek{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px;margin:0;border:0;border-radius:99px;background:linear-gradient(90deg,#9DFF00 var(--progress,0%),#9998 var(--progress,0%));cursor:pointer}
.avx-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;background:#9DFF00;border-radius:50%;border:2px solid #fff}
.avx-seek::-moz-range-thumb{width:11px;height:11px;background:#9DFF00;border-radius:50%;border:2px solid #fff}
.avx-control-row{display:flex;align-items:center;gap:10px;min-width:0;min-height:37px}
.avx-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;background:transparent;color:#fff;border:0;border-radius:8px}
.avx-icon:hover,.avx-icon:focus-visible{background:#ffffff29}
.avx-icon svg{width:19px;height:19px}
.avx-time{margin-right:auto;white-space:nowrap;font:700 11px ui-monospace,SFMono-Regular,monospace;color:#fafafa}
.avx-volume{width:75px;accent-color:#9DFF00}
.avx-speed-label{display:flex;gap:5px;align-items:center;color:#fff;font-size:11px}
.avx-speed{background:#111c;color:#fff;border:1px solid #9998;border-radius:8px;padding:5px 6px;font-size:11px}
.avenyxo-player [hidden]{display:none!important}
@media(max-width:640px){
 .avx-control-row{gap:3px;min-height:34px}
 .avx-icon{width:32px;height:32px;flex-basis:32px}
 .avx-icon svg{width:17px;height:17px}
 .avx-volume{display:none}
 .avx-speed-label{font-size:0}
 .avx-speed{font-size:10px;padding:5px 3px}
 .avx-time{font-size:10px}
 .avenyxo-player-controls{padding:20px 7px 6px;gap:7px}
 .avx-admin-card{padding:14px}
 .avx-admin-card .button{flex:1 1 auto}
 .avx-filter-row{flex-direction:column;align-items:stretch}
 .avx-filter-row label{justify-content:space-between}
 .avx-filter-row select{flex:1}
}
html[data-theme="light"]{
 --bg:#F6F8FA;--panel:#FFFFFF;--panel2:#EEF1F4;--surface:#E8EDF1;--line:#DDE3E8;--line2:#CED6DE;
 --text:#161D24;--muted:#586470;--dim:#71808D;--shadow:0 16px 45px #23334814;color-scheme:light
}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] :is(.sidebar,.mobile-drawer-sheet,.bottom-nav,.topbar){background:#FFFFFFF5;border-color:#E0E5EA}
html[data-theme="light"] :is(.brand,.nav-link,.section-head h2,.page-heading h1,.watch-title,.watch-channel-row strong,.channel-titles h1,.studio-thumb strong,.next-panel h2,.modal-head h2,.empty-state strong,.video-card-title,.related-title,.profile-avatar,.avx-admin-card strong){color:#161D24}
html[data-theme="light"] :is(.nav-link.active,.nav-link:hover,.channel-chip,.pill,.stat-card,.next-panel,.next-card,.avx-admin-card,.watch-description,.watch-related,.studio-table,.modal,.search-box,.sidebar-card,.empty-state,.hero,.studio-row.studio-header,.mobile-menu-links .nav-link:hover){background:#FFFFFF;color:#222B33;border-color:#DCE3EA}
html[data-theme="light"] :is(.form-control,.search-box input,.comment-form input,.select,.next-panel input,.next-panel textarea,.next-panel select){background:#F7F9FB;color:#18232D;border-color:#CED6DE}
html[data-theme="light"] :is(.button-secondary,.button-ghost,.icon-button,.avx-chip,.file-drop){background:#EDF1F5;color:#17222D;border-color:#CDD5DE}
html[data-theme="light"] :is(.video-meta,.stat-label,.channel-titles p,.channel-titles small,.section-head p,.page-heading p,.watch-description,.comment-entry p,.comment-entry time,.help-text,.inline-notice,.sidebar-card span,.next-card p,.next-muted,.avx-admin-card p){color:#566372}
html[data-theme="light"] .hero{background:linear-gradient(125deg,#FFFFFF,#EEF4E7);box-shadow:0 10px 28px #0000000A}
html[data-theme="light"] .hero h1{color:#172029}
html[data-theme="light"] .hero h1 em{color:#609D00}
html[data-theme="light"] .watch-description strong{color:#111A22}
html[data-theme="light"] .comment-entry h4{color:#1C2630}
html[data-theme="light"] .studio-row{border-color:#DDE3E8}
html[data-theme="light"] .modal-backdrop{background:#2A364866}
html[data-theme="light"] .sidebar-divider{background:#DDE3E8}
html[data-theme="light"] .microcopy{color:#71808D}
html[data-theme="light"] .pill.active,html[data-theme="light"] .avx-chip.is-active{background:#9DFF00;color:#101810;border-color:#9DFF00}
html[data-theme="light"] .button-primary{background:#9DFF00;color:#111D0A}
html[data-theme="light"] .profile-avatar{background:#DCECA7}
html[data-theme="light"] .player,html[data-theme="light"] .avenyxo-player{background:#000}


/* Separate account actions into vertically stacked rows. */
.avx-profile-account-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:14px}
.avx-profile-account-actions>div{display:block;width:100%}
.avx-profile-account-actions .link-button{display:inline-flex;align-items:center;gap:8px;min-height:36px;margin:0;max-width:100%;white-space:normal;text-align:left}

/* Avatar polish: photo avatars stay perfectly circular on all screen sizes.
   Uploaded photos have no lime square or synthetic background behind them. */
.account-avatar,
.profile-avatar,
.video-info .profile-avatar,
.profile-avatar.large,
.channel-head .profile-avatar {
  border-radius: 50% !important;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
}
.account-avatar.has-photo,
.account-avatar:has(> img) {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
.account-avatar > img,
img.profile-avatar {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}
.account-avatar:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Identity and password settings, responsive & consistent with Avenyxo. */
.account-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.account-settings-grid .next-panel{margin:0;min-width:0}
.account-setting-card h2{margin-bottom:12px}
.account-hint{color:var(--muted);font-size:12px;line-height:1.65;margin:12px 0 17px}
.account-inline-status{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:var(--muted);font-size:12px}
.account-verified{color:var(--accent);font-weight:800}
.auth-brand{display:inline-flex;align-items:center;gap:8px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.5px;font-size:19px;color:var(--text);margin:-2px 0 4px}
.auth-brand svg{color:var(--accent)}
.auth-sub{color:var(--muted);font-size:13.5px;margin:0 0 22px}
.modal .form-group{margin-bottom:16px}
.modal .form-control{min-height:52px;border-radius:14px;font-size:15px;transition:border-color .15s,box-shadow .15s}
.modal .form-control:focus{border-color:var(--accent);box-shadow:0 0 0 3px #9DFF0022;outline:none}
.pw-field{position:relative;display:flex;align-items:center}
.pw-field .form-control{padding-right:70px}
.pw-toggle{position:absolute;right:10px;background:none;border:0;color:var(--muted);font-size:12px;font-weight:800;padding:8px;cursor:pointer;letter-spacing:.3px}
.pw-toggle:hover{color:var(--text)}
.auth-submit{width:100%;min-height:54px;font-size:15px;border-radius:14px;margin-top:6px;box-shadow:0 10px 30px #9DFF0022}
.auth-submit:hover{background:var(--accent2)}
.auth-or{display:flex;align-items:center;gap:14px;margin:20px 0}
.auth-or span{flex:1;height:1px;background:var(--line2)}
.auth-or small{color:var(--muted);font-size:12px;letter-spacing:.5px}
.apple-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#fff;color:#000;border:0;border-radius:14px;min-height:54px;font-size:15px;font-weight:700;cursor:pointer;transition:transform .15s,opacity .15s}
.apple-button:hover{transform:translateY(-1px);opacity:.92}
.modal .form-footer{margin-top:22px;justify-content:center;gap:6px}
html[data-theme="light"] .apple-button{background:#000;color:#fff}
html[data-theme="light"] .modal .form-control:focus{box-shadow:0 0 0 3px #9DFF0033}
.account-unverified{color:#EFB774;font-weight:800}
.account-form-error{color:#FFB8A7;font-size:12px;font-weight:700}
.account-form-error:not(:empty){border:1px solid #9A4A49;padding:10px 12px;border-radius:12px;background:#421F23}
.account-foot{padding:22px 2px;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.account-foot code{font-family:ui-monospace,monospace;overflow-wrap:anywhere}
.account-admin-actions{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.account-admin-actions>.button{justify-self:start}
@media(max-width:1020px){.account-settings-grid{grid-template-columns:1fr}}
@media(max-width:520px){.account-settings-grid{gap:12px}.account-setting-card{padding:17px}.account-setting-card>.button,.account-setting-card form>.button{width:100%}.account-admin-actions>.button{width:100%}}

/* Watch-page creator identity: prevent img.profile-avatar from inheriting 100% dimensions
   from its unconstrained parent anchor (which used the original image's natural size). */
.watch-channel-row > a:first-child {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}
.watch-channel-row > a:first-child > .profile-avatar,
.watch-channel-row > a:first-child > img.profile-avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex: 0 0 44px;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center;
}
.watch-channel-row .channel-description { min-width: 0; }
@media (max-width: 600px) {
  .watch-channel-row > a:first-child,
  .watch-channel-row > a:first-child > .profile-avatar,
  .watch-channel-row > a:first-child > img.profile-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-basis: 40px;
  }
}


/* Premium Avenyxo Player 2 · SVG controls, smooth buffering and verified quality menu. */
.avenyxo-player{position:relative!important;isolation:isolate;background:#060606!important}
.avenyxo-player video{background:#070707;object-fit:contain!important;outline-offset:-4px}
.avenyxo-player .avx-ui{position:absolute;inset:0;z-index:5;pointer-events:none;color:#fff;font-family:Manrope,system-ui,sans-serif}
.avenyxo-player .avx-ui :is(button,input){font-family:inherit}
.avx-player-gradient{position:absolute;inset:auto 0 0;height:116px;background:linear-gradient(to top,rgba(0,0,0,.92),rgba(0,0,0,.55) 55%,transparent);pointer-events:none;z-index:0}
.avx-player-bottom{position:absolute;bottom:0;left:0;right:0;padding:13px 17px 12px;z-index:2;pointer-events:auto;transition:opacity .2s ease,transform .2s ease}
.avx-is-playing:not(.avx-controls-visible) .avx-player-bottom{opacity:0;transform:translateY(8px);pointer-events:none}
.avx-control-row-2,.avx-control-left,.avx-control-right,.avx-volume-group{display:flex;align-items:center;min-width:0}
.avx-control-row-2{justify-content:space-between;gap:12px;height:39px;margin-top:10px}
.avx-control-left{gap:8px}
.avx-control-right{gap:4px;margin-left:auto}
.avx-volume-group{gap:5px}
.avx-control-button{width:38px;height:38px;flex:0 0 38px;padding:0;display:grid;place-items:center;border:1px solid transparent;border-radius:11px;background:transparent;color:#fff;cursor:pointer;touch-action:manipulation;transition:background .16s,border-color .16s,transform .16s}
.avx-control-button>svg{width:20px;height:20px;display:block}
.avx-control-button:hover,.avx-control-button:focus-visible{background:#fff2;border-color:#fff2}
.avx-control-button:active{transform:scale(.93)}
.avx-control-button:disabled{opacity:.28;cursor:not-allowed}
.avx-control-button:disabled:hover{background:transparent;border-color:transparent}
.avx-control-button[aria-pressed="true"]{color:#9DFF00}
.avx-control-button.avx-loop.is-active{color:#9DFF00;background:#9DFF0022;border-color:#9DFF0066}
.avx-volume-2{width:74px;height:4px;accent-color:#9DFF00;cursor:pointer}
.avx-playback-time{font:600 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;letter-spacing:.1px;color:#fff}
.avx-time-separator{color:#b9b9b9}
.avx-quality-chip{font:800 10px/1.2 ui-monospace,SFMono-Regular,monospace;white-space:nowrap;letter-spacing:.25px;color:#caff85;border:1px solid #9dff0060;background:#151b14bd;border-radius:7px;padding:7px 8px}
.avx-progress-wrap{width:100%;position:relative;display:flex;align-items:center;height:16px;pointer-events:auto}
.avx-seek-2{display:block;width:100%;height:5px;margin:0;border:0;appearance:none;-webkit-appearance:none;outline:none;border-radius:999px;cursor:pointer;transition:height .16s;background:linear-gradient(to right,#9DFF00 0 var(--played,0%),#d6d6d69b var(--played,0%) var(--buffered,0%),#ffffff45 var(--buffered,0%) 100%)}
.avx-progress-wrap:hover .avx-seek-2,.avx-progress-wrap:focus-within .avx-seek-2{height:7px}
.avx-seek-2::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#9DFF00;width:15px;height:15px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #0005}
.avx-seek-2::-moz-range-thumb{background:#9DFF00;width:11px;height:11px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #0005}
.avx-seek-tooltip{position:absolute;left:0;bottom:calc(100% + 5px);transform:translateX(-50%);opacity:0;pointer-events:none;background:#1a201a;border:1px solid #9DFF0050;padding:5px 8px;border-radius:7px;color:#fff;font:700 11px/1.3 ui-monospace,monospace;transition:opacity .13s}
.avx-progress-wrap:hover .avx-seek-tooltip,.avx-progress-wrap:focus-within .avx-seek-tooltip{opacity:1}
.avx-center-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:70px;height:70px;border:1px solid #ffffff4b;border-radius:50%;background:linear-gradient(155deg,#232923dc,#0e140edc);color:#9DFF00;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:grid;place-items:center;pointer-events:auto;box-shadow:0 14px 40px #0007,0 0 0 6px #0003;cursor:pointer;z-index:1;transition:opacity .18s,scale .18s}
.avx-center-play svg{width:33px;height:33px;margin:0;display:block}
.avx-center-play:hover{scale:1.06}
.avx-is-playing .avx-center-play{opacity:0;pointer-events:none}
.avx-loading{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;background:#101610d9;color:#fff;border:1px solid #ffffff22;padding:12px 17px;border-radius:12px;font-size:12px;font-weight:700;z-index:3;pointer-events:none;backdrop-filter:blur(8px)}
.avx-loading[hidden]{display:none!important}
.avx-loader{border:2px solid #ffffff50;border-top-color:#9DFF00;width:17px;height:17px;border-radius:50%;animation:avx-spin .7s linear infinite}
@keyframes avx-spin{to{transform:rotate(360deg)}}
.avx-player-menu{position:absolute;right:15px;bottom:76px;z-index:7;width:min(290px,calc(100% - 30px));max-height:calc(100% - 90px);overflow:auto;overscroll-behavior:contain;pointer-events:auto;background:#151a17ed;border:1px solid #ffffff25;border-radius:15px;box-shadow:0 20px 50px #000b;color:#fff;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.avx-player-menu[hidden]{display:none!important}
.avx-menu-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 16px 12px}
.avx-menu-head strong{font-size:13px;letter-spacing:.1px}
.avx-menu-head span{font-size:9px;letter-spacing:1.8px;font-weight:850;color:#9DFF00}
.avx-menu-tabs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff15;border-bottom:1px solid #ffffff15;padding:4px}
.avx-menu-tabs button{border:0;background:transparent;color:#aab1ab;font-size:12px;font-weight:800;padding:11px 9px;border-radius:9px;cursor:pointer}
.avx-menu-tabs button.is-active{background:#9DFF00;color:#152010}
.avx-menu-items{padding:5px;display:grid;gap:2px}
.avx-menu-item{border:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:11px 12px;border-radius:9px;cursor:pointer;background:transparent;color:#f0f2f0}
.avx-menu-item:hover,.avx-menu-item:focus-visible{background:#ffffff17}
.avx-menu-item.is-active{background:#9DFF001c;color:#bfff79}
.avx-menu-item span{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.avx-menu-item strong{font-weight:800;font-size:12px}
.avx-menu-item small{font-weight:500;font-size:10px;color:#a8b0a8;white-space:normal}
.avx-menu-item svg{width:18px;height:18px;flex:0 0 18px;color:#9DFF00}
.avx-existing-qualities{display:grid;gap:8px;margin-bottom:16px}
.avx-existing-qualities>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:9px 12px;background:var(--panel2);border:1px solid var(--line);border-radius:12px}
.avx-existing-qualities strong{font-size:12px;color:var(--text)}
@media(max-width:640px){
 .avx-player-bottom{padding:7px 8px 5px}
 .avx-control-row-2{gap:3px;margin-top:4px;height:32px}
 .avx-control-left{gap:2px}
 .avx-control-right{gap:0}
 .avx-control-button{width:32px;height:32px;flex-basis:32px;border-radius:8px}
 .avx-control-button svg{width:18px;height:18px}
 .avx-volume-2{width:42px}
 .avx-playback-time{font-size:10px}
 .avx-quality-chip{font-size:9px;padding:6px 4px}
 .avx-center-play{width:54px;height:54px}
 .avx-center-play svg{width:26px;height:26px}
 .avx-player-menu{bottom:52px;right:7px;max-height:calc(100% - 60px)}
 .avx-player-gradient{height:81px}
}
@media(max-width:520px){
 .avx-quality-chip{display:none}
 .avx-volume-2{display:none}
 .avx-control-button{width:30px;height:30px;flex-basis:30px}
 .avx-player-bottom{padding:5px 6px 3px}
}
@media(max-width:400px){
 .avx-playback-time{font-size:9px}
 .avx-pip{display:none}
 .avx-control-row-2{gap:0}
}
@media(prefers-reduced-motion:reduce){
 .avx-loader{animation:none}
 .avx-player-bottom,.avx-control-button,.avx-center-play{transition:none}
}

/* Web player geometry: always center the play/pause control in the full video
   container, not in the controls bar or the video's letterboxed image. */
.avenyxo-player .avx-ui {
  position: absolute !important;
  inset: 0 !important;
  width: 100%;
  height: 100%;
  transform: none !important;
}
.avenyxo-player .avx-ui > .avx-center-play {
  position: absolute !important;
  top: 50% !important;
  left: calc(50% - 6px) !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center center;
  margin: 0 !important;
}
.avenyxo-player .avx-ui > .avx-center-play svg {
  display: block;
  margin: 0 !important;
  transform: none;
}
/* The focused search input retains its caret, without neon ring or glow. */
.search-box:focus-within,
.search-box:has(input:focus-visible) {
  border-color: #303030 !important;
  outline: none !important;
  box-shadow: none !important;
}
.search-box input:is(:focus, :focus-visible),
#search-input:is(:focus, :focus-visible) {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}
html[data-theme="light"] .search-box:focus-within,
html[data-theme="light"] .search-box:has(input:focus-visible) {
  border-color: #DCE3EA !important;
}

/* Seamless full-width search composer: floating text, no inner field or ring. */
.search-box {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.search-box input,
#search-input,
html[data-theme="light"] .search-box input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}
.search-box:focus-within,
.search-box:has(input:focus-visible),
html[data-theme="light"] .search-box:focus-within,
html[data-theme="light"] .search-box:has(input:focus-visible) {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
html[data-theme="light"] .search-box {
  background: transparent;
  border: 0;
}

/* Website wordmark uses only the lightning silhouette: no white tile or icon frame. */
.brand-symbol{width:33px;height:33px;display:grid;place-items:center;flex:0 0 33px;color:var(--accent);filter:none;background:transparent;border:0;border-radius:0;box-shadow:none}
.brand-symbol svg{display:block;width:100%;height:100%;fill:currentColor;overflow:visible}
@media(max-width:900px){.mobile-brand .brand-symbol{width:27px;height:27px;flex-basis:27px}}

/* Light appearance: darker brand green remains readable on white/light surfaces.
   Keep neon-lime controls inside the dark video-player overlays unchanged. */
html[data-theme="light"]{--accent:#2B6B00;--accent2:#205400}
html[data-theme="light"] .brand-symbol{color:var(--accent)}
html[data-theme="light"] .button-primary,
html[data-theme="light"] .pill.active,
html[data-theme="light"] .avx-chip.is-active{background:var(--accent);border-color:var(--accent);color:#FFFFFF}
html[data-theme="light"] .button-primary:hover{background:var(--accent2);border-color:var(--accent2);color:#FFFFFF}
html[data-theme="light"] .sidebar .nav-link.active,
html[data-theme="light"] .mobile-menu-links .nav-link.active{background:#E8F2E2;color:var(--accent)}
html[data-theme="light"] .bottom-nav button.active{color:var(--accent)}
html[data-theme="light"] .account-avatar:not(.has-photo):not(:has(> img)){background:var(--accent);color:#FFFFFF}
html[data-theme="light"] .profile-avatar:not(img){background:#DCECCB;color:#224F0B}
html[data-theme="light"] .eyebrow-dot{box-shadow:0 0 0 2px #DDEBD3}
html[data-theme="light"] .auth-submit{box-shadow:0 9px 24px #2B6B0022}
html[data-theme="light"] .modal .form-control:focus{box-shadow:0 0 0 3px #2B6B0029}
html[data-theme="light"] ::selection{background:#2B6B0033;color:#173800}

/* Centered Avenyxo search composer with SVG magnifier. */
@media (min-width:901px){
  .topbar{display:grid;grid-template-columns:minmax(8px,1fr) minmax(0,520px) minmax(160px,1fr);gap:18px}
  .topbar>.search-box{grid-column:2;justify-self:center;width:100%;max-width:520px;margin:0;padding:0 12px;display:flex;gap:12px}
  .topbar>.top-actions{grid-column:3;justify-self:end;margin-left:0}
}
.search-box #search-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;color:#AAB8C6}
.search-box #search-icon svg{width:21px;height:21px;stroke-width:2;display:block}
.search-box #search-input{min-width:0;padding:0}
@media(max-width:900px){
  .topbar{display:flex;gap:10px}
  .topbar>.search-box{max-width:620px;width:100%;margin-inline:auto;padding-inline:12px;gap:9px;flex:1 1 0}
  .search-box #search-icon{flex-basis:20px}
  .search-box #search-icon svg{width:19px;height:19px}
}
html[data-theme="light"] .search-box #search-icon{color:#435E70}

/* Search composer v5: fixed 1px #111111 border, 15px corners, keyboard submit. */
.topbar>.search-box{
  height:44px;
  min-width:0;
  padding:0 6px 0 14px;
  border:1px solid #111111 !important;
  border-radius:15px;
  background:#252525;
  gap:10px;
}
.topbar>.search-box:focus-within,
.topbar>.search-box:has(input:focus-visible){
  border:1px solid #111111 !important;
  outline:none !important;
  box-shadow:none !important;
}
html[data-theme="light"] .topbar>.search-box,
html[data-theme="light"] .topbar>.search-box:focus-within,
html[data-theme="light"] .topbar>.search-box:has(input:focus-visible){
  border:1px solid #111111 !important;
  background:#FFFFFF;
}
.topbar .search-box input:focus-visible{
  outline:none !important;
  box-shadow:inset 0 -2px var(--accent) !important;
}
.topbar .search-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  align-self:center;
  min-height:32px;
  min-width:40px;
  border:1px solid transparent;
  border-radius:10px;
  padding:6px 9px;
  background:var(--accent);
  color:#111111;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.topbar .search-submit:hover{background:var(--accent2)}
.topbar .search-submit:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  box-shadow:0 0 0 2px #111111;
}
.topbar .search-submit-icon{display:block;width:19px;height:19px;flex:0 0 19px}
html[data-theme="light"] .topbar .search-submit{background:#2B6B00;color:#FFFFFF}
html[data-theme="light"] .topbar .search-submit:hover{background:#205400}
html[data-theme="light"] .topbar .search-submit:focus-visible{
  outline-color:#2B6B00;
  box-shadow:0 0 0 2px #FFFFFF;
}
@media(min-width:1200px){
  .topbar>.search-box{transform:translateX(-20%);}
}
@media(max-width:900px){
  .topbar>.search-box{
    transform:none;
    max-width:620px;
    width:100%;
    padding:0 6px 0 10px;
    gap:8px;
  }
}
@media(max-width:600px){
  .topbar>.search-box{padding:0 5px 0 9px;gap:6px}
  .topbar .search-submit{min-width:38px;min-height:36px;padding:7px}
  .topbar .search-submit-icon{display:block}
  .topbar>.search-box #search-icon{display:none}
}

/* Search v7: true black magnifier and 3px original-lime focus halo. */
/* Override the earlier generic grey rule on SVGs inside the search field. */
.topbar .search-submit .search-submit-icon{
  color:#000000 !important;
  stroke:#000000 !important;
}
html[data-theme="light"] .topbar .search-box #search-icon,
html[data-theme="light"] .topbar .search-box #search-icon svg{
  color:#000000 !important;
  stroke:#000000 !important;
}
/* The icon-only Search button uses the original Avenyxo lime in light mode. */
html[data-theme="light"] .topbar .search-submit{
  background:#9DFF00;
  color:#000000;
}
html[data-theme="light"] .topbar .search-submit:hover{
  background:#B8FF52;
  color:#000000;
}
/* Normal outer border stays #111111; clicking or tabbing in lights the full
   15px-radius composer with a 3px neon outline, in both themes. */
.topbar>.search-box:focus-within,
.topbar>.search-box:has(input:focus-visible),
html[data-theme="light"] .topbar>.search-box:focus-within,
html[data-theme="light"] .topbar>.search-box:has(input:focus-visible){
  border:1px solid #111111 !important;
  border-radius:15px !important;
  outline:3px solid #9DFF00 !important;
  outline-offset:2px !important;
  box-shadow:none !important;
}
/* The common composer halo signals focus without a second competing ring
   around its compact submit button. */
.topbar .search-submit:focus-visible,
html[data-theme="light"] .topbar .search-submit:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}

/* Video feed actions: discrete options anchored to the thumbnail lower edge. */
.avx-card-thumb{position:relative}
.avx-card-thumb>.thumbnail{display:block}
.avx-feedback-menu{position:absolute;left:10px;bottom:10px;z-index:6}
.avx-feedback-menu summary{list-style:none;display:grid;place-items:center;width:35px;height:30px;border-radius:8px;border:1px solid #ffffff40;background:#151515db;color:#fff;cursor:pointer;font-weight:900;letter-spacing:2px;font-size:15px}
.avx-feedback-menu summary::-webkit-details-marker{display:none}
.avx-feedback-options{position:absolute;left:0;bottom:calc(100% + 7px);min-width:185px;display:grid;padding:6px;border:1px solid var(--line2);border-radius:12px;background:var(--panel);box-shadow:0 15px 40px #0006;z-index:40}
.avx-feedback-options button{color:var(--text);text-align:left;padding:10px 12px;border:0;border-radius:7px;background:transparent;white-space:nowrap;cursor:pointer}
.avx-feedback-options button:hover,.avx-feedback-options button:focus-visible{background:var(--surface);color:var(--text)}
.clip-item .avx-feedback-menu{position:relative;left:auto;right:auto;bottom:auto;align-self:center}
.clip-item .avx-feedback-options{bottom:calc(100% + 5px)}
.comment-replies{margin-top:8px;padding-left:16px;border-left:2px solid var(--line2)}
.comment-reply-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:7px}
.comment-reply-actions button{border:0;background:transparent;color:var(--accent);font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:3px 0}
.comment-reply-form{display:flex;gap:7px;margin-top:10px}.comment-reply-form input{flex:1;min-width:0;border-radius:8px;padding:8px 10px;border:1px solid var(--line2);background:var(--panel);color:var(--text)}
.comment-creator-heart{display:flex;align-items:center;gap:3px;margin-top:5px}.comment-creator-heart .profile-avatar{width:18px;height:18px;font-size:10px}.comment-creator-heart span:last-child{font-size:12px;color:#e74777}

/* Ensure native hidden state wins over flex layout on collapsed reply composers. */
.comment-reply-form[hidden],.comment-replies[hidden]{display:none!important}


/* Web social release: desktop collapsible sidebar + title-aligned feedback. */
.avx-sidebar-toggle{display:grid;flex:0 0 39px;width:39px;height:39px;place-items:center}
.avx-sidebar-toggle:hover{color:var(--accent);border-color:var(--accent)}
.sidebar-collapsed{--sidebar:78px}
.sidebar-collapsed #sidebar{padding-inline:10px}
.sidebar-collapsed #sidebar .brand{padding:0;justify-content:center;width:100%}
.sidebar-collapsed #sidebar .brand>span:last-child{display:none}
.sidebar-collapsed #sidebar :is(.sidebar-label,.sidebar-divider,.sidebar-bottom,.avx-sidebar-settings){display:none}
.sidebar-collapsed #sidebar .sidebar-scroll{padding-right:0}
.sidebar-collapsed #sidebar .sidebar-links{align-items:center;margin-top:17px}
.sidebar-collapsed #sidebar .nav-link{position:relative;width:54px;min-height:48px;padding:13px;justify-content:center}
.sidebar-collapsed #sidebar .nav-text{display:none}
.sidebar-collapsed #sidebar .avx-nav-count{position:absolute;right:1px;top:2px;font-size:9px;min-width:17px;height:17px;padding:2px 4px}
/* Navigation remains an accessible link, without a hand-shaped mouse pointer. */
#sidebar .nav-link,#sidebar .nav-link:hover{cursor:default}
.avx-nav-count{display:inline-grid;place-items:center;font-size:10px;font-weight:800;background:var(--accent);color:#111;border-radius:30px;min-width:20px;padding:4px 6px;margin-left:auto;line-height:1}
.avx-nav-count[hidden]{display:none!important}
.avx-bottom-count{position:absolute;top:4px;right:14px;min-width:16px;font-size:9px}
/* No rectangle around the three dots. Keep a sufficiently large touch target. */
.video-card .avx-feedback-menu{position:relative;left:auto;right:auto;top:auto;bottom:auto;z-index:6;flex:0 0 auto}
.video-card .avx-feedback-menu>summary{width:40px;height:40px;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;color:var(--text);font-size:19px;letter-spacing:1px}
.video-card .avx-feedback-menu>summary:is(:hover,:focus-visible){color:var(--accent);outline-offset:2px}
.video-card .avx-feedback-options{left:auto;right:0;top:calc(100% + 3px);bottom:auto;z-index:50}
.avx-video-meta-column{min-width:0;flex:1;position:relative}
.avx-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:8px;min-width:0}
.video-card .avx-title-row .video-card-title{min-width:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;max-height:3.2em;line-height:1.55;margin:0 0 4px;overflow-wrap:anywhere}
.video-card{position:relative}
.avx-title-tooltip{display:none;position:absolute;bottom:calc(100% + 8px);left:0;max-width:min(380px,90vw);width:max-content;z-index:20;background:var(--surface);border:1px solid var(--line2);box-shadow:0 16px 35px #0008;color:var(--text);font:600 12px/1.5 system-ui,sans-serif;padding:10px 12px;border-radius:8px;overflow-wrap:anywhere;pointer-events:none}
@media (hover:hover) and (min-width:901px){
 .video-card:hover .avx-title-tooltip,.video-card:focus-within .avx-title-tooltip{display:block}
}
@media(max-width:900px){.avx-sidebar-toggle{display:none}}


/* Activity notifications, private inbox and clip-sharing dialogs */
.avx-social-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:4px 0 22px}
.avx-social-head h1{margin:7px 0 4px;font:800 clamp(27px,3vw,34px) Manrope,system-ui;letter-spacing:-1px;color:var(--text)}
.avx-social-head p{margin:0;color:var(--muted);font-size:13px}
.avx-social-tabs{display:flex;gap:9px;margin-bottom:20px;flex-wrap:wrap}
.avx-social-tabs>a{display:inline-flex;align-items:center;gap:8px;background:var(--panel);color:var(--muted);font-size:13px;font-weight:750;padding:13px 20px;border:1px solid var(--line2);border-radius:12px}
.avx-social-tabs>a.active{background:var(--accent);border-color:var(--accent);color:#111}
.avx-social-tabs .avx-nav-count{margin-left:3px;background:#333;color:#fff}
.avx-activity-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;color:var(--muted);font-size:12px}
.avx-activity-list{border:1px solid var(--line2);border-radius:15px;background:var(--panel);overflow:hidden}
.avx-activity-row{display:flex;gap:15px;align-items:center;min-height:77px;padding:14px 18px;border-bottom:1px solid var(--line);color:var(--text)}
.avx-activity-row:last-child{border-bottom:0}
.avx-activity-row:is(:hover,:focus-visible){background:var(--surface)}
.avx-activity-row.unread{background:color-mix(in srgb,var(--accent) 6%,var(--panel))}
.avx-social-avatar{width:47px;height:47px;object-fit:cover;display:grid;place-items:center;flex:none;border-radius:50%;border:1px solid var(--line2);background:var(--surface);color:var(--text);font-size:17px;font-weight:800}
.avx-avatar-fallback{background:var(--accent);color:#111}
.avx-social-activity-icon{color:var(--accent)}
.avx-activity-content{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.avx-activity-content strong{font-size:13.5px;line-height:1.45;font-weight:700;color:var(--text)}
.avx-activity-content small{font-size:11px;color:var(--muted)}
.avx-unread-dot{height:8px;width:8px;flex:none;border-radius:50%;background:var(--accent)}
.avx-social-empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:13px;padding:70px 24px;color:var(--muted)}
.avx-social-empty svg{color:var(--accent)}
.avx-social-empty h2{margin:0;font:800 19px Manrope,system-ui;color:var(--text)}
.avx-social-empty p{max-width:420px;margin:0;line-height:1.65;font-size:13px}
.avx-social-error{padding:25px;border:1px solid var(--line2);border-radius:15px;background:var(--panel)}
.avx-social-error strong{color:var(--text)}
.avx-social-error p{color:var(--muted);font-size:13px;line-height:1.6}
.avx-chat-layout{display:grid;grid-template-columns:minmax(245px,315px) minmax(0,1fr);height:min(690px,calc(100dvh - 265px));min-height:390px;border:1px solid var(--line2);border-radius:15px;overflow:hidden;background:var(--panel)}
.avx-chat-list{display:flex;flex-direction:column;overflow-y:auto;border-right:1px solid var(--line2);min-width:0}
.avx-chat-list>h2{font:800 12px Manrope,system-ui;color:var(--muted);text-transform:uppercase;letter-spacing:1.2px;padding:2px 18px}
.avx-chat-search{padding:16px 14px 12px;border-bottom:1px solid var(--line)}
.avx-chat-search>label{display:block;color:var(--muted);font-size:11px;font-weight:800;margin-bottom:8px}
.avx-chat-search .form-control{min-height:41px}
.avx-people-results{display:grid;gap:3px;max-height:300px;overflow:auto}
.avx-person-result{display:flex;gap:10px;align-items:center;width:100%;padding:10px 7px;text-align:left;border:0;background:transparent;border-radius:10px;color:var(--text);cursor:pointer}
.avx-person-result:is(:hover,:focus-visible){background:var(--surface)}
.avx-person-result>.avx-social-avatar{height:37px;width:37px;font-size:13px}
.avx-person-result>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.avx-person-result strong{font-size:12px}
.avx-person-result small{font-size:10px;color:var(--muted)}
.avx-conversation{display:flex;align-items:center;gap:11px;padding:15px 14px;min-height:76px;border-bottom:1px solid var(--line);color:var(--text)}
.avx-conversation:is(:hover,:focus-visible),.avx-conversation.selected{background:var(--surface)}
.avx-conversation-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.avx-conversation-text strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avx-conversation-text small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avx-conversation-count{font:800 10px Manrope,system-ui;border-radius:20px;min-width:19px;padding:5px;background:var(--accent);color:#111;text-align:center}
.avx-chat-list-empty,.avx-no-results{padding:13px 14px;color:var(--muted);line-height:1.6;font-size:12px}
.avx-chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0}
.avx-chat-thread-head{display:flex;align-items:center;gap:12px;min-height:74px;padding:14px 20px;border-bottom:1px solid var(--line)}
.avx-chat-thread-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.avx-chat-thread-head strong{color:var(--text);font-size:14px}
.avx-chat-thread-head small{color:var(--muted);font-size:11px}
.avx-chat-back{display:none;align-items:center;justify-content:center;color:var(--text)}
.avx-chat-back svg{transform:rotate(180deg)}
.avx-chat-messages{display:flex;flex-direction:column;gap:10px;overflow-y:auto;flex:1;padding:20px;overscroll-behavior:contain;min-height:0}
.avx-message-row{display:flex}
.avx-message-row.mine{justify-content:flex-end}
.avx-message-row.theirs{justify-content:flex-start}
.avx-message{display:flex;flex-direction:column;gap:5px;max-width:min(76%,510px);min-width:70px;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:11px 13px;overflow-wrap:anywhere}
.avx-message-row.mine .avx-message{background:color-mix(in srgb,var(--accent) 18%,var(--panel));border-color:color-mix(in srgb,var(--accent) 45%,var(--line2))}
.avx-message p{font-size:13px;line-height:1.5;white-space:pre-wrap;margin:0;color:var(--text)}
.avx-message time{align-self:flex-end;font-size:10px;color:var(--muted)}
.avx-message-video{display:flex;gap:12px;align-items:center;color:var(--text)}
.avx-message-video img,.avx-message-video-placeholder{width:100px;aspect-ratio:16/9;object-fit:cover;flex:none;border-radius:8px;background:var(--bg);display:grid;place-items:center;color:var(--accent)}
.avx-message-video span:last-child{min-width:0;display:flex;flex-direction:column;gap:6px}
.avx-message-video strong{font-size:12px;line-height:1.45}
.avx-message-video small,.avx-message-unavailable{color:var(--muted);font-size:11px}
.avx-chat-compose{display:flex;gap:10px;align-items:center;padding:15px;border-top:1px solid var(--line)}
.avx-chat-compose input{min-width:0;flex:1;min-height:44px}
.avx-chat-compose button{min-height:44px}
.avx-share-intro{font-size:13px;color:var(--muted);margin-bottom:18px;line-height:1.6}
.avx-share-people{display:grid;gap:3px;max-height:300px;overflow:auto}
.avx-clip-send{min-height:44px}
@media(max-width:900px){
 .avx-chat-layout{height:min(680px,calc(100dvh - 260px))}
 .bottom-nav button{position:relative}
}
@media(max-width:700px){
 .avx-chat-layout{display:block;height:calc(100dvh - 290px);min-height:340px}
 .avx-chat-list{height:100%;border-right:0}
 .avx-chat-layout:not(.avx-has-chat)>.avx-chat-thread{display:none}
 .avx-chat-layout.avx-has-chat>.avx-chat-list{display:none}
 .avx-chat-layout.avx-has-chat>.avx-chat-thread{height:100%}
 .avx-chat-back{display:inline-flex}
 .avx-chat-messages{padding:14px}
 .avx-message{max-width:91%}
 .avx-activity-row{padding:13px;gap:10px}
 .avx-social-avatar{height:40px;width:40px}
}


/* Clips use the same borderless, title-aligned feedback menu as video cards. */
.avx-clip-title-row{width:min(100%,380px);margin:0 auto;position:relative;min-width:0}
.clip-item .avx-clip-title{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.55;max-height:3.2em;overflow-wrap:anywhere;text-align:left}
.avx-clip-title-row .avx-feedback-menu{position:relative;left:auto;right:auto;bottom:auto;top:auto;z-index:8}
.avx-clip-title-row .avx-feedback-menu>summary{width:40px;height:40px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--text);font-size:19px;letter-spacing:1px}
.avx-clip-title-row .avx-feedback-menu>summary:is(:hover,:focus-visible){color:var(--accent)}
.avx-clip-title-row .avx-feedback-options{left:auto;right:0;top:calc(100% + 4px);bottom:auto}
.video-card:is(:hover,:focus-within),.clip-item:is(:hover,:focus-within){z-index:6}
@media(hover:hover) and (min-width:901px){
 .avx-clip-title-row:hover>.avx-title-tooltip,.avx-clip-title-row:focus-within>.avx-title-tooltip{display:block}
}

/* E2EE inbox: neutral panels, tactile message reactions, no layout jumps. */
.avx-message-row[data-e2ee-message]{position:relative;gap:8px;align-items:flex-end}
.avx-e2ee-more{border:0;background:transparent;color:var(--muted,#999);font-size:14px;cursor:pointer;padding:8px 4px;min-width:30px}
.avx-e2ee-reactions{display:inline-flex;align-items:center;gap:3px;background:#242424;border:1px solid #363636;border-radius:99px;padding:3px 8px;margin:3px 0 0 8px;font-size:15px;box-shadow:0 2px 9px #0004;animation:avxReactionIn .2s ease-out both}
@keyframes avxReactionIn{from{transform:translateY(-7px) scale(.82);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
.avx-e2ee-emoji-picker{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px}
.avx-e2ee-emoji-picker button{background:#222;border:1px solid #333;border-radius:12px;font-size:26px;min-width:48px;min-height:48px;cursor:pointer;transition:transform .15s ease}
.avx-e2ee-emoji-picker button:hover{transform:scale(1.12)}
.avx-e2ee-options{display:flex;flex-wrap:wrap;gap:10px}
.avx-e2ee-verify{margin-left:auto;border:1px solid #383838;border-radius:10px;padding:7px 10px;background:#222;color:inherit;cursor:pointer;font-size:12px}
.avx-e2ee-warning{color:#aaa;font-size:13px}


/* Avenyxo workspace redesign — reference-inspired layout; native Avenyxo theme.
   Sidebar is a 0.3s animated icon rail. Activity/Inbox are list + detail panes.
   Overrides remain scoped to the social route; video player is untouched. */
@media (min-width:901px) {
  #sidebar {transition:width .3s cubic-bezier(.22,1,.36,1),padding .3s cubic-bezier(.22,1,.36,1)}
  .page-shell {transition:margin-left .3s cubic-bezier(.22,1,.36,1)}
  .sidebar-collapsed {--sidebar:76px}
  .avx-sidebar-head {display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:48px}
  .avx-sidebar-head .brand {padding:0 4px;width:auto;min-width:0;overflow:hidden;white-space:nowrap;transition:width .3s,opacity .3s}
  .avx-sidebar-head .brand>span:last-child {overflow:hidden;text-overflow:clip}
  .avx-sidebar-head .avx-sidebar-toggle {border:0;background:transparent;box-shadow:none;flex:none;width:37px;height:37px;border-radius:10px;transition:transform .3s cubic-bezier(.22,1,.36,1),color .2s}
  .avx-sidebar-head .avx-sidebar-toggle:hover {background:var(--surface)}
  .sidebar-collapsed .avx-sidebar-head {flex-direction:column-reverse;align-items:center;justify-content:flex-end;gap:15px}
  .sidebar-collapsed .avx-sidebar-head .brand{height:38px;padding:0;justify-content:center}
  .sidebar-collapsed .avx-sidebar-head .brand>span:last-child{display:none}
  .sidebar-collapsed .avx-sidebar-head .avx-sidebar-toggle{transform:rotate(180deg)}
  #sidebar .nav-link .nav-text {white-space:nowrap;overflow:hidden;max-width:176px;opacity:1;transition:opacity .18s ease,max-width .3s ease}
  .sidebar-collapsed #sidebar .nav-link .nav-text {display:inline-block!important;max-width:0;opacity:0}
  .sidebar-collapsed #sidebar .nav-link{width:52px;padding:13px 11px}
  .sidebar-collapsed #sidebar .sidebar-scroll{overflow-x:hidden}
  .avx-social-route .main-content{max-width:none;margin:0;padding:0!important;height:calc(100dvh - 78px);min-height:570px;overflow:hidden}
}
.avx-social-page{height:100%;min-height:0;display:flex;flex-direction:column;background:var(--bg)}
.avx-social-top{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:85px;flex:0 0 auto;padding:17px clamp(20px,2.8vw,35px);border-bottom:1px solid var(--line)}
.avx-social-title{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.avx-social-kicker{font-size:9px;letter-spacing:2px;color:var(--muted);font-weight:800}
.avx-social-switch{position:relative;z-index:15}
.avx-social-switch>summary{list-style:none;display:flex;align-items:center;gap:11px;min-height:39px;padding:0;border:0;background:none;color:var(--text);font:800 clamp(21px,2.2vw,27px) Manrope,system-ui;letter-spacing:-.7px;cursor:pointer}
.avx-social-switch>summary::-webkit-details-marker{display:none}
.avx-social-switch>summary>svg{color:var(--muted);transform:rotate(90deg);transition:transform .3s}
.avx-social-switch[open]>summary>svg{transform:rotate(-90deg);color:var(--accent)}
.avx-social-switch-menu{position:absolute;top:calc(100% + 9px);left:0;min-width:225px;padding:7px;border:1px solid var(--line2);border-radius:14px;background:var(--panel);box-shadow:0 18px 55px #0008;z-index:15;animation:avxSwitchAppear .16s ease-out}
@keyframes avxSwitchAppear{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.avx-social-switch-menu>a{display:flex;gap:12px;align-items:center;min-height:44px;padding:10px 12px;color:var(--text);font-size:13px;font-weight:750;border-radius:10px}
.avx-social-switch-menu>a:hover,.avx-social-switch-menu>a.selected{background:var(--surface)}
.avx-social-switch-menu>a.selected>svg{color:var(--accent)}
.avx-social-switch-menu>a>span{flex:1}
.avx-social-switch-menu>a>small{font-size:10px;background:var(--accent);color:#111;padding:3px 6px;border-radius:100px}
.avx-social-switch-menu>a>small[hidden]{display:none}
.avx-social-workspace,.avx-social-page .avx-chat-layout{flex:1;min-height:0;min-width:0;height:auto!important;max-height:none!important;display:grid;grid-template-columns:minmax(260px,32%) minmax(0,1fr);border:none;border-radius:0;overflow:hidden;background:var(--bg)}
.avx-social-list-pane,.avx-social-page .avx-chat-list{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--panel);border-right:1px solid var(--line);overflow:hidden}
.avx-list-heading{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:16px 21px 12px;border-bottom:1px solid var(--line)}
.avx-list-heading h2{font:800 16px Manrope,system-ui;letter-spacing:-.3px;margin:0 0 5px;color:var(--text)}
.avx-list-heading p{font-size:11px;color:var(--muted);margin:0}
.avx-list-count{display:grid;place-items:center;background:var(--surface);color:var(--muted);border:1px solid var(--line2);border-radius:8px;font-size:11px;font-weight:800;padding:6px 8px}
.avx-social-list-tools{flex:none;padding:10px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:flex-end}
.avx-read-all{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;color:var(--muted);font-size:11px;font-weight:750;padding:8px;border-radius:8px}
.avx-read-all:hover{background:var(--surface);color:var(--text)}
.avx-social-workspace .avx-activity-list{flex:1;min-height:0;overflow:auto;border:0;border-radius:0;background:transparent;overscroll-behavior:contain}
.avx-social-workspace .avx-activity-row{padding:16px 20px;min-height:90px;transition:background .18s}
.avx-social-workspace .avx-activity-row.avx-selected{background:var(--surface);box-shadow:inset 3px 0 0 var(--accent)}
.avx-social-workspace .avx-activity-row .avx-activity-content strong{font-size:12px}
.avx-social-detail-pane,.avx-social-page .avx-chat-thread{display:flex;min-width:0;min-height:0;flex-direction:column;background:var(--bg);overflow:hidden}
.avx-detail-header{display:flex;align-items:center;gap:12px;height:70px;min-height:70px;padding:0 28px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}
.avx-social-detail-empty{display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;gap:14px;text-align:center;padding:36px;color:var(--muted)}
.avx-social-detail-empty>svg{color:var(--accent);opacity:.85}
.avx-social-detail-empty h2{font:800 20px Manrope,system-ui;margin:0;color:var(--text)}
.avx-social-detail-empty p{font-size:13px;line-height:1.7;max-width:380px;margin:0}
.avx-activity-detail-card{width:min(640px,calc(100% - 50px));margin:32px auto;border:1px solid var(--line2);border-radius:15px;background:var(--panel);padding:25px;box-shadow:0 12px 40px #0002}
.avx-detail-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;background:var(--surface);border-radius:7px;color:var(--accent);font-size:11px;font-weight:800;margin-bottom:26px}
.avx-activity-detail-person{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.avx-activity-detail-person>div{display:flex;flex-direction:column;gap:4px}
.avx-activity-detail-person strong{font-weight:800;font-size:14px}
.avx-activity-detail-person small{font-size:11px;color:var(--muted)}
.avx-activity-detail-card h2{font:750 18px/1.5 Manrope,system-ui;letter-spacing:-.3px}
.avx-detail-date{font-size:12px;color:var(--muted);margin:18px 0 28px}
.avx-detail-open{display:inline-flex}
.avx-social-back{display:none;color:var(--text)}
.avx-social-page .avx-chat-list{height:auto!important}
.avx-social-page .avx-chat-search{flex:none;padding:14px 20px}
.avx-social-page .avx-chat-conversations{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.avx-social-page .avx-conversation{min-height:88px;padding:14px 19px}
.avx-social-page .avx-conversation.selected{box-shadow:inset 3px 0 0 var(--accent)}
.avx-social-page .avx-chat-thread-head{min-height:70px;height:70px;padding:12px 20px;flex:none}
.avx-social-page .avx-chat-messages{scroll-behavior:smooth}
@media (min-width:901px) and (max-width:1150px) {
  .avx-social-workspace,.avx-social-page .avx-chat-layout{grid-template-columns:minmax(240px,37%) minmax(0,1fr)}
  .avx-activity-detail-card{width:calc(100% - 35px);padding:18px}
}
@media (max-width:900px) {
  .avx-social-route .main-content{max-width:none;margin:0;padding:0!important;min-height:calc(100dvh - 71px - 66px);height:calc(100dvh - 71px - 66px);overflow:hidden}
  .avx-social-top{min-height:74px;padding:14px 18px}
  .avx-social-workspace,.avx-social-page .avx-chat-layout{height:auto!important;min-height:0!important;display:block;overflow:hidden}
  .avx-social-list-pane,.avx-social-page .avx-chat-list{height:100%!important}
  .avx-social-detail-pane,.avx-social-page .avx-chat-thread{height:100%!important}
  .avx-social-workspace:not(.avx-social-has-detail)>.avx-social-detail-pane{display:none}
  .avx-social-workspace.avx-social-has-detail>.avx-social-list-pane{display:none}
  .avx-social-back{display:inline-flex}
  .avx-activity-detail-card{width:calc(100% - 34px);margin:18px auto}
  .avx-social-page .avx-chat-layout:not(.avx-has-chat)>.avx-chat-thread{display:none}
  .avx-social-page .avx-chat-layout.avx-has-chat>.avx-chat-list{display:none}
  .avx-social-page .avx-chat-layout.avx-has-chat>.avx-chat-thread{display:flex}
}
@media (max-width:700px) {
  .avx-social-route .main-content{height:calc(100dvh - 71px - 72px)}
  .avx-social-top{padding:11px 16px}
  .avx-social-switch>summary{font-size:23px}
  .avx-social-workspace .avx-activity-row{padding:14px 13px}
}
@media (prefers-reduced-motion: reduce) {
  #sidebar,.page-shell,.avx-sidebar-head .avx-sidebar-toggle,#sidebar .nav-link .nav-text,.avx-social-switch>summary>svg{transition-duration:0s!important}
  .avx-social-switch-menu{animation:none}
}

/* Shared top-right notification bell. Preserve Upload video and the profile avatar. */
.avx-header-bell{position:relative;flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:transparent;border:1px solid transparent;color:var(--text);transition:background .2s,color .2s}
.avx-header-bell:hover,.avx-header-bell:focus-visible{background:var(--surface);color:var(--accent)}
.avx-header-bell .avx-header-unread{position:absolute;right:-4px;top:-5px;margin:0;padding:3px 5px;min-width:17px;min-height:17px;line-height:1;pointer-events:none;border:2px solid var(--bg);font-size:9px}
.avx-social-header-switch[hidden]{display:none!important}
/* Social routes use the top application bar as the Inbox/Activity switcher.
   Workspaces occupy all remaining room without a floating card. */
.avx-social-route .topbar{display:flex;justify-content:space-between;gap:14px}
.avx-social-route .topbar>.search-box{display:none}
.avx-social-header-switch{display:flex;align-items:center;flex:0 1 auto;min-width:0;z-index:2}
.avx-social-header-switch .avx-social-switch{min-width:0}
.avx-social-header-switch .avx-social-switch>summary{padding:7px 12px;border-radius:12px;font-size:21px;letter-spacing:-.55px;white-space:nowrap;transition:background .2s}
.avx-social-header-switch .avx-social-switch>summary:hover,.avx-social-header-switch .avx-social-switch[open]>summary{background:var(--surface)}
.avx-social-header-switch .avx-social-switch-menu{top:calc(100% + 7px);left:0}
.avx-social-route .topbar>.top-actions{grid-column:auto;justify-self:auto;margin-left:auto;flex-shrink:0}
.avx-social-route .main-content{padding:0!important;max-width:none}
.avx-social-error-page{padding:25px}
html[data-theme="light"] .avx-header-bell{color:var(--text)}
html[data-theme="light"] .avx-header-bell:hover{color:var(--accent)}
@media(max-width:900px){
 .avx-social-route .topbar>.mobile-brand{display:none}
 .avx-social-route .topbar{gap:8px}
 .avx-social-header-switch .avx-social-switch>summary{font-size:20px;padding:7px 5px}
 .avx-social-header-switch .avx-social-switch-menu{min-width:190px}
 .avx-header-bell{flex-basis:36px;width:36px;height:36px}
 .avx-social-route #header-upload{min-width:37px}
}
@media(max-width:370px){
 .avx-social-route .topbar{padding-inline:9px;gap:4px}
 .avx-social-route .topbar>.top-actions{gap:4px}
 .avx-social-header-switch .avx-social-switch>summary{font-size:18px;gap:5px}
}
@media(prefers-reduced-motion:reduce){
 .avx-header-bell,.avx-social-header-switch .avx-social-switch>summary{transition:none}
}

/* Flush social workspace: the conversation list must physically touch the sidebar
   rather than inherit centered-page spacing or a rounded floating card. */
body.avx-social-route .page-shell{min-width:0}
body.avx-social-route #content.main-content{
 width:100%;
 max-width:none;
 margin:0!important;
 padding:0!important;
 box-sizing:border-box;
 overflow:hidden;
}
body.avx-social-route #content>.avx-social-page{
 width:100%;
 max-width:none;
 margin:0;
 padding:0;
 border:0;
 border-radius:0;
 box-shadow:none;
}
body.avx-social-route #content .avx-social-workspace,
body.avx-social-route #content .avx-chat-layout{
 width:100%;
 max-width:none;
 min-width:0;
 margin:0!important;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
}
body.avx-social-route #content .avx-social-list-pane,
body.avx-social-route #content .avx-chat-list{
 margin:0;
 border-radius:0;
 box-shadow:none;
}

/* Social switcher aligned to the hand-drawn guide: 16px from the sidebar edge
   on desktop, with the workspace and mobile layout unchanged. Do not move the conversation workspace or mobile UI. */
@media (min-width:901px) {
 body.avx-social-route .topbar { padding-left:16px; }
 body.avx-social-route .avx-social-header-switch .avx-social-switch>summary { padding-left:0; }
}


/* Header notification popover; inherits Avenyxo's current dark/light theme. */
.avx-notification-anchor{position:relative;display:flex;align-items:center;flex:none}
.avx-header-bell[aria-expanded="true"]{background:var(--surface);color:var(--accent)}
.avx-notification-panel{position:absolute;top:calc(100% + 14px);right:-16px;z-index:40;display:flex;flex-direction:column;width:min(410px,calc(100vw - 24px));max-height:min(570px,calc(100dvh - 104px));background:var(--panel);border:1px solid var(--line2);border-radius:15px;box-shadow:0 22px 70px #0009;overflow:hidden;color:var(--text);animation:avxNotificationOpen .15s ease-out}
.avx-notification-panel[hidden]{display:none!important}
@keyframes avxNotificationOpen{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.avx-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:17px 18px;border-bottom:1px solid var(--line)}
.avx-notification-heading h2{margin:0;font:800 17px Manrope,system-ui;letter-spacing:-.4px}
.avx-notification-read-all{font-size:11px;font-weight:750;background:none;border:0;color:var(--accent);padding:8px;border-radius:8px;white-space:nowrap}
.avx-notification-read-all:hover{background:var(--surface)}
.avx-notification-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.avx-notification-item{display:flex;gap:12px;align-items:center;min-height:77px;padding:13px 17px;border-bottom:1px solid var(--line);color:var(--text);transition:background .14s}
.avx-notification-item:hover,.avx-notification-item:focus-visible{background:var(--surface)}
.avx-notification-item.unread{background:color-mix(in srgb,var(--accent) 5%,var(--panel))}
.avx-notification-item .avx-social-avatar{width:41px;height:41px;font-size:14px}
.avx-notification-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.avx-notification-copy strong{font-size:12px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.avx-notification-copy small{font-size:11px;color:var(--muted)}
.avx-notification-item .avx-unread-dot{flex:none}
.avx-notification-empty{min-height:275px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:32px 24px;text-align:center}
.avx-notification-empty>svg{color:var(--accent)}
.avx-notification-empty h3{margin:3px 0 0;font:800 18px Manrope,system-ui}
.avx-notification-empty p{max-width:290px;color:var(--muted);font-size:12px;line-height:1.7;margin:0}
.avx-notification-empty .button{margin-top:6px}
.avx-notification-view-all{display:flex;align-items:center;justify-content:center;min-height:49px;flex:none;border-top:1px solid var(--line);color:var(--accent);font-size:12px;font-weight:800;background:var(--panel)}
.avx-notification-view-all:hover,.avx-notification-view-all:focus-visible{background:var(--surface)}
@media(max-width:900px){
 .avx-notification-panel{position:fixed;top:calc(71px + 7px);right:10px;width:min(410px,calc(100vw - 20px));max-height:calc(100dvh - 160px)}
 .avx-notification-item{padding:12px 14px}
}
@media(max-width:700px){
 .avx-notification-panel{max-height:calc(100dvh - 154px)}
}
@media(prefers-reduced-motion:reduce){.avx-notification-panel{animation:none}.avx-notification-item{transition:none}}


/* Creator Studio / Originals: existing-video thumbnail replacement. */
.avx-cover-panel{border:1px solid var(--line2);background:var(--panel);border-radius:15px;padding:16px;margin-bottom:18px;display:grid;gap:12px}
.avx-cover-heading{display:flex;flex-direction:column;gap:4px}
.avx-cover-heading strong{font-size:14px;color:var(--text)}
.avx-cover-heading span{font-size:11px;color:var(--muted)}
.avx-cover-preview{width:100%;max-width:420px;aspect-ratio:16/9;border-radius:12px;border:1px solid var(--line2);overflow:hidden;background:var(--surface);display:grid;place-items:center}
.avx-cover-preview img{height:100%;width:100%;object-fit:cover}
.avx-cover-preview img[hidden],.avx-cover-preview div[hidden]{display:none}
.avx-cover-preview div{font-size:12px;color:var(--muted)}
.avx-cover-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.avx-cover-actions span{font-size:12px;color:var(--muted)}
.avx-originals-row{display:flex;align-items:center;gap:16px}
.avx-originals-row img{width:180px;max-width:42%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:1px solid var(--line2);background:var(--surface)}
.avx-originals-preview{width:100%;max-height:300px;aspect-ratio:16/9;object-fit:cover;background:var(--surface);border-radius:12px;border:1px solid var(--line2);margin:8px 0 16px}
.avx-originals-preview[hidden]{display:none}
@media(max-width:600px){.avx-originals-row{align-items:flex-start;flex-direction:column}.avx-originals-row img{width:100%;max-width:100%}}


/* Google OAuth: premium, theme-aware sign-in. Apple/email stay unchanged. */
.google-button{width:100%;min-height:54px;display:inline-flex;justify-content:center;align-items:center;gap:11px;padding:12px 20px;margin-bottom:9px;border-radius:14px;border:1px solid var(--line2);background:var(--panel2);color:var(--text);font-size:15px;font-weight:750;transition:background .2s,border-color .2s,transform .2s}
.google-button svg{flex:none;width:19px;height:19px}
.google-button:hover,.google-button:focus-visible{background:var(--surface);border-color:var(--accent);transform:translateY(-1px)}
.avx-google-account{margin-top:18px}
html[data-theme="light"] .google-button{background:#fff;color:#111;border-color:#dedede}
html[data-theme="light"] .google-button:hover{background:#f5f5f5}

/* Web auth buttons share one box model: Apple and Google are identical in size. */
#auth-form .apple-button,
#auth-form .google-button{
  box-sizing:border-box;
  width:100%;
  height:54px;
  min-height:54px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:14px;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
}
#auth-form .apple-button svg,
#auth-form .google-button svg{
  width:18px;
  height:18px;
  flex:0 0 18px;
}


/* 18+ confirmation is always readable with Avenyxo's active theme. */
.avx-age-accept{display:block;color:var(--text);font-size:12px;line-height:1.7;margin:12px 0 16px}
.avx-age-accept input{accent-color:var(--accent);margin-right:7px}
.avx-age-accept a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

/* Native-feeling multi-account switching: follows Avenyxo's active theme. */
#account-slot{display:flex;align-items:center;gap:5px}
.avx-switch-trigger{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;flex:none;
 border:1px solid var(--border,rgba(127,127,127,.25));color:var(--text,#f5f5f5);background:transparent;
 font-weight:800;font-size:19px;cursor:pointer}
.avx-switch-trigger:hover,.avx-switch-trigger:focus-visible{outline:2px solid var(--accent,#88ff2b);outline-offset:2px}
.avx-switch-help,.avx-switch-empty{font-size:13px;color:var(--muted,#999);line-height:1.6}
.avx-switch-list{display:grid;gap:8px;margin:18px 0;max-height:46vh;overflow-y:auto}
.avx-switch-account{display:flex;align-items:stretch;border:1px solid var(--border,rgba(127,127,127,.25));
 border-radius:15px;background:var(--panel,#171717);min-height:71px}
.avx-switch-account.active{border-color:var(--accent,#88ff2b)}
.avx-switch-select{display:flex;gap:12px;align-items:center;flex:1;text-align:left;padding:9px 12px;
 border:0;background:transparent;color:var(--text,#fff);min-width:0;cursor:pointer}
.avx-switch-select:disabled{cursor:default}
.avx-switch-avatar{width:44px;height:44px;border-radius:50%;background:#343434;display:grid;
 place-items:center;overflow:hidden;flex-shrink:0;color:#fff;font-size:20px;font-weight:650}
.avx-switch-avatar-img{width:100%;height:100%;object-fit:cover}
.avx-switch-names{min-width:0;display:grid;gap:2px}
.avx-switch-names strong,.avx-switch-names small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avx-switch-names strong{font-size:14px;font-weight:700}
.avx-switch-names small{font-size:12px;color:var(--muted,#999)}
.avx-switch-current,.avx-switch-select-text{margin-left:auto;color:var(--accent,#88ff2b);font-size:13px;font-weight:750}
.avx-switch-remove{border:0;border-left:1px solid var(--border,rgba(127,127,127,.2));
 background:transparent;color:var(--muted,#bbb);padding:0 16px;cursor:pointer;font-size:25px}
.avx-switch-remove:hover{color:#ff5e5e}
.avx-switch-actions{display:grid;gap:10px}
.avx-switch-actions .button{width:100%;justify-content:center}
.avx-switch-logout{background:transparent;color:var(--muted,#999);border:0;
 font-size:12px;cursor:pointer;padding:10px}
@media(max-width:520px){#account-slot{gap:3px}.avx-switch-trigger{width:30px;height:30px}}

/* Managed channels inherit Avenyxo's existing theme and 15px corners. */
.avx-managed-list{display:grid;gap:9px;margin:15px 0;max-height:42vh;overflow-y:auto}
.avx-managed-row{border:1px solid var(--border,rgba(127,127,127,.2));
 border-radius:15px;background:var(--panel,#171717);padding:14px;
 display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.avx-managed-meta{display:grid;min-width:0;gap:5px}
.avx-managed-meta strong{font-size:14px;color:var(--text,#fff);overflow-wrap:anywhere}
.avx-managed-meta small{font-size:12px;color:var(--muted,#aaa)}
.avx-managed-buttons{display:flex;gap:7px}
.avx-managed-buttons .button{min-width:66px}
.avx-managed-danger{color:#ff6565!important}
.avx-managed-new{display:flex;width:100%;margin-top:10px;justify-content:center}
.avx-managed-help{color:var(--muted,#aaa);font-size:13px;line-height:1.6}
@media(max-width:510px){.avx-managed-buttons{width:100%}.avx-managed-buttons .button{flex:1}}

/* Hashtag discovery – theme-linked cards, no unrelated color palette. */
.avx-inline-hashtag{color:var(--accent,#88ff2b);font-weight:650;text-decoration:none;text-underline-offset:3px}
.avx-inline-hashtag:hover,.avx-inline-hashtag:focus-visible{text-decoration:underline}
.avx-hashtag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.avx-hashtag-card{border:1px solid var(--border,rgba(127,127,127,.25));border-radius:15px;padding:19px;
 background:var(--panel,#171717);display:flex;align-items:flex-start;flex-direction:column;gap:8px;
 color:var(--text,#fff);text-decoration:none}
.avx-hashtag-card strong{font-size:19px;overflow-wrap:anywhere;color:var(--accent,#88ff2b)}
.avx-hashtag-card span{font-size:12px;color:var(--muted,#999)}
.avx-hashtag-card:hover,.avx-hashtag-card:focus-visible{border-color:var(--accent,#88ff2b);outline-offset:3px}
.avx-hashtag-origin{background:var(--panel,#171717);border:1px solid var(--border,rgba(127,127,127,.25));
 border-radius:15px;padding:18px;margin:18px 0 26px}
.avx-hashtag-origin strong{display:block;font-size:17px;margin-top:10px}
.avx-hashtag-origin p{color:var(--muted,#aaa);font-size:13px}
.watch-description{white-space:pre-line;overflow-wrap:anywhere}
