.video-template-library{min-width:0;color:var(--paper);font:var(--type-ui,12px)/1.5 var(--font-body);container-type:inline-size}.video-template-library,.video-template-library *{box-sizing:border-box}.video-template-library svg{width:17px;height:17px;stroke-width:var(--icon-stroke,1.8);flex:none}.video-template-library :is(button,input,select,textarea,summary):focus-visible{outline:2px solid var(--yellow);outline-offset:3px}.video-template-library button{cursor:pointer}.video-template-library button:disabled{opacity:.55;cursor:default}.video-template-toolbar{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:17px;display:flex}.video-template-search{background:var(--panel-2);min-width:0;max-width:420px;min-height:44px;color:var(--muted);border:1px solid #363c37;border-radius:7px;flex:1;align-items:center;gap:9px;padding:0 13px;display:flex}.video-template-search:focus-within{border-color:var(--yellow)}.video-template-search input{width:100%;min-width:0;color:var(--paper);font:inherit;background:0 0;border:0;outline:0;padding:11px 0}.video-template-search input::placeholder{color:var(--muted)}.video-template-icon-button{background:var(--panel-2);width:44px;min-height:44px;color:var(--paper);border:1px solid #363c37;border-radius:7px;flex:none;place-items:center;padding:8px;display:grid}.video-template-manage-button{min-height:44px;color:var(--paper);font:700 var(--type-ui,12px)/1.4 var(--font-body);background:#1c2217;border:1px solid #535c3d;border-radius:7px;justify-content:center;align-items:center;gap:8px;margin-left:auto;padding:10px 14px;display:inline-flex}.video-template-manage-button svg{color:var(--yellow)}.video-template-categories{flex-wrap:wrap;gap:7px;margin-bottom:25px;display:flex}.video-template-categories button{background:var(--panel-2);color:#c4c8c2;min-height:44px;font:700 var(--type-ui,12px)/1.4 var(--font-body);border:1px solid #363c37;border-radius:6px;padding:10px 15px}.video-template-categories button[aria-pressed=true]{border-color:var(--yellow);background:var(--yellow);color:var(--ink)}.video-template-categories button:hover:not([aria-pressed=true]),.video-template-icon-button:hover{border-color:#737b70}.video-template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.video-template-card{background:var(--panel-2);border:1px solid #363b36;border-radius:10px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.video-template-media{aspect-ratio:4/3;background:#0a0c0a;width:100%;position:relative}.video-template-media>video,.video-template-owner-preview>video{object-fit:contain;background:#0a0c0a;width:100%;height:100%;display:block}.video-template-category{color:var(--paper);font-size:var(--type-label,11px);pointer-events:none;background:#111e;border:1px solid #ffffff25;border-radius:5px;padding:5px 9px;font-weight:700;position:absolute;top:12px;left:12px}.video-template-card-body{flex-direction:column;flex:1;min-width:0;padding:18px;display:flex}.video-template-meta{color:var(--muted);letter-spacing:.06em;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;font-size:9px;font-weight:700;display:flex}.video-template-card h2{color:var(--paper);letter-spacing:-.02em;overflow-wrap:anywhere;margin:13px 0 7px;font-size:20px;font-weight:700;line-height:1.25}.video-template-card p{color:var(--muted);font-size:var(--type-ui,12px);overflow-wrap:anywhere;flex:1;margin:0 0 22px;line-height:1.65}.video-template-card button{width:100%;min-height:44px;color:var(--paper);font:700 var(--type-ui,12px)/1.4 var(--font-body);background:#20251b;border:1px solid #48503e;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:11px 12px;display:inline-flex}.video-template-card button:hover:not(:disabled){border-color:var(--yellow);color:var(--yellow)}.video-template-empty{text-align:center;background:#121511;border:1px dashed #41483c;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;min-height:320px;padding:42px 22px;display:flex}.video-template-empty>svg{width:36px;height:36px;color:var(--yellow)}.video-template-empty h2{max-width:100%;font:900 26px/1.2 var(--display);letter-spacing:-.04em;overflow-wrap:anywhere;margin:21px 0 9px}.video-template-empty p{max-width:420px;color:var(--muted);font-size:var(--type-body,14px);overflow-wrap:anywhere;margin:0;line-height:1.65}.video-template-empty>button{background:var(--yellow);max-width:100%;min-height:44px;color:var(--ink);font:700 var(--type-ui,12px)/1.4 var(--font-body);border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;margin-top:23px;padding:11px 15px;display:inline-flex}.video-template-notice{color:#d7dcce;background:#20251b;border:1px solid #555d44;border-radius:7px;align-items:flex-start;gap:10px;min-width:0;margin:0 0 18px;padding:13px 15px;display:flex}.video-template-notice>svg{color:var(--yellow);margin-top:2px}.video-template-notice p{overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.65}.video-template-footnote{color:var(--muted);font-size:var(--type-label,11px);overflow-wrap:anywhere;margin:22px 0 0;line-height:1.7}.video-template-owner{background:#141813;border:1px solid #434b35;border-radius:11px;margin-top:40px;padding:25px}.video-template-owner-heading{justify-content:space-between;gap:16px;margin-bottom:22px;display:flex}.video-template-owner-heading>div{min-width:0}.video-template-owner-heading span{color:var(--yellow);letter-spacing:.1em;align-items:center;gap:7px;font-size:10px;font-weight:700;display:inline-flex}.video-template-owner-heading h2{font:900 27px/1.15 var(--display);letter-spacing:-.04em;margin:10px 0 6px}.video-template-owner-heading p{color:var(--muted);margin:0;line-height:1.65}.video-template-upload{min-width:0}.video-template-file{background:#0d110c;border:1px dashed #536044;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;margin-bottom:20px;padding:22px;display:flex}.video-template-file>svg{width:24px;height:24px;color:var(--yellow);margin-bottom:3px}.video-template-file>span{text-align:center;overflow-wrap:anywhere;max-width:100%;font-weight:700}.video-template-file>small{color:var(--muted);text-align:center}.video-template-file input{min-width:0;max-width:100%;min-height:44px;font:inherit;color:var(--muted);margin-top:7px}.video-template-file input::file-selector-button{min-height:44px;color:var(--paper);font:inherit;cursor:pointer;background:#252c1c;border:1px solid #535c44;border-radius:6px;margin-right:9px;padding:9px 13px}.video-template-upload-fields{grid-template-columns:minmax(0,1fr) minmax(150px,.6fr);gap:16px;display:grid}.video-template-upload-fields label{flex-direction:column;gap:7px;min-width:0;display:flex}.video-template-upload-fields label>span{justify-content:space-between;align-items:center;gap:8px;font-weight:700;display:flex}.video-template-upload-fields small{color:var(--muted);font-size:var(--type-label,11px);font-weight:400}.video-template-upload-fields :is(input,textarea,select){width:100%;min-width:0;min-height:44px;color:var(--paper);font:var(--type-body,14px)/1.5 var(--font-body);background:#0d110c;border:1px solid #394132;border-radius:7px;padding:11px 12px}.video-template-upload-fields textarea{resize:vertical;min-height:80px;max-height:200px}.video-template-upload-fields textarea::placeholder,.video-template-upload-fields input::placeholder{color:var(--muted)}.video-template-field-wide{grid-column:1/-1}.video-template-authorization{color:#c3cabb;cursor:pointer;align-items:center;gap:12px;min-height:44px;margin-top:15px;display:flex}.video-template-authorization input{width:18px;height:18px;accent-color:var(--yellow);flex:none;margin:0}.video-template-authorization span{overflow-wrap:anywhere;min-width:0}.video-template-upload-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:13px;margin:17px 0 25px;display:flex}.video-template-upload-actions p{min-width:0;color:var(--muted);font-size:var(--type-label,11px);flex:190px;margin:0;line-height:1.65}.video-template-upload-actions button,.video-template-publish,.video-template-deactivate{border:1px solid var(--yellow);background:var(--yellow);min-height:44px;color:var(--ink);font:700 var(--type-ui,12px)/1.4 var(--font-body);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;display:inline-flex}.video-template-owner-list{flex-direction:column;gap:12px;display:flex}.video-template-owner-card{background:#0f130e;border:1px solid #353d2e;border-radius:8px;align-items:center;gap:17px;min-width:0;padding:13px;display:flex}.video-template-owner-preview{border-radius:5px;flex:none;width:150px;height:115px;overflow:hidden}.video-template-owner-preview>div{height:100%;color:var(--muted);text-align:center;background:#1c2318;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px;display:flex}.video-template-owner-copy{flex:1;min-width:0}.video-template-status{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:5px;font-size:10px;font-weight:700;display:inline-flex}.video-template-status[data-status=published]{color:var(--yellow)}.video-template-status svg{width:12px;height:12px}.video-template-owner-copy h3{overflow-wrap:anywhere;margin:6px 0 3px;font-size:15px;line-height:1.35}.video-template-owner-copy p{color:var(--muted);font-size:var(--type-label,11px);overflow-wrap:anywhere;margin:0}.video-template-owner-copy details{margin-top:4px}.video-template-owner-copy summary{min-height:44px;color:var(--paper);font-size:var(--type-label,11px);cursor:pointer;padding:12px 0}.video-template-owner-copy details p{margin:0 0 7px;line-height:1.6}.video-template-deactivate{color:var(--paper);background:#232b1d;border-color:#536044}.video-template-owner-empty{color:var(--muted);align-items:center;gap:10px;margin:0;padding:15px 0;display:flex}.video-template-spin{animation:1.4s linear infinite video-template-spin}@keyframes video-template-spin{to{transform:rotate(360deg)}}@container (width<=1050px){.video-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=600px){.video-template-grid{grid-template-columns:minmax(0,1fr);gap:16px}.video-template-manage-button{margin-left:0}.video-template-card h2{font-size:19px}.video-template-owner{padding:17px}.video-template-upload-fields{grid-template-columns:minmax(0,1fr)}.video-template-owner-card{flex-wrap:wrap;gap:12px}.video-template-owner-preview{aspect-ratio:4/3;width:100%;height:auto}.video-template-owner-card>button{width:100%}}@container (width<=300px){.video-template-search{gap:7px;padding:0 9px}.video-template-manage-button{width:100%}.video-template-categories{gap:5px}.video-template-categories button{flex:calc(50% - 5px);padding:9px 8px}.video-template-empty{min-height:280px;padding:30px 14px}.video-template-empty h2{font-size:23px}.video-template-empty p{font-size:12px}.video-template-card-body{padding:14px}.video-template-owner{padding:12px}.video-template-owner-heading{flex-wrap:wrap}.video-template-file{padding:16px 10px}.video-template-upload-actions button{width:100%}.video-template-upload-fields :is(input,textarea,select){padding-left:9px;padding-right:9px}}@media (max-width:760px),(max-width:1366px) and (pointer:coarse){.video-template-library :is(input[type=text],input[type=search],textarea,select){font-size:16px}}@media (prefers-reduced-motion:reduce){.video-template-spin{animation:none}}.library-from-videos{background:#121414;border:1px solid #2a2d2b;border-radius:14px;gap:12px;margin-top:18px;padding:16px;display:grid}.library-from-videos-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.library-from-videos-heading h3{color:var(--paper);font:900 16px/1.2 var(--font-display,var(--display));text-transform:uppercase;margin:0}.library-from-videos-heading p{color:#8d928b;max-width:560px;margin:4px 0 0;font-size:13px;line-height:1.45}.library-from-videos-actions{align-items:center;gap:8px;display:flex}.library-from-videos-all,.library-from-videos-list button{background:var(--yellow);min-height:38px;color:var(--ink);font:800 12px/1 var(--font-body);white-space:nowrap;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 14px;display:inline-flex}.library-from-videos-all:disabled,.library-from-videos-list button:disabled{opacity:.45;cursor:default}.library-from-videos-all svg,.library-from-videos-list button svg{width:14px;height:14px}.library-from-videos-notice,.library-from-videos-empty{color:#c9ccc6;align-items:center;gap:6px;margin:0;font-size:13px;display:flex}.library-from-videos-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.library-from-videos-list li{background:#0f1110;border:1px solid #222523;border-radius:10px;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;display:grid}.library-from-videos-list li.is-added{opacity:.62}.library-from-videos-list video{object-fit:cover;background:#000;border-radius:7px;width:54px;height:96px}.library-from-videos-fields{grid-template-columns:minmax(0,1fr) 140px;gap:6px;min-width:0;display:grid}.library-from-videos-fields input,.library-from-videos-fields select{width:100%;min-height:36px;color:var(--paper);font:600 13px/1 var(--font-body);background:#151816;border:1px solid #2a2d2b;border-radius:8px;padding:0 10px}.library-from-videos-fields input:focus,.library-from-videos-fields select:focus{border-color:var(--yellow);outline:none}.library-from-videos-fields p{color:#8d928b;-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-column:1/-1;margin:0;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.library-from-videos-done{color:var(--yellow);white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:700;display:inline-flex}.library-from-videos-done.is-muted{color:#8d928b}.library-from-videos-done svg{width:14px;height:14px}@media (max-width:640px){.library-from-videos-list li{grid-template-columns:48px minmax(0,1fr)}.library-from-videos-list li>button,.library-from-videos-list li>.library-from-videos-done{grid-column:1/-1}.library-from-videos-fields{grid-template-columns:1fr}.library-from-videos-list video{width:48px;height:86px}}
