body{font-size:16px;line-height:1.5}.btn,.logout,.chip,.rb-chip,input,select{font-size:14px}.topbar .user-area form{margin:0}.mark{color:#fff}.brand{text-decoration:none;color:var(--text)}.brand-badge{font-size:12px!important}.user-name{font-size:14px;color:var(--muted)}.user-area{gap:10px}.user-area svg,.btn svg,[data-icon] svg{width:18px;height:18px;display:block;flex-shrink:0}[data-icon]{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;flex-shrink:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.page-heading .page-title{margin:0}.last-updated{font-size:13px;color:var(--muted)}
.source-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.source-tab{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);font:inherit;cursor:pointer;transition:border-color .18s,background .18s;min-width:0}.source-tab:hover{border-color:var(--border-2)}.source-tab.active{background:linear-gradient(120deg,rgba(139,92,246,.16),var(--surface));border-color:var(--accent);box-shadow:0 0 0 1px rgba(139,92,246,.12)}.source-tab strong{display:block;color:var(--text);font-size:15px}.source-tab small{font-size:13px;display:block;margin-top:2px}.source-tab .tab-status{margin-left:auto;width:7px;height:7px;border-radius:50%;background:var(--success);flex:none}.source-tab.has-error .tab-status{background:var(--warning)}.source-badge{width:42px;height:42px;border:1px solid rgba(139,92,246,.25);background:rgba(139,92,246,.12);border-radius:12px;display:grid;place-items:center;color:#c4b5fd;font-size:21px;font-weight:850;flex:none}.source-badge.globo{color:#fca5a5;background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.2)}.source-badge.record{color:#93c5fd;background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.2)}.source-badge.band{color:#86efac;background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.2)}
.hub-overview{grid-template-columns:minmax(0,1fr) 290px;gap:18px;margin-bottom:22px}.source-detail{padding:22px 24px}.source-detail .card-label{font-size:13px;letter-spacing:.03em;margin-bottom:18px}.source-detail .source-heading{display:flex;align-items:center;gap:14px}.source-heading .source-badge{width:52px;height:52px;font-size:26px}.source-heading h1{font-size:23px;letter-spacing:-.5px;line-height:1.25}.source-heading p{font-size:14px;color:var(--muted);margin-top:3px}.source-address{display:flex;gap:10px;align-items:center;margin:18px 0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.source-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.source-actions .source-toggle{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);cursor:pointer}.source-alert{margin-top:16px;color:#fcd34d;background:rgba(245,158,11,.07);border:1px solid rgba(245,158,11,.2);border-radius:10px;padding:10px 13px;font-size:14px}.stat-stack{gap:14px}.stat .small{font-size:14px}.stat .big{font-size:29px}.stat .ic{width:46px;height:46px}.stat .ic svg{width:23px;height:23px}
.unified-panel{margin-bottom:24px}.unified-body{padding:19px 20px 16px;border-top:1px solid var(--border)}.unified-description{margin-bottom:15px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.unified-description b{font-size:15px}.unified-description>span{font-size:14px;color:var(--muted)}.format-control{display:flex;align-items:center;gap:8px;margin:0 0 15px}.format-control>span{font-size:14px;color:var(--muted);margin-right:8px}.format-control .rb-chip{font-size:14px;min-height:34px;padding:6px 15px}.feed-row{display:flex;align-items:stretch;gap:10px}.feed-url{flex:1;min-width:0;background:#080913;border:1px solid var(--border-2);border-radius:10px;padding:11px 14px;color:#c4b5fd;font:13px ui-monospace,SFMono-Regular,Consolas,monospace;outline:none}.feed-url:focus{border-color:var(--accent)}.feed-row .btn{white-space:nowrap}.feed-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:11px;color:var(--muted);font-size:13px}.feed-footer>span{display:flex;align-items:center;gap:7px}.feed-footer svg{width:14px;height:14px}.text-button{background:none;border:0;padding:3px 0;color:#b7a3ef;font:inherit;font-size:13px;cursor:pointer}.text-button:hover{text-decoration:underline}.cfg-title,.cfg-count,.rb-title b{font-size:15px}.rb-state{font-size:14px}.rb-watch-pill{font-size:13px}.rb-head{flex-wrap:wrap}.rb-watch-pill{margin-left:auto}.channel-search{top:67px}.search [data-icon]{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted)}.search [data-icon] svg{position:static;transform:none;width:19px;height:19px}.channel-search input{font-size:16px}.hub-chips{padding-top:16px;border-bottom:1px solid var(--border)}.chip{font-size:14px}
.hub-channel-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px}.hub-chan{position:relative;background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:border-color .18s}.hub-chan:hover{border-color:var(--border-2)}.hub-chan:before{content:"";position:absolute;top:0;left:0;bottom:0;width:3px;background:var(--success)}.hub-chan.disabled:before{background:var(--muted-2)}.channel-art{position:relative;display:grid;place-items:center;height:106px;background:linear-gradient(140deg,rgba(0,0,0,.24),transparent);border-bottom:1px solid var(--border)}.channel-art img{width:72px;height:72px;object-fit:contain;position:relative;z-index:2}.channel-art .logo-fallback{position:absolute;color:#a78bfa;font-size:23px;font-weight:800;letter-spacing:-1px}.channel-art.has-image .logo-fallback{display:none}.channel-art .live-tag{position:absolute;right:9px;top:9px;z-index:3;font-size:11px;font-weight:700;color:#86efac;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.2);border-radius:6px;padding:2px 6px}.hub-chan .chan-info{padding:13px 14px 14px;gap:7px}.hub-chan .chan-head{gap:8px;align-items:center;margin:0}.hub-chan .chan-name{font-size:15px;min-height:38px;line-height:1.3;display:flex;align-items:center}.channel-switch{position:relative;display:inline-flex;align-items:center;width:38px;height:22px;flex:none;cursor:pointer}.channel-switch input{position:absolute;opacity:0;width:1px;height:1px}.channel-switch>span{position:absolute;inset:0;border-radius:20px;background:var(--surface-3);border:1px solid var(--border-2);transition:.15s}.channel-switch>span:before{content:"";width:14px;height:14px;position:absolute;top:3px;left:3px;background:var(--muted);border-radius:50%;transition:.15s}.channel-switch input:checked+span{border-color:rgba(139,92,246,.8);background:rgba(139,92,246,.2)}.channel-switch input:checked+span:before{transform:translateX(16px);background:#a78bfa}.channel-switch input:focus-visible+span{outline:2px solid #c4b5fd;outline-offset:3px}.channel-category{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-buttons{display:flex;gap:6px;margin-top:3px}.channel-buttons button{flex:1;min-height:33px;background:rgba(139,92,246,.05);border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;justify-content:center;color:var(--muted);cursor:pointer}.channel-buttons button:hover{color:#c4b5fd;border-color:#554077;background:rgba(139,92,246,.1)}.channel-buttons svg{width:15px;height:15px}.loading-state{grid-column:1/-1;min-height:190px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:15px}.spinner{width:19px;height:19px;border:2px solid var(--border-2);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.spinning svg{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{padding:50px 20px;text-align:center;color:var(--muted)}.empty-state[hidden]{display:none}.empty-state>[data-icon]{display:block;margin:auto auto 15px}.empty-state svg{width:30px;height:30px}.empty-state b,.empty-state>span:last-child{display:block}.empty-state b{font-size:17px;color:var(--text);margin-bottom:5px}.empty-state>span:last-child{font-size:14px}.panel-footer{text-align:center;font-size:13px;color:var(--muted-2);margin-top:30px}.skeleton{height:15px;max-width:80%;border-radius:5px;background:var(--surface-3);margin:12px 0;animation:pulse 1.5s infinite}.skeleton-title{height:24px;width:45%}@keyframes pulse{50%{opacity:.4}}
.panel-dialog{margin:auto;width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--border-2);border-radius:17px;box-shadow:0 25px 100px #0008}.panel-dialog::backdrop{background:#03040bba;backdrop-filter:blur(6px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.dialog-head h2{font-size:20px;letter-spacing:-.4px}.dialog-head p{font-size:14px;color:var(--muted);margin-top:5px}.icon-button{border:1px solid var(--border);border-radius:8px;color:var(--muted);background:var(--surface-2);width:32px;height:32px;display:grid;place-items:center;cursor:pointer;flex:none}.panel-dialog label,.login-form label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin-bottom:16px}.panel-dialog input,.login-form input{width:100%;min-height:45px;color:var(--text);background:#080913;border:1px solid var(--border-2);border-radius:9px;padding:10px 13px;font-family:inherit;font-size:16px;outline:none}.panel-dialog input:focus,.login-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #8b5cf619}.form-help{font-size:13px;color:var(--muted);line-height:1.6;margin:6px 0 18px}.monitor-dialog{width:min(1100px,calc(100vw - 32px))}.table-scroll{overflow:auto}.monitor-dialog table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}.monitor-dialog th{color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}.monitor-dialog td,.monitor-dialog th{padding:12px 14px;border-bottom:1px solid var(--border)}.monitor-dialog td:first-child b{display:block;font-size:14px}.monitor-dialog td:first-child small{font-size:12px;color:var(--muted)}.monitor-dialog td:nth-child(2){color:#c4b5fd;font-family:ui-monospace,monospace;font-size:13px}.player-dialog{width:min(950px,calc(100vw - 30px))}.player-dialog video{display:block;width:100%;max-height:65vh;background:#000;border-radius:10px}.player-dialog .form-help{margin-top:13px;margin-bottom:0}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:200;background:#202238;color:var(--text);padding:12px 20px;border:1px solid var(--border-2);border-radius:11px;box-shadow:0 10px 35px #0005;font-size:14px;max-width:min(90vw,580px);transition:.18s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{border-color:#803741;color:#fecaca}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.login-shell{min-height:100vh;max-width:530px;margin:auto;display:flex;flex-direction:column;justify-content:center;padding:45px 25px}.login-brand{margin:0 auto 30px}.login-card{padding:32px}.eyebrow{font-size:12px;font-weight:800;color:#b59af6;letter-spacing:1.1px}.login-card h1{font-size:31px;line-height:1.18;letter-spacing:-1px;margin-top:14px}.login-description{font-size:15px;color:var(--muted);line-height:1.7;margin:17px 0 26px}.login-form .btn{min-height:47px;font-size:15px;margin-top:7px}.login-sources{display:flex;justify-content:center;gap:17px;border-top:1px solid var(--border);padding-top:22px;margin-top:25px;font-size:12px;color:var(--muted)}.login-note{text-align:center;font-size:13px;color:var(--muted-2);margin-top:22px}.form-error{color:#fca5a5;background:#ef444410;border:1px solid #ef444435;padding:10px 13px;border-radius:9px;font-size:14px;margin-bottom:17px}
@media(max-width:1050px){.hub-channel-list{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-overview{grid-template-columns:minmax(0,1fr) 250px}.source-tab{padding:13px 12px;gap:9px}.source-tab small{font-size:12px}.source-badge{width:36px;height:36px}.unified-description{gap:3px;flex-direction:column}}
@media(max-width:760px){.wrap{padding:22px 14px 40px}.topbar-inner{padding:12px 14px}.brand .name{font-size:17px}.brand-badge{display:none}.user-name,.label-hide{display:none}.user-area{gap:7px}.logout{padding:8px}.page-heading{align-items:flex-start;gap:5px;flex-direction:column;margin-bottom:16px}.page-title{font-size:14px}.last-updated{font-size:12px}.source-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.source-tab{padding:13px}.source-tab strong{font-size:14px}.hub-overview{grid-template-columns:1fr}.source-detail{padding:18px}.source-actions .source-toggle{margin-left:0;width:100%;padding-top:9px}.stat-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:14px;gap:10px}.stat .ic{width:35px;height:35px;border-radius:10px}.stat .ic svg{width:19px;height:19px}.stat .big{font-size:24px}.stat .small{font-size:12px}.unified-body{padding:16px 14px}.feed-row{flex-wrap:wrap}.feed-url{flex-basis:100%;min-height:44px}.feed-row .btn{flex:1}.feed-footer{align-items:flex-start;gap:7px;flex-direction:column}.feed-footer>span{font-size:12px}.cfg-title{font-size:14px}.cfg-head{padding:13px 14px}.cfg-tools{justify-content:space-between;flex-wrap:nowrap}.cfg-tools .btn{flex:none;font-size:13px}.cfg-count{font-size:13px}.rb-head{gap:10px}.rb-title b{font-size:14px}.rb-state{font-size:13px}.rb-watch-pill{font-size:12px;margin-left:0}.channel-search{top:65px}.hub-chips{padding:13px 14px;gap:7px}.chip{font-size:13px;padding:7px 11px}.hub-channel-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}.channel-art{height:92px}.channel-art img{width:62px;height:62px}.hub-chan .chan-info{padding:11px}.hub-chan .chan-name{font-size:14px}.channel-category{font-size:12px}.channel-buttons{gap:5px}.panel-dialog{padding:20px}.login-card{padding:25px}.login-card h1{font-size:29px}.login-sources{gap:12px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
