body { margin: 0; background: #f7f7fa; color: #20202a; font-family: system-ui, -apple-system, sans-serif; }
#my-videos-app *, #my-videos-app *::before, #my-videos-app *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.library-header { background: #fff; border-bottom: 1px solid #e9e9ef; padding: 22px max(24px, calc((100vw - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.library-brand { font-size: 24px; font-weight: 800; text-decoration: none; color: #222; }.library-brand span { color: #7556df; }
.library-header nav { display: flex; gap: 24px; }.library-header nav a { color: #555164; text-decoration: none; }
.video-library { max-width: 1248px; margin: auto; padding: 42px 24px; }
.library-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.library-heading h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.8px; }.library-heading p { margin: 0; color: #706c80; line-height: 1.5; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,290px),1fr)); gap: 24px; }
.library-card { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid #e5e3ec; }
.library-card video { display: block; width: 100%; height: 300px; object-fit: contain; background: #17161b; }
.library-card-content { padding: 20px; }.library-card h2 { margin: 0 0 10px; font-size: 17px; overflow-wrap: anywhere; }.library-card time { display: block; font-size: 14px; color: #706c80; }
.library-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }.library-actions button { flex: 1; }
.library-button { padding: 11px 16px; border: 1px solid #dedbe7; border-radius: 10px; background: #fff; color: #353044; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.library-button:hover { background: #f0ecfa; }.library-button.primary { background: #7355d8; border-color: #7355d8; color: #fff; }.library-button.primary:hover { background: #6043c1; }
.library-button:disabled { opacity: .6; cursor: wait; }.library-button:focus-visible, .library-header a:focus-visible { outline: 3px solid #bba6fc; outline-offset: 3px; }
#library-status { color: #6a6278; min-height: 24px; }.library-error { color: #a52c36; font-size: 14px; line-height: 1.4; }.library-footer { text-align: center; margin-top: 28px; }
@media(max-width:600px) { .library-header { padding: 18px 20px; }.video-library { padding: 28px 16px; }.library-heading { align-items: flex-start; }.library-card video { height: 330px; }.library-heading p { max-width: 260px; } }
