      /* Video Manager Modal */
      .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
      }
      .modal.hidden {
        display: none;
      }
      .video-manager-file-input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
      }
      .modal-content {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 16px;
        width: 90%;
        max-width: 800px;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        box-shadow: var(--shadow);
      }
      .modal-content.maximized {
        width: 96vw;
        max-width: none;
        max-height: 94vh;
      }
      .modal-header {
        padding: 20px;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .modal-header h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
      }
      .modal-close {
        background: none;
        border: none;
        color: var(--muted);
        font-size: 28px;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
      }
      .modal-close:hover {
        background: var(--panel-2);
        color: var(--text);
      }
      .modal-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .modal-body {
        padding: 20px;
        overflow-y: auto;
        flex: 1;
      }
      .modal-footer {
        padding: 20px;
        border-top: 1px solid var(--border);
        display: flex;
        justify-content: flex-end;
        gap: 10px;
      }
      .video-manager-toolbar {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin: 10px 0 14px;
      }
      .video-manager-toolbar .input {
        width: 120px;
      }
      .video-list {
        display: grid;
        gap: 12px;
        margin-top: 12px;
      }
      .feed-video-item {
        border: 1px solid var(--border);
        background: var(--panel-2);
        border-radius: 10px;
        padding: 12px;
        display: grid;
        gap: 10px;
      }
      .feed-video-meta {
        display: grid;
        grid-template-columns: auto auto 1fr;
        gap: 10px;
        align-items: center;
      }
      .feed-video-select {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
      }
      .feed-video-preview {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        overflow: hidden;
        background: #111;
        position: relative;
      }
      .feed-video-preview.is-clickable {
        cursor: pointer;
      }
      button.feed-video-preview {
        border: none;
        padding: 0;
        display: block;
      }
      .feed-video-preview video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #000;
      }
      .feed-video-preview img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #111;
      }
      .feed-video-preview .placeholder {
        width: 100%;
        height: 100%;
        background: #111;
        color: var(--muted);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .feed-video-preview .play-overlay {
        position: absolute;
        right: 12px;
        bottom: 12px;
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(0, 0, 0, 0.48);
        color: #fff;
      }
      .feed-video-status {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 999px;
        border: 1px solid var(--border);
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
      .feed-video-status.ready {
        border-color: rgba(123,216,143,0.6);
        color: var(--success);
      }
      .feed-video-status.failed {
        border-color: rgba(255,107,107,0.6);
        color: var(--danger);
      }
      .feed-video-status.transcoding {
        border-color: rgba(78,161,255,0.6);
        color: var(--accent-2);
      }
      .feed-video-status.uploading {
        border-color: rgba(242,201,76,0.6);
        color: var(--accent);
      }
      .feed-video-status.hidden {
        border-color: rgba(167,173,188,0.5);
        color: var(--muted);
      }
      .feed-video-links {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        font-size: 12px;
      }
      .feed-video-links a {
        color: var(--accent-2);
        text-decoration: none;
      }
      .feed-video-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
      }
