.iptv-page{display:grid;gap:18px} .iptv-heading,.iptv-section-heading,.iptv-channel-toolbar,.iptv-group-heading{display:flex;align-items:center;justify-content:space-between;gap:14px} .iptv-heading h2,.iptv-section-heading h2,.iptv-section-heading h3,.iptv-channel-toolbar h3{margin:0} .iptv-manage-panel{display:grid;gap:16px} .iptv-manage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px} .iptv-add-card h3{margin:0 0 12px} .iptv-stack-form{display:grid;gap:9px} .iptv-stack-form input,.iptv-stack-form select,.iptv-channel-toolbar input,.iptv-chooser-toolbar input,.iptv-source-row select{background:#1f2023;border:1px solid #4a4d54;color:#eee;border-radius:7px;padding:10px;font:inherit} .iptv-small-list,.iptv-source-list,.iptv-chooser-list{display:grid;gap:8px} .iptv-small-row,.iptv-source-row{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#232529;border:1px solid #36393f;border-radius:8px;padding:10px} .iptv-small-row span,.iptv-source-info{display:grid;gap:3px;min-width:0} .iptv-small-row small,.iptv-source-info span,.iptv-channel-body span,.iptv-channel-body small,.iptv-choice-main small{color:#9da2aa;font-size:12px} .iptv-source-info{flex:1} .iptv-source-error{color:#ff9b9b;font-size:12px;overflow-wrap:anywhere} .iptv-channel-panel{display:grid;gap:14px} .iptv-channel-toolbar input{min-width:min(380px,48vw)} .iptv-channel-group{display:grid;gap:10px;margin:18px 0} .iptv-group-heading{border-bottom:1px solid #35383e;padding-bottom:7px} .iptv-group-heading>div{display:flex;gap:8px;align-items:baseline}.iptv-group-heading span{color:#9da2aa} .iptv-channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px} .iptv-channel-card{display:grid;grid-template-columns:86px 1fr;gap:12px;background:#292b2f;border:1px solid #3a3d42;border-radius:10px;padding:11px;min-width:0} .iptv-channel-logo{width:86px;height:64px;border-radius:8px;background:#18191c;display:grid;place-items:center;overflow:hidden} .iptv-channel-logo img{width:100%;height:100%;object-fit:contain;background:#fff} .iptv-logo-placeholder{font-weight:900;color:#62d68b;letter-spacing:.08em} .iptv-channel-body{min-width:0;display:grid;gap:4px}.iptv-channel-body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .iptv-channel-actions{display:flex;gap:7px;margin-top:5px;flex-wrap:wrap} .iptv-chooser-page{display:grid;gap:14px} .iptv-chooser-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;position:sticky;top:58px;z-index:4;background:#202124;padding:8px 0} .iptv-chooser-toolbar input{flex:1;min-width:260px} .iptv-count-badge{border:1px solid #4d525b;border-radius:999px;padding:5px 10px;font-size:12px} .iptv-chooser-list{max-height:68vh;overflow:auto;border:1px solid #35383e;border-radius:9px;padding:7px} .iptv-chooser-row{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(260px,2fr);gap:10px;align-items:center;padding:9px;border-bottom:1px solid #32343a;cursor:pointer} .iptv-chooser-row:last-child{border-bottom:0}.iptv-chooser-row:hover{background:#26282d} .iptv-choice-main{display:grid;gap:3px}.iptv-choice-url{font-size:11px;color:#8d939c;overflow-wrap:anywhere} @media(max-width:760px){.iptv-heading,.iptv-section-heading,.iptv-channel-toolbar{align-items:stretch;flex-direction:column}.iptv-channel-toolbar input{min-width:0;width:100%}.iptv-source-row{align-items:stretch;flex-direction:column}.iptv-source-row select,.iptv-source-row button{width:100%}.iptv-chooser-row{grid-template-columns:auto 1fr}.iptv-choice-url{grid-column:2}.iptv-channel-card{grid-template-columns:72px 1fr}.iptv-channel-logo{width:72px;height:56px}} .iptv-public-option, .iptv-public-toggle{ display:inline-flex; align-items:center; gap:7px; color:#c5c9cf; font-size:12px; white-space:nowrap; } .iptv-public-option{ padding:5px 2px; } .iptv-public-option input, .iptv-public-toggle input{ accent-color:#64d98b; } .iptv-shared-badge{ display:inline-block; margin-left:5px; padding:2px 5px; border:1px solid #3f7653; border-radius:999px; color:#72df98; font-size:9px; font-style:normal; line-height:1.1; vertical-align:middle; } /* Main IPTV view intentionally contains channels only; management lives under Live > IPTV. */ .iptv-library-view .iptv-heading.compact{margin-bottom:8px} .iptv-settings-view .iptv-manage-panel{display:grid} /* Live snapshot cards */ .iptv-channel-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px} .iptv-channel-card.iptv-snapshot-card{display:block;position:relative;overflow:hidden;padding:0;border-radius:11px;background:#22252a;box-shadow:0 6px 18px #0003;transition:transform .14s ease,border-color .14s ease} .iptv-channel-card.iptv-snapshot-card:hover{transform:translateY(-2px);border-color:#5d6570} .iptv-channel-visual{position:relative;aspect-ratio:16/9;background:radial-gradient(circle at 25% 20%,#244b37,#151719 70%);overflow:hidden} .iptv-channel-snapshot{width:100%;height:100%;object-fit:cover;display:block} .iptv-channel-visual.snapshot-missing::after{content:"LIVE";position:absolute;inset:0;display:grid;place-items:center;color:#5ee693;font-size:22px;font-weight:900;letter-spacing:.14em} .iptv-channel-visual-shade{position:absolute;inset:0;background:linear-gradient(to bottom,#0000 48%,#090a0cc9 100%);pointer-events:none} .iptv-channel-live-badge{position:absolute;z-index:3;top:9px;left:9px;padding:4px 7px;border-radius:5px;background:#101713dd;border:1px solid #2c6743;color:#64e797;font-size:10px;font-weight:900;letter-spacing:.1em} .iptv-snapshot-card .iptv-channel-body{padding:10px 11px 11px;display:grid;gap:3px} .iptv-snapshot-card .iptv-channel-body strong{font-size:14px} .iptv-snapshot-card .iptv-channel-actions{margin-top:7px} @media(max-width:760px){.iptv-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.iptv-snapshot-card .iptv-channel-body{padding:8px}.iptv-snapshot-card .iptv-channel-body small{display:none}} @media(max-width:460px){.iptv-channel-grid{grid-template-columns:1fr}}