body[data-page=adminStreamOverlay] .inner-header { position: relative; top: auto; }
.stream-admin { max-width: 1600px; margin: auto; padding: 0 24px 48px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.stream-admin .card { padding: 24px; min-width: 0; }
.stream-admin h2 { margin: 0; font-size: 1.5rem; }
.stream-admin p { color: var(--muted); line-height: 1.6; }
.stream-toolbar, .stream-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stream-actions { justify-content: flex-start; margin: 16px 0; }
.stream-check { display: flex; align-items: center; gap: 8px; font-size: 1rem; cursor: pointer; }
.stream-admin input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--red); }
.stream-slot { border-top: 1px solid var(--line-soft); padding: 24px 0 8px; margin-top: 24px; }
.stream-slot h3 { margin: 0; font-size: 1.25rem; }
.stream-slot-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.stream-admin label:not(.stream-check) { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); min-width: 0; }
.stream-admin input:not([type=checkbox]), .stream-admin select { width: 100%; min-width: 0; min-height: 44px; background: #080b10; color: #fff; border: 1px solid #535762; border-radius: 6px; padding: 9px; font: inherit; }
.stream-admin select { padding-right: 32px; }
.stream-admin button:disabled { opacity: .5; cursor: not-allowed; }
.stream-admin :focus-visible { outline: 3px solid #f4c542; outline-offset: 3px; }
.stream-frames-scroll { overflow-x: auto; padding: 4px 0 10px; }
.stream-editor-frames { display: grid; grid-template-columns: repeat(9, 76px) 108px; gap: 4px; width: max-content; }
.stream-editor-frame { text-align: center; background: #080b10; border: 1px solid #535762; border-radius: 4px; overflow: hidden; }
.stream-editor-frame > span { display: block; background: #272830; padding: 5px; font-size: .875rem; }
.stream-editor-frame > div { display: flex; padding: 4px; gap: 2px; }
.stream-editor-frame input { text-align: center; padding: 2px !important; border-radius: 2px !important; }
.stream-editor-frame output { display: block; height: 30px; font-weight: 700; }
.stream-total { color: #f4c542; font-weight: 800; }
.stream-slot .stream-help { font-size: .875rem; margin-bottom: 0; }
.stream-preview { position: sticky; top: 20px; }
.stream-preview iframe { width: 100%; aspect-ratio: 16/9; border: 1px solid #535762; border-radius: 8px; margin-top: 20px; background: #20252e; }
.stream-source { border-top: 1px solid var(--line-soft); padding: 18px 0; }
.stream-source h3 { margin: 0 0 12px; font-size: 1.125rem; }
.stream-admin #overlayStatus { border-left: 3px solid #f4c542; padding-left: 12px; color: #fff; }
.stream-admin #overlayStatus[data-error=true] { border-color: #ff313a; color: #ffb7bb; }
@media (max-width: 1100px) { .stream-admin { grid-template-columns: 1fr; } .stream-preview { position: static; } }
@media (max-width: 540px) { .stream-admin { padding: 0 12px 32px; } .stream-admin .card { padding: 16px; } .stream-slot-fields { grid-template-columns: 1fr; } .stream-toolbar { align-items: flex-start; } }
