:root{--accent:#8b5cf6;--bg:#07080d;--panel:#10131b;--panel2:#171b25;--text:#f7f8fc;--muted:#9298a9;--line:#252a38;--shadow:0 20px 55px rgba(0,0,0,.2)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% -10%,rgba(139,92,246,.12),transparent 30%),var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif}a{text-decoration:none;color:inherit}button,input,select{font:inherit}.app-shell{display:flex;min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:245px;padding:25px 17px;background:rgba(9,11,16,.94);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;font-family:Outfit;font-size:18px;margin:0 8px 42px}.brand img{width:43px;height:43px;object-fit:contain}.brand b{letter-spacing:.5px}nav{display:grid;gap:7px}nav a,.side-bottom a,.side-bottom button{padding:13px 14px;border-radius:12px;color:#aeb4c4;display:flex;gap:12px;border:1px solid transparent;background:none;text-align:left;align-items:center}nav a:hover,nav a:focus,.side-bottom a:hover,.side-bottom button:hover{background:var(--panel2);color:#fff;border-color:#272c3a}.side-bottom{margin-top:auto;display:grid;gap:4px}.side-bottom button{width:100%}main{margin-left:245px;width:calc(100% - 245px);min-height:100vh;padding-bottom:70px}header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;position:sticky;top:0;background:rgba(7,8,13,.82);backdrop-filter:blur(18px);z-index:15;border-bottom:1px solid rgba(255,255,255,.05)}.search{width:min(540px,55vw);background:#11141d;border:1px solid var(--line);border-radius:13px;padding:11px 15px;display:flex;gap:10px;color:#777}.search input{background:none;border:0;outline:0;color:white;width:100%}.user-chip{display:flex;gap:9px;align-items:center;font-size:13px}.user-chip img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid #303546}.page{display:none;padding:34px 5%}.page.active{display:block}.app-hero{min-height:405px;border-radius:28px;overflow:hidden;position:relative;margin-bottom:22px;background:#141722;border:1px solid #282d3a;box-shadow:var(--shadow)}.app-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.48}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#080910 2%,#080910d9 30%,#08091050 68%,#080910 100%),linear-gradient(0deg,#080910 0%,transparent 30%)}.hero-copy{position:relative;z-index:2;padding:70px 62px;max-width:760px}.hero-copy small,.section-head small,.about-card small{letter-spacing:2px;color:var(--accent);font-weight:900}.hero-copy h1{font:900 clamp(42px,5.4vw,72px)/.98 Outfit;margin:14px 0}.hero-copy h1 b{color:#c3a9ff}.hero-copy p{color:#b2b7c5;line-height:1.7;max-width:590px}.hero-actions{display:flex;gap:10px;margin-top:25px;flex-wrap:wrap}.primary,.ghost,.secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:12px 18px;font-weight:800;border:1px solid transparent}.primary{background:var(--accent);color:#fff}.ghost{background:#161923aa;border-color:#353b4c;color:#fff}.secondary{background:#1a1e29;color:#fff;border-color:var(--line);margin-top:12px}.trust{display:flex;gap:18px;margin-top:25px;color:#8e95a6;font-size:10px;font-weight:800;letter-spacing:1px}.hero-brand{position:absolute;right:38px;bottom:34px;z-index:2;display:flex;gap:11px;align-items:center}.hero-brand img{width:54px;height:54px;object-fit:contain}.hero-brand strong,.hero-brand small{display:block}.hero-brand strong{font:800 17px Outfit}.hero-brand small{color:#989eae;font-size:10px;margin-top:3px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 38px}.stats-row>div{background:linear-gradient(135deg,#11141d,#0d1016);border:1px solid var(--line);border-radius:16px;padding:17px 18px}.stats-row b{display:block;font:900 27px Outfit;color:#fff}.stats-row span{display:block;color:#8e95a6;font-size:10px;margin-top:4px;text-transform:uppercase;letter-spacing:1px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:34px 0 19px;gap:18px}.section-head h2{font:800 30px Outfit;margin:5px 0}.section-head p{color:var(--muted);margin:0;line-height:1.5}.section-head>a{color:#c7b7ff;font-size:12px;font-weight:800}.category-strip{display:flex;gap:9px;overflow:auto;padding:2px 1px 8px}.cat-pill{min-width:max-content;background:#10131b;color:#aeb4c3;border:1px solid var(--line);border-radius:13px;padding:11px 14px;text-align:left}.cat-pill b{display:block;font-size:11px}.cat-pill small{display:block;color:#707789;margin-top:4px}.cat-pill.active{background:var(--accent);border-color:var(--accent);color:#fff}.cat-pill.active small{color:#eee}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:14px}.channel-card{background:linear-gradient(150deg,#11141c,#0d1016);border:1px solid var(--line);border-radius:17px;padding:14px;min-height:218px;position:relative;cursor:pointer;transition:.2s;overflow:hidden}.channel-card:hover{transform:translateY(-4px);border-color:#48415f;box-shadow:0 18px 35px rgba(0,0,0,.18)}.ch-logo{height:112px;border-radius:12px;background:#181b25;display:flex;align-items:center;justify-content:center;color:#656c7d;font-weight:900;overflow:hidden}.ch-logo img{width:100%;height:100%;object-fit:contain}.channel-card h3{font-size:14px;margin:13px 0 5px}.channel-card p{font-size:10px;color:#858c9d;margin:0}.fav{position:absolute;right:10px;top:10px;border:0;background:#080a0dcc;color:#aab0bf;border-radius:9px;padding:7px 8px;z-index:3}.fav.on{color:#ff5d9c}.watch{position:absolute;left:14px;top:14px;background:#291720;color:#ff7f99;padding:5px 7px;border-radius:7px;font-size:8px;font-weight:900;letter-spacing:.7px}.rotating-head{align-items:center}.timer-pill{background:#11141d;border:1px solid var(--line);padding:9px 12px;border-radius:999px;color:#9ba2b2;font-size:10px}.timer-pill b{color:#fff;margin-left:5px}.about-card{margin-top:44px;border:1px solid #302b42;border-radius:23px;padding:32px;background:radial-gradient(circle at 85% 10%,rgba(139,92,246,.2),transparent 40%),#10121a;display:grid;grid-template-columns:1.15fr .85fr;gap:35px}.about-card h2{font:800 34px Outfit;margin:8px 0}.about-card p{color:#9ea5b5;line-height:1.7}.about-points{display:grid;gap:10px;align-content:center}.about-points span{background:#181b25;border:1px solid #292e3b;padding:12px;border-radius:11px;color:#d9dce5;font-size:11px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.filters button{background:#11141c;color:#aeb2c0;border:1px solid var(--line);padding:9px 12px;border-radius:10px}.filters button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.filters small{opacity:.65}.radio-top{display:flex;gap:24px;align-items:center;background:linear-gradient(120deg,#171a25,#0e1016);border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:var(--shadow)}.radio-art{font-size:50px;width:90px;height:90px;border-radius:18px;display:grid;place-items:center;background:#202333;color:#d8c5ff}.radio-top h2{margin:8px 0}.radio-top small{color:var(--accent);font-weight:800}.radio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:20px}.radio-card{display:flex;gap:12px;align-items:center;text-align:left;background:var(--panel);color:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;transition:.2s}.radio-card:hover{transform:translateY(-2px);border-color:#49415e}.radio-logo{width:50px;height:50px;border-radius:12px;background:#191c26;display:grid;place-items:center;overflow:hidden;font-size:23px;color:#bda9ff;flex:none}.radio-logo img{width:100%;height:100%;object-fit:contain}.radio-card span{display:grid;gap:4px;min-width:0}.radio-card b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radio-card small{font-size:9px;color:#80889a}.radio-card i{margin-left:auto;font-style:normal;color:#a98fff}.replay-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.replay-block{background:#0d1016;border:1px solid var(--line);border-radius:18px;padding:18px}.subhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.subhead h3{font:700 18px Outfit;margin:0}.subhead span{font-size:9px;color:#777f91}.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.radio-history-card{display:flex;align-items:center;gap:10px;background:#11141c;border:1px solid #222735;border-radius:12px;padding:10px}.rh-icon{width:37px;height:37px;border-radius:9px;background:#1d192d;color:#c2aeff;display:grid;place-items:center}.radio-history-card div:nth-child(2){min-width:0;flex:1}.radio-history-card b,.radio-history-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radio-history-card b{font-size:10px}.radio-history-card small{font-size:8px;color:#6f7788;margin-top:3px}.radio-history-card button{border:0;border-radius:8px;background:var(--accent);color:#fff;padding:7px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px}.settings-card h3{font:700 22px Outfit;margin-top:0}.settings-card label{display:grid;gap:7px;color:#aaa;margin:15px 0}.settings-card input,.settings-card select{background:#0b0d13;border:1px solid var(--line);color:#fff;border-radius:10px;padding:11px}.settings-card form{display:grid;gap:10px}.check{display:flex!important;align-items:center}.check input{width:auto}.file-btn{display:inline-flex!important;align-items:center;justify-content:center;background:#181c27;border:1px dashed #3a4050;border-radius:11px;padding:12px;color:#cfd3df!important;cursor:pointer}.file-btn input{display:none}.upload-preview{max-width:90px;max-height:70px;border-radius:10px;object-fit:contain;background:#181b25}.upload-preview.large{max-width:130px}.custom-row{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:12px 0;color:#ddd}.custom-row span{min-width:0}.custom-row small{display:block;color:#777f90;font-size:9px;margin-top:3px}.custom-row button,.danger{border:1px solid #57313a;background:#2a171d;color:#ff9aaa;border-radius:9px;padding:8px 10px}.empty{grid-column:1/-1;padding:38px;border:1px dashed var(--line);border-radius:15px;text-align:center;color:var(--muted)}.mobile-only{display:none}@media(max-width:950px){aside{width:72px;padding:20px 10px}.brand b,nav span,.side-bottom span{display:none}.brand{margin:0 5px 35px}.brand img{width:45px}main{margin-left:72px;width:calc(100% - 72px)}.settings-grid,.replay-columns{grid-template-columns:1fr}.about-card{grid-template-columns:1fr}.stats-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){header{height:68px;padding:0 4%;gap:9px}.mobile-only{display:block;background:none;border:0;color:#fff;font-size:22px}.user-chip{display:none}.search{width:100%}.page{padding:22px 3%}.app-hero{min-height:450px}.hero-copy{padding:45px 25px}.hero-copy h1{font-size:38px}.hero-brand{right:20px;bottom:22px}.hero-brand img{width:42px;height:42px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.channel-card{padding:10px;min-height:190px}.ch-logo{height:88px}.stats-row{gap:8px}.stats-row>div{padding:13px}.compact{grid-template-columns:1fr}.radio-top{flex-direction:column;align-items:flex-start}.section-head{align-items:flex-start;flex-direction:column}.section-head h2{font-size:27px}.about-card h2{font-size:28px}}
html[data-accent="blue"]{--accent:#3b82f6}html[data-accent="red"]{--accent:#ef4444}html[data-accent="green"]{--accent:#22c55e}html[data-accent="gold"]{--accent:#d4a72c}

/* LMTV visual polish + footer/contact */
.page{max-width:1600px;margin:0 auto}
.section-head h2{letter-spacing:-.7px}
.home-contact-card{margin-top:28px;padding:28px 30px;border:1px solid #2a2f3d;border-radius:22px;background:linear-gradient(135deg,rgba(139,92,246,.13),rgba(17,19,27,.96) 48%,rgba(31,183,255,.08));display:flex;justify-content:space-between;align-items:center;gap:28px;box-shadow:0 20px 55px rgba(0,0,0,.18)}
.home-contact-card small{letter-spacing:2px;color:var(--accent);font-weight:900}.home-contact-card h2{font:800 27px Outfit;margin:6px 0}.home-contact-card p{color:#9fa6b7;line-height:1.65;max-width:720px;margin:0}.home-contact-links{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}.home-contact-links a{font-size:11px;padding:11px 14px}
.app-footer{margin-left:245px;padding:34px 5% 40px;border-top:1px solid #252a38;background:rgba(7,8,13,.92);display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;align-items:start}.footer-brand{display:flex;gap:12px;align-items:center}.footer-brand img{width:45px;height:45px;object-fit:contain}.footer-brand strong,.footer-brand span{display:block}.footer-brand strong{font:800 15px Outfit}.footer-brand span{font-size:10px;color:#777f91;margin-top:4px}.footer-contact{display:grid;gap:7px}.footer-contact strong{font-size:11px;letter-spacing:1px;color:#fff}.footer-contact a{font-size:11px;color:#aeb5c5}.footer-contact a:hover{color:#fff}.footer-legal{display:grid;gap:8px;text-align:right;color:#707889;font-size:10px;line-height:1.6}
@media(max-width:900px){.home-contact-card{display:block}.home-contact-links{justify-content:flex-start;margin-top:18px}.app-footer{margin-left:0;grid-template-columns:1fr 1fr}.footer-legal{text-align:left;grid-column:1/-1}}
@media(max-width:600px){.home-contact-card{padding:22px}.home-contact-card h2{font-size:23px}.app-footer{grid-template-columns:1fr;padding:28px 5%}.footer-legal{grid-column:auto}}

/* LMTV final layout polish */
.category-strip{scrollbar-width:none;overflow-x:auto;scroll-behavior:smooth;padding:4px 2px 10px;mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%)}
.category-strip::-webkit-scrollbar{display:none}
.cat-pill{width:118px;min-width:118px;height:112px;padding:10px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;flex:none;overflow:hidden}
.cat-pill img{width:100%;height:66px;object-fit:contain;border-radius:9px;background:#171a23;display:block}
.cat-pill span{display:block;width:100%;min-width:0}.cat-pill b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-pill small{font-size:8px;margin-top:2px}
.app-footer{width:calc(100% - 245px);margin-left:245px;box-sizing:border-box}
.footer-contact{grid-template-columns:1fr;display:grid}.footer-contact a{display:block}
.replay-columns{grid-template-columns:1fr!important;gap:18px}.replay-block{width:100%}
@media(max-width:900px){.app-footer{width:100%;margin-left:0}.cat-pill{width:106px;min-width:106px;height:100px}.cat-pill img{height:57px}}
@media(max-width:600px){.cat-pill{width:94px;min-width:94px;height:92px;padding:8px}.cat-pill img{height:50px}.cat-pill b{font-size:9px}.cat-pill small{font-size:7px}}

/* FINAL FOOTER FIX — footer is a full-width content block aligned with main */
.app-shell{display:block;min-height:100vh}
main{margin-left:245px;width:calc(100% - 245px);min-width:0}
.app-footer{display:grid;width:calc(100% - 245px);margin-left:245px;margin-right:0;box-sizing:border-box;clear:both}
@media(max-width:950px){
  main{margin-left:72px;width:calc(100% - 72px)}
  .app-footer{width:calc(100% - 72px);margin-left:72px}
}
@media(max-width:650px){
  main{margin-left:72px;width:calc(100% - 72px)}
  .app-footer{width:calc(100% - 72px);margin-left:72px;grid-template-columns:1fr;padding:28px 5%}
  .footer-legal{grid-column:auto}
}

/* LMTV — FOOTER FINAL: normal document flow, always at the end of the page */
.app-shell{display:block;min-height:100vh}
.app-shell>main{min-height:calc(100vh - 1px);margin-left:245px;width:calc(100% - 245px);padding-bottom:70px}
.app-shell>.app-footer{position:relative;left:auto;right:auto;bottom:auto;float:none;clear:both;display:grid;width:calc(100% - 245px);margin:0 0 0 245px;padding:38px 5% 42px;box-sizing:border-box}
@media(max-width:950px){
  .app-shell>main{margin-left:72px;width:calc(100% - 72px)}
  .app-shell>.app-footer{width:calc(100% - 72px);margin-left:72px}
}
@media(max-width:650px){
  .app-shell>main{margin-left:0;width:100%;padding-bottom:45px}
  .app-shell>.app-footer{width:100%;margin-left:0;grid-template-columns:1fr;padding:30px 5% 36px}
  .footer-legal{text-align:left;grid-column:auto}
}

/* MOBILE EXPERIENCE — drawer menu + compact responsive sizing */
.mobile-overlay{display:none}
.live-group{border:1px solid var(--line);border-radius:16px;background:rgba(16,19,27,.72);overflow:hidden;margin-bottom:10px}
.live-group-head{width:100%;border:0;background:none;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;text-align:left}
.live-cat-left{display:flex;align-items:center;gap:11px;min-width:0}.live-cat-left img{width:42px;height:42px;object-fit:contain;border-radius:9px;background:#171a23;flex:none}.live-cat-left b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-cat-right{display:flex;align-items:center;gap:10px;flex:none}.live-cat-right small{color:var(--muted);font-size:11px}.live-cat-right i{font-style:normal;font-size:18px;color:var(--accent)}
.live-group-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 12px 12px;border-top:1px solid rgba(255,255,255,.05)}
.live-group-list .channel-card{min-width:0}.search-live-results .section-head{margin-bottom:12px}

@media(max-width:950px){
  .app-shell{display:block}.app-shell>aside{position:fixed;left:0;top:0;bottom:0;width:285px;transform:translateX(-105%);transition:transform .25s ease;z-index:100;padding:20px 16px;box-shadow:20px 0 60px rgba(0,0,0,.45);overflow-y:auto}
  body.menu-open .app-shell>aside{transform:translateX(0)}
  body.menu-open{overflow:hidden}
  .mobile-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);z-index:90;opacity:0;pointer-events:none;transition:opacity .2s}
  body.menu-open .mobile-overlay{opacity:1;pointer-events:auto}
  .app-shell>aside .brand b,.app-shell>aside nav span,.app-shell>aside .side-bottom span{display:inline}
  .app-shell>aside .brand{margin:0 8px 35px}.app-shell>aside nav a,.app-shell>aside .side-bottom a,.app-shell>aside .side-bottom button{padding:12px 13px}
  main{margin-left:0!important;width:100%!important;min-width:0;padding-bottom:35px}
  .app-footer,.app-shell>.app-footer{width:100%!important;margin-left:0!important}
  header{height:64px;padding:0 12px;gap:8px}.mobile-only{display:flex!important;width:40px;height:40px;align-items:center;justify-content:center;flex:none;background:#11141d;border:1px solid var(--line);border-radius:11px;color:#fff;font-size:21px;cursor:pointer}.search{width:auto;flex:1;min-width:0;padding:9px 12px}.search input{font-size:13px}.page{padding:22px 16px;max-width:none}.app-hero{min-height:390px}.hero-copy{padding:34px 24px}.hero-copy h1{font-size:34px;line-height:1.05}.hero-copy p{font-size:13px;max-width:90%}.hero-actions{flex-wrap:wrap}.stats-row{grid-template-columns:repeat(2,1fr)}.category-strip{gap:8px}.cat-pill{width:100px;min-width:100px}.live-group-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  header{height:60px;padding:0 10px}.page{padding:18px 12px}.section-head{margin-bottom:14px}.section-head h2{font-size:24px;margin:3px 0}.section-head p{font-size:11px;line-height:1.45}.app-hero{min-height:365px;border-radius:18px}.hero-copy{padding:28px 18px}.hero-copy small{font-size:8px;letter-spacing:1.3px}.hero-copy h1{font-size:29px}.hero-copy p{font-size:12px}.hero-actions a{font-size:11px;padding:10px 12px}.trust{gap:7px;flex-wrap:wrap}.trust span{font-size:7px}.hero-brand{right:14px;bottom:14px}.hero-brand img{width:36px;height:36px}.hero-brand strong{font-size:11px}.hero-brand small{font-size:8px}.stats-row{gap:7px}.stats-row>div{padding:11px 8px;border-radius:12px}.stats-row b{font-size:20px}.stats-row span{font-size:9px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.channel-card{min-height:158px;padding:9px;border-radius:13px}.ch-logo{height:65px}.channel-card h3{font-size:11px}.channel-card p{font-size:8px}.channel-card .watch{font-size:7px}.channel-card .fav{width:24px;height:24px;font-size:12px}.category-strip{padding-bottom:6px}.cat-pill{width:88px;min-width:88px;height:86px;padding:7px}.cat-pill img{height:46px}.cat-pill b{font-size:8px}.cat-pill small{font-size:7px}.home-contact-card{padding:18px;border-radius:16px}.home-contact-card h2{font-size:21px}.home-contact-card p{font-size:11px}.home-contact-links{display:grid;grid-template-columns:1fr;gap:7px}.home-contact-links a{font-size:10px;text-align:center}.live-group-head{padding:10px 11px}.live-cat-left img{width:36px;height:36px}.live-cat-left b{font-size:12px}.live-cat-right small{font-size:9px}.live-group-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px 8px;gap:7px}.live-group-list .channel-card{min-height:145px}.radio-top{padding:14px}.settings-card{padding:16px}.app-footer{padding:25px 12px 30px!important}.footer-brand img{width:38px;height:38px}.footer-contact a{font-size:10px}
}


/* LMTV app responsive system: HD / 2K / 4K / Ultrawide / tablet / phone */
html,body{overflow-x:hidden}
.app-shell>main{width:calc(100% - 245px);max-width:none}
.page{width:100%;max-width:2100px;margin:0 auto;padding-left:clamp(22px,4vw,80px);padding-right:clamp(22px,4vw,80px)}
.app-hero{min-height:clamp(390px,31vw,610px)}
.app-hero>img{object-position:center;filter:saturate(1.05)}
.hero-copy{padding:clamp(38px,5vw,90px);max-width:900px}
.hero-copy h1{font-size:clamp(42px,4.3vw,84px)}
.grid{grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}
.live-group-list{grid-template-columns:repeat(5,minmax(0,1fr))}
.category-strip{gap:12px}
.cat-pill{width:138px;min-width:138px;height:128px}
.cat-pill img{height:77px}
@media(min-width:1800px){
  .live-group-list{grid-template-columns:repeat(6,minmax(0,1fr))}
  .grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:1200px){
  .live-group-list{grid-template-columns:repeat(4,minmax(0,1fr))}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:950px){
  .page{padding-left:24px;padding-right:24px}
  .app-hero{min-height:420px}.hero-copy{padding:42px 32px}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .live-group-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .page{padding:18px 14px}.app-hero{min-height:385px;border-radius:18px}
  .hero-copy{padding:30px 20px}.hero-copy h1{font-size:clamp(30px,9vw,44px)}
  .hero-copy p{font-size:12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .live-group-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .page{padding:14px 10px}.app-hero{min-height:360px}
  .hero-copy{padding:24px 16px}.hero-copy h1{font-size:29px}
  .grid{gap:7px}.channel-card{padding:8px}.ch-logo{height:72px}
  .cat-pill{width:92px;min-width:92px;height:90px}.cat-pill img{height:48px}
}

/* === LMTV responsive header + notifications === */
.header-actions{position:relative;display:flex;align-items:center}
.notification-btn,.search-icon-btn,.mobile-home-btn{border:0;background:transparent;color:#e9ebf4;cursor:pointer}
.notification-btn{position:relative;width:42px;height:42px;border-radius:12px;font-size:23px}
.notification-btn:hover{background:var(--panel2)}
.notification-count{position:absolute;top:4px;right:4px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#ef476f;color:#fff;font-size:9px;font-weight:900;display:grid;place-items:center}
.notification-panel{position:absolute;right:0;top:52px;width:min(390px,calc(100vw - 24px));max-height:70vh;overflow:auto;background:rgba(13,16,25,.98);border:1px solid #2b3040;border-radius:18px;box-shadow:0 25px 80px rgba(0,0,0,.45);z-index:100;padding:0}
.notification-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:rgba(13,16,25,.96);border-bottom:1px solid #252a38}
.notification-head button{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}
.notification-item{display:flex;gap:11px;padding:13px 15px;border-bottom:1px solid rgba(255,255,255,.06)}
.notification-item.read{opacity:.68}
.notification-icon{width:34px;height:34px;flex:none;border-radius:10px;background:rgba(139,92,246,.17);display:grid;place-items:center;color:#bca7ff;font-weight:900}
.notification-item b{font-size:12px}.notification-item p{margin:4px 0;color:#b9bfcd;font-size:11px;line-height:1.45}.notification-item small{font-size:9px;color:#72798b}
.notification-empty{padding:30px 18px;text-align:center;color:#858c9e;font-size:12px}
.search-icon-btn{width:30px;font-size:20px}
.mobile-home-btn{display:none}
.mobile-nav{display:none}
@media(max-width:760px){
  header{height:64px;padding:0 10px;gap:6px}
  header .search{width:auto;flex:1;max-width:none;padding:8px 8px}
  header .search input{display:none}
  header .search:focus-within input{display:block;width:100%;margin-left:4px}
  header .search:focus-within{flex:1}
  .search-icon-btn{width:34px}
  .mobile-home-btn{display:grid;width:38px;height:38px;border-radius:11px;background:var(--panel2);place-items:center;font-size:20px}
  .user-chip span{display:none}
  .user-chip{padding:4px}
  .notification-btn{width:38px;height:38px}
  .notification-panel{right:-8px;top:46px}
  .mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;height:62px;background:rgba(8,10,15,.96);border-top:1px solid var(--line);z-index:80;padding-bottom:env(safe-area-inset-bottom)}
  .mobile-nav a{display:grid;place-items:center;align-content:center;gap:2px;color:#969dad;font-size:18px}
  .mobile-nav a span{font-size:8px;font-weight:800}
  .mobile-nav a:active,.mobile-nav a:hover{color:#fff}
  main{padding-bottom:100px}
}

.notification-item-actions{display:flex;gap:6px;margin-top:7px}
.notification-item-actions button{border:1px solid #343a4b;background:#171b27;color:#d7dbea;border-radius:8px;padding:5px 8px;font-size:9px;font-weight:800;cursor:pointer}
.notification-item-actions button:hover{background:#282e40}

/* LMTV unified header: desktop centered search, mobile compact header */
.site-header{display:grid!important;grid-template-columns:auto 1fr minmax(300px,560px) 1fr auto auto;align-items:center;gap:14px;height:78px;padding:0 clamp(20px,3vw,54px);position:sticky;top:0;z-index:60;background:rgba(8,10,16,.86);backdrop-filter:blur(22px);border-bottom:1px solid rgba(255,255,255,.07)}
.header-logo{grid-column:2;display:flex;align-items:center;justify-content:flex-start;text-decoration:none}.header-logo img{width:48px;height:48px;object-fit:contain;display:block}
.site-header .search{grid-column:3;width:100%;max-width:560px;justify-self:center;display:flex;align-items:center;gap:7px}
.site-header .header-actions{grid-column:5}.site-header .user-chip{grid-column:6}
.site-header .search-icon-btn{display:grid;place-items:center;width:34px;height:34px;flex:none}.site-header .search-icon-btn svg,.notification-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.notification-btn{display:grid!important;place-items:center}.notification-btn svg{width:21px;height:21px}.user-chip img{object-fit:cover}
@media(max-width:950px){.site-header{grid-template-columns:40px 1fr 40px 40px 40px;gap:6px;height:64px;padding:0 10px}.menu-btn{grid-column:1}.header-logo{grid-column:2;justify-content:center}.header-logo img{width:39px;height:39px}.site-header .search{grid-column:3;grid-row:1;width:40px;justify-self:center;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.site-header .search input{display:none}.site-header .search:focus-within{position:absolute;left:52px;right:142px;width:auto;background:#11141d!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:8px!important}.site-header .search:focus-within input{display:block;min-width:0}.site-header .header-actions{grid-column:4}.site-header .user-chip{grid-column:5}.site-header .notification-btn{width:38px;height:38px}.site-header .user-chip{padding:3px}.site-header .user-chip img{width:34px;height:34px}.site-header .mobile-only{display:flex!important}.app-shell>main{padding-bottom:35px!important}}
@media(max-width:420px){.site-header{grid-template-columns:38px 1fr 38px 38px 38px;gap:4px;padding:0 7px}.header-logo img{width:35px;height:35px}.site-header .search:focus-within{left:48px;right:132px}.site-header .search-icon-btn{width:36px}.site-header .notification-btn,.site-header .user-chip{width:36px;height:36px}}
/* The old fixed bottom navigation is intentionally removed. */
.mobile-nav{display:none!important}

/* === Instant channel search dropdown === */
.search{position:relative;z-index:120}
.search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);max-height:min(62vh,520px);overflow:auto;background:rgba(12,15,23,.985);border:1px solid #2b3040;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.5);padding:7px;z-index:300}
.search-results[hidden]{display:none}
.search-result{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:8px;border:0;border-radius:11px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.search-result:hover,.search-result:focus{background:#191e2a;outline:none}
.search-result-logo{width:42px;height:42px;border-radius:10px;background:#181c27;border:1px solid #292f3e;display:grid;place-items:center;overflow:hidden;color:#bda9ff;font-size:10px;font-weight:900}
.search-result-logo img{width:100%;height:100%;object-fit:contain}
.search-result-copy{min-width:0;display:grid;gap:3px}.search-result-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-result-copy small{font-size:9px;color:#858da0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-result-arrow{color:#9e8aff;font-size:20px;text-align:center}.search-no-results{padding:18px 12px;text-align:center;color:#858da0;font-size:11px}
@media(max-width:760px){.site-header .search{z-index:320}.site-header .search.search-open{position:absolute;left:52px;right:142px;width:auto;top:12px;background:#11141d!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:8px!important;box-shadow:0 15px 45px rgba(0,0,0,.4)}.site-header .search.search-open input{display:block;width:100%;margin-left:4px}.site-header .search-results{top:calc(100% + 6px);left:-1px;right:-1px}.search-result{grid-template-columns:38px minmax(0,1fr) 16px}.search-result-logo{width:38px;height:38px}}
@media(max-width:420px){.site-header .search.search-open{left:48px;right:132px}}


/* V5: iPad drawer navigation — no fixed bottom nav */
.mobile-nav{display:none!important}
@media(max-width:1100px){
  .app-shell{display:block}
  .app-shell>aside{position:fixed;left:0;top:0;bottom:0;width:285px;transform:translateX(-105%);transition:transform .25s ease;z-index:100;overflow-y:auto}
  body.menu-open .app-shell>aside{transform:translateX(0)}
  body.menu-open{overflow:hidden}
  .mobile-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);z-index:90;opacity:0;pointer-events:none;transition:opacity .2s}
  body.menu-open .mobile-overlay{opacity:1;pointer-events:auto}
  main{margin-left:0!important;width:100%!important}
  .site-header{height:64px;padding:0 10px}
  .site-header .mobile-only{display:flex!important}
  .header-logo img{width:32px!important;height:32px!important;max-width:32px;max-height:32px}
}
@media(max-width:420px){.header-logo img{width:29px!important;height:29px!important}}

/* V6 responsive navigation stability: no duplicate bottom navigation, safe iPad drawer */
@media (min-width:651px) and (max-width:1100px){
  .app-shell>aside{width:72px;padding:20px 10px;transform:none}
  .app-shell>aside .brand b,.app-shell>aside nav span,.app-shell>aside .side-bottom span{display:none}
  .app-shell>main{margin-left:72px;width:calc(100% - 72px)}
  .app-footer{margin-left:72px;width:calc(100% - 72px)}
  .site-header{height:70px;padding:0 18px;gap:10px}
  .site-header .search{max-width:520px;flex:1}
  .user-chip{display:flex}
}
@media (max-width:650px){
  .app-shell>aside{width:min(310px,86vw)!important;transform:translateX(-105%);z-index:100!important;padding:20px 14px!important}
  body.menu-open .app-shell>aside{transform:translateX(0)!important}
  .app-shell>aside .brand b,.app-shell>aside nav span,.app-shell>aside .side-bottom span{display:inline!important}
  .app-shell>aside .brand img{width:42px!important;height:42px!important}
  .site-header{position:sticky!important;z-index:120!important;grid-template-columns:40px minmax(0,1fr) 40px 40px!important;height:62px;padding:0 9px;gap:5px}
  .site-header .mobile-only{display:flex!important}
  .site-header .header-logo{display:none}
  .site-header .search{grid-column:2;width:100%;max-width:none;min-width:0;height:40px;padding:0 9px}
  .site-header .search-icon-btn{display:grid!important}
  .site-header .search input{display:none}
  .site-header .search.search-open{position:absolute;left:52px;right:90px;width:auto;z-index:330;background:#11141d}
  .site-header .search.search-open input{display:block}
  .site-header .header-actions{grid-column:3;position:relative}
  .site-header .user-chip{grid-column:4;display:grid;place-items:center}
  .site-header .user-chip span{display:none}
  .site-header .user-chip img{width:32px;height:32px}
  .site-header .notification-btn{width:38px;height:38px}
  .site-header .notification-panel{right:-45px;top:46px;max-width:calc(100vw - 20px)}
  .mobile-overlay{z-index:95!important}
  .app-footer{display:block;margin-left:0!important;width:100%!important}
}

/* V6 iPad/tablet header: same compact navigation as phone, without the oversized logo */
@media (min-width:651px) and (max-width:1100px){
  .site-header{grid-template-columns:42px minmax(0,1fr) 42px 42px 42px!important;height:66px!important;padding:0 12px!important;gap:7px!important}
  .site-header .mobile-only{display:flex!important;grid-column:1;width:40px;height:40px;align-items:center;justify-content:center;background:#11141d;border:1px solid var(--line);border-radius:11px;color:#fff;cursor:pointer}
  .site-header .header-logo{grid-column:2;justify-content:center}
  .site-header .header-logo img{width:32px!important;height:32px!important;max-width:32px;max-height:32px}
  .site-header .search{grid-column:3;width:40px!important;height:40px!important;padding:0!important;background:transparent!important;border:0!important;justify-self:center}
  .site-header .search input{display:none}
  .site-header .search.search-open{position:absolute;left:62px;right:145px;width:auto!important;height:42px!important;padding:0 10px!important;background:#11141d!important;border:1px solid #252b39!important;z-index:330}
  .site-header .search.search-open input{display:block!important}
  .site-header .header-actions{grid-column:4}
  .site-header .user-chip{grid-column:5;display:grid;place-items:center}
  .site-header .user-chip span{display:none}
  .site-header .user-chip img{width:34px;height:34px}
  .app-shell>aside{width:min(320px,42vw)!important;transform:translateX(-105%)!important;z-index:100!important;padding:22px 14px!important}
  body.menu-open .app-shell>aside{transform:translateX(0)!important}
  .app-shell>aside .brand b,.app-shell>aside nav span,.app-shell>aside .side-bottom span{display:inline!important}
  .app-shell>aside .brand{margin:0 8px 35px}
  .app-shell>main{margin-left:0!important;width:100%!important}
  .app-footer{margin-left:0!important;width:100%!important}
  .mobile-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);z-index:95;opacity:0;pointer-events:none;transition:opacity .2s}
  body.menu-open .mobile-overlay{opacity:1;pointer-events:auto}
  body.menu-open{overflow:hidden}
}

/* ===== EN DIRECT (Live) — two-column categories / channels browser ===== */
.live-layout{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:12px;align-items:stretch;margin:18px 0 6px}
.live-col{display:flex;flex-direction:column;min-height:0;background:rgba(16,19,27,.72);border:1px solid var(--line);border-radius:20px;padding:20px}
.live-col-cats,.live-col-channels{height:min(74vh,680px)}
.live-col-head{flex:none;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.06)}
.live-col-head small{display:block;letter-spacing:2px;color:var(--accent);font-weight:900;font-size:10px}
.live-col-head h3{font:800 18px Outfit;margin:6px 0 4px;line-height:1.2}
.live-col-head p{color:var(--muted);font-size:11.5px;margin:0;line-height:1.5}
.live-back{display:none}
.live-cat-list,.live-channels-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:6px;scrollbar-width:thin;scrollbar-color:#2c3140 transparent}
.live-cat-list{display:grid;gap:8px;align-content:start}
.live-cat-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;background:#11141c;border:1px solid var(--line);border-radius:13px;padding:11px 12px;color:#fff;text-align:left;cursor:pointer;transition:.15s}
.live-cat-row:hover{border-color:#48415f;transform:translateY(-1px)}
.live-cat-row.active{background:var(--accent);border-color:var(--accent)}
.live-cat-row.active .live-cat-right small,.live-cat-row.active .live-cat-right i{color:#fff}
.live-cat-left{display:flex;align-items:center;gap:11px;min-width:0}
.live-cat-left img{width:36px;height:36px;object-fit:contain;border-radius:9px;background:#171a23;flex:none}
.live-cat-left b{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-cat-right{display:flex;align-items:center;gap:8px;flex:none}
.live-cat-right small{color:var(--muted);font-size:11px;font-weight:800}
.live-cat-right i{font-style:normal;color:var(--accent);font-size:15px}
.live-channels-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;align-content:start}
.live-channels-list .channel-card{min-width:0}
.live-cat-list::-webkit-scrollbar,.live-channels-list::-webkit-scrollbar{width:7px}
.live-cat-list::-webkit-scrollbar-thumb,.live-channels-list::-webkit-scrollbar-thumb{background:#2c3140;border-radius:10px}
.live-cat-list::-webkit-scrollbar-track,.live-channels-list::-webkit-scrollbar-track{background:transparent}
#channels{display:none}
@media(min-width:1400px){
  .live-layout{grid-template-columns:380px 1fr}
  .live-channels-list{grid-template-columns:repeat(auto-fill,minmax(195px,1fr))}
}
@media(max-width:950px){
  .live-layout{grid-template-columns:1fr;gap:0;margin:14px 0 0}
  .live-col-cats{height:auto;padding:16px}
  .live-cat-list{overflow:visible}
  .live-col-channels{position:fixed;inset:0;z-index:400;height:100vh;border:0;border-radius:0;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));transform:translateX(100%);transition:transform .28s ease;background:var(--bg)}
  .live-layout.show-channels .live-col-channels{transform:translateX(0)}
  .live-back{display:flex;align-items:center;gap:6px;width:max-content;background:#11141c;border:1px solid var(--line);color:#fff;border-radius:11px;padding:9px 13px;margin-bottom:14px;font-weight:800;font-size:13px}
  .live-channels-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.live-panel-open{overflow:hidden}
}
@media(max-width:600px){
  .live-col-cats{padding:14px}
  .live-cat-left img{width:32px;height:32px}
  .live-col-head h3{font-size:16px}
}

/* ===== FOOTER FIX v2 (all 3 emails inline on one line, compact height) ===== */
.app-footer{margin-left:245px!important;width:calc(100% - 245px)!important;display:grid!important;grid-template-columns:auto 1fr auto!important;column-gap:24px!important;row-gap:8px!important;align-items:center!important;padding:16px 5%!important;border-top:1px solid #252a38!important;background:rgba(7,8,13,.92)!important;box-sizing:border-box!important;float:none!important;clear:both!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important}
.app-footer .footer-brand{display:flex!important;gap:10px!important;align-items:center!important;min-width:0!important}
.app-footer .footer-brand img{width:32px!important;height:32px!important;object-fit:contain!important;flex:none!important}
.app-footer .footer-brand strong{font:800 12.5px Outfit!important;display:block!important}
.app-footer .footer-brand span{font-size:9px!important;color:#777f91!important;display:block!important;margin-top:1px!important}
.app-footer .footer-contact{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:center!important;gap:0!important;font-size:10.5px!important;line-height:1.4!important}
.app-footer .footer-contact strong{display:inline!important;margin-right:8px!important;font-size:9.5px!important;letter-spacing:.5px!important;color:#fff!important;font-weight:800!important}
.app-footer .footer-contact a{display:inline-block!important;color:#aeb5c5!important;text-decoration:none!important;white-space:nowrap!important}
.app-footer .footer-contact a:hover{color:#fff!important}
.app-footer .footer-contact a:not(:last-child):after{content:'·'!important;display:inline-block!important;margin:0 8px!important;color:#454c5e!important;text-decoration:none!important}
.app-footer .footer-legal{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:baseline!important;gap:4px 8px!important;text-align:right!important;color:#707889!important;font-size:9.5px!important;line-height:1.4!important;white-space:nowrap!important}
@media(max-width:900px){
  .app-footer{margin-left:72px!important;width:calc(100% - 72px)!important;grid-template-columns:1fr!important;justify-items:center!important;padding:16px 5%!important;row-gap:8px!important}
  .app-footer .footer-brand{justify-content:center!important}
  .app-footer .footer-contact{justify-content:center!important;white-space:normal!important}
  .app-footer .footer-legal{justify-content:center!important;text-align:center!important;white-space:normal!important}
}
@media(max-width:650px){
  .app-footer{margin-left:0!important;width:100%!important;grid-template-columns:1fr!important;padding:14px 6%!important;row-gap:6px!important;text-align:center!important}
  .app-footer .footer-brand{justify-content:center!important}
  .app-footer .footer-contact{justify-content:center!important;font-size:9px!important;white-space:normal!important}
  .app-footer .footer-contact strong{display:none!important}
  .app-footer .footer-contact a:not(:last-child):after{margin:0 5px!important}
  .app-footer .footer-legal{justify-content:center!important;text-align:center!important;white-space:normal!important;font-size:9px!important}
}
