.tv4-cameras{--tv4-yellow:#ffd400;--tv4-ink:#111827;--tv4-muted:#64748b;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-top:4px solid var(--tv4-yellow);border-radius:12px;margin:24px 0;overflow:hidden;color:var(--tv4-ink);font-family:Arial,Helvetica,sans-serif;max-width:100%;isolation:isolate}.tv4-cameras *{box-sizing:border-box;min-width:0}.tv4-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px 16px}.tv4-kicker{display:inline-block;font-size:11px;font-weight:800;letter-spacing:1px;background:#111827;color:#ffd400;border-radius:4px;padding:6px 9px}.tv4-cameras .tv4-head h2{font-size:25px;line-height:1.25;margin:10px 0 5px;font-weight:800}.tv4-head p{font-size:14px;margin:0;color:var(--tv4-muted)}.tv4-cameras button,.tv4-cameras select,.tv4-cameras input,.tv4-cameras a{font-family:inherit}.tv4-cameras button,.tv4-actions a{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:44px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:var(--tv4-ink);font-size:13px;font-weight:700;line-height:1.3;padding:10px 13px;cursor:pointer;text-decoration:none}.tv4-cameras button:disabled{opacity:.5;cursor:default}.tv4-cameras :is(button,a,select,input,summary):focus-visible{outline:3px solid #b68b00;outline-offset:2px}.tv4-controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(200px,2fr) 90px;align-items:end;gap:12px;padding:0 24px 16px}.tv4-controls label{display:grid;gap:6px;font-size:12px;font-weight:700}.tv4-cameras select,.tv4-cameras input[type=search]{width:100%;max-width:100%;height:46px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#111827;padding:10px 12px;font-size:16px;line-height:1.3}.tv4-cameras .tv4-primary{background:var(--tv4-yellow);border-color:var(--tv4-yellow);font-size:15px;height:46px}.tv4-statusbar{padding:10px 24px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;line-height:1.45}.tv4-statusbar [data-state=playing]{color:#15803d}.tv4-statusbar [data-state=error]{color:#b91c1c}.tv4-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:0}.tv4-screen-panel{padding:18px;border-right:1px solid #e2e8f0;align-self:start}.tv4-player{position:relative;width:100%;aspect-ratio:16/9;background:#111827;border-radius:9px;overflow:hidden;display:grid;place-items:center;text-align:center}.tv4-player .tv4-message{display:grid;justify-items:center;align-content:center;gap:12px;color:#fff;padding:20px;max-width:500px}.tv4-message strong{font-size:18px;line-height:1.4}.tv4-message p{font-size:13px;line-height:1.6;color:#cbd5e1;margin:0}.tv4-player img,.tv4-player video,.tv4-player iframe{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border:0;object-fit:contain;background:#111827}.tv4-player iframe{color-scheme:normal}.tv4-player:fullscreen{border-radius:0;aspect-ratio:auto;width:100vw;height:100vh}.tv4-caption{padding:12px 0 0;display:grid;gap:5px}.tv4-caption strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.tv4-caption span{font-size:12px;line-height:1.5;color:var(--tv4-muted);overflow-wrap:anywhere;min-height:18px}.tv4-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.tv4-actions a{background:#fff5b5}.tv4-directory{padding:0;align-self:start}.tv4-directory summary{padding:17px 16px;cursor:pointer;font-size:14px;font-weight:800;border-bottom:1px solid #e2e8f0;list-style-position:inside}.tv4-directory summary span{font-size:12px;color:var(--tv4-muted)}.tv4-list-tools{padding:12px 14px;border-bottom:1px solid #e2e8f0;display:grid;gap:12px}.tv4-toggle{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;cursor:pointer;min-height:32px}.tv4-toggle input{width:18px;height:18px;flex:0 0 auto;accent-color:#a27800;margin:0}.tv4-list{max-height:380px;overflow-y:auto;overscroll-behavior:contain;padding:8px;display:grid;gap:5px}.tv4-list button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border-color:transparent;border-radius:6px;padding:10px;min-height:54px;width:100%}.tv4-list button strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.tv4-list button small{font-size:11px;font-weight:400;color:var(--tv4-muted);line-height:1.4;margin-top:4px}.tv4-list button[aria-pressed=true]{background:#fff8d1;border-color:#e9cd45}.tv4-list .tv4-list-empty{padding:12px;font-size:13px;line-height:1.6;color:var(--tv4-muted);margin:0}.tv4-foot{padding:14px 22px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tv4-foot>span{font-size:12px;font-weight:700}.tv4-foot>div{display:flex;gap:6px;flex-wrap:wrap}.tv4-foot button{min-height:36px;padding:7px 12px;font-size:12px}.tv4-foot p{flex:1 0 100%;font-size:11px;line-height:1.6;color:var(--tv4-muted);margin:0}.tv4-cameras [hidden]{display:none!important}.tv4-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.tv4-layout{grid-template-columns:minmax(0,1fr) 230px}.tv4-head,.tv4-foot{padding-left:18px;padding-right:18px}.tv4-controls{padding-left:18px;padding-right:18px}.tv4-cameras .tv4-head h2{font-size:22px}}@media(max-width:700px){.tv4-cameras{border-radius:9px;margin:18px 0}.tv4-head{padding:16px 14px 14px;align-items:flex-start;gap:8px}.tv4-cameras .tv4-head h2{font-size:20px;margin-top:9px}.tv4-head p{font-size:12px}.tv4-head>button{font-size:11px;padding:8px;max-width:112px;min-height:44px}.tv4-kicker{font-size:10px;padding:5px 7px}.tv4-controls{grid-template-columns:minmax(0,1fr) 70px;gap:10px;padding:0 14px 14px}.tv4-controls>label:first-child{grid-column:1/-1}.tv4-controls>label:nth-child(2){grid-column:1}.tv4-statusbar{padding:10px 14px;align-items:flex-start;font-size:11px}.tv4-layout{grid-template-columns:minmax(0,1fr)}.tv4-screen-panel{border-right:0;padding:12px}.tv4-player{border-radius:7px}.tv4-message strong{font-size:15px}.tv4-message p{font-size:12px;line-height:1.5}.tv4-player .tv4-message{padding:14px;gap:8px}.tv4-caption strong{font-size:14px}.tv4-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tv4-actions button,.tv4-actions a{padding:9px 8px;font-size:12px;min-height:44px}.tv4-directory{border-top:1px solid #e2e8f0}.tv4-directory summary{padding:15px 14px}.tv4-list{max-height:250px}.tv4-list-tools{grid-template-columns:minmax(0,1fr);padding:12px}.tv4-foot{padding:13px 14px}.tv4-foot p{font-size:11px}}@media(prefers-reduced-motion:reduce){.tv4-cameras *{scroll-behavior:auto!important}}

.tv4-cameras .tv4-player.tv4-message-state{aspect-ratio:auto;min-height:220px}.tv4-cameras .tv4-head h2{overflow-wrap:anywhere}@media(max-width:700px){.tv4-cameras .tv4-player.tv4-message-state{min-height:185px}.tv4-cameras .tv4-head h2 span{display:block}}
