.video-catalog-shell{max-width:1200px}
.video-catalog-hero{padding:30px 34px;margin:8px 0 22px;border:1px solid #d5e3f7;border-radius:18px;background:linear-gradient(120deg,#fff 0%,#f4f8ff 58%,#e9f1ff 100%);box-shadow:0 8px 24px #1b3b6808}
.video-catalog-hero h1{margin:5px 0 8px;color:var(--ink);font-size:clamp(28px,3vw,36px);line-height:1.3}
.video-catalog-hero>p{color:var(--muted);max-width:760px}
.video-catalog-hero .video-catalog-note{margin-top:7px;font-size:12px}
.video-catalog-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.video-catalog-stat{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid #dce6f3;border-radius:999px;background:#ffffffbd;color:#49617e;font:inherit;font-size:12px;text-decoration:none;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.video-catalog-stat:hover,.video-catalog-stat[aria-pressed="true"]{border-color:#83a8e2;background:#eef5ff;color:#244f8c}
.video-catalog-stat:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.video-catalog-stat strong{margin-right:4px;color:#1e3a62;font-variant-numeric:tabular-nums}
.video-catalog-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,220px) minmax(160px,200px);gap:10px;margin:0 0 24px}
.video-catalog-tools input,.video-catalog-tools select{width:100%;min-width:0;height:44px;padding:9px 12px;border:1px solid #d4dfef;border-radius:9px;background:#fff;color:var(--text);font:inherit}
.video-catalog-results .section-title{margin-bottom:12px}
.video-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.video-catalog-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 4px 14px #193b6a06;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.video-catalog-card:hover{transform:translateY(-2px);border-color:#b6cbea;box-shadow:0 10px 26px #193b6a10}
.video-catalog-card-cover{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;overflow:hidden;border:0;background:radial-gradient(ellipse at 70% 15%,#3c68ae 0,#1d3766 28%,#122544 72%,#0e1a2e 100%);color:#fff;cursor:pointer;text-align:left}
.video-catalog-card-cover::before{position:absolute;z-index:1;inset:0;content:"";background:linear-gradient(180deg,#0716291c 0%,#07162900 36%,#071629d9 100%)}
.video-catalog-card-cover::after{display:none}
.video-catalog-card-cover-image{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover}
.video-catalog-cover-brand,.video-catalog-cover-title,.video-catalog-play-icon,.video-catalog-cover-pending,.video-catalog-cover-duration{z-index:2}
.video-catalog-card-cover[disabled]{cursor:default}
.video-catalog-cover-brand{position:absolute;left:12px;top:12px;padding:5px 9px;border:1px solid #ffffffa8;border-radius:7px;background:#102642f2;color:#fff;font-size:11px;font-weight:700;line-height:1.35;letter-spacing:.02em;box-shadow:0 2px 9px #07162970;text-shadow:0 1px 1px #07162970;backdrop-filter:blur(6px)}
.video-catalog-cover-duration{position:absolute;right:12px;top:12px;padding:5px 8px;border:1px solid #ffffff70;border-radius:7px;background:#08172be8;color:#fff;font-size:11px;font-weight:700;line-height:1.35;font-variant-numeric:tabular-nums;box-shadow:0 2px 9px #07162970;backdrop-filter:blur(6px)}
.video-catalog-cover-title{position:absolute;left:18px;right:60px;bottom:17px;z-index:1;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#fff;font-size:16px;font-weight:650;line-height:1.45}
.video-catalog-play-icon{position:absolute;right:18px;bottom:20px;z-index:1;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff55;border-radius:50%;background:#ffffff19;color:#fff;font-size:16px;backdrop-filter:blur(5px)}
.video-catalog-card-cover[disabled] .video-catalog-play-icon{display:none}
.video-catalog-cover-pending{position:absolute;right:15px;top:14px;padding:4px 8px;border:1px solid #ffffff31;border-radius:999px;background:#ffffff14;color:#e4ecfb;font-size:10px}
.video-catalog-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:9px;padding:17px}
.video-catalog-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.video-catalog-plugin{padding:3px 8px;border-radius:5px;background:#eff5ff;color:#2d5fa8;font-size:11px}
.video-catalog-kind{padding:3px 8px;border-radius:999px;font-size:10px;font-weight:600}
.video-catalog-kind--real{background:#e8f6ee;color:#22704c}
.video-catalog-kind--illustrated{background:#fff4dd;color:#886315}
.video-catalog-kind--partial{background:#eaf1ff;color:#315ea0}
.video-catalog-kind--pending{background:#edf0f5;color:#68768b}
.video-catalog-kind--featured{border:1px solid #ffd4b5;background:#fff1e6;color:#a44412}
.video-catalog-card h3{color:var(--ink);font-size:16px;line-height:1.5}
.video-catalog-card p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:var(--muted);font-size:12px;line-height:1.7}
.video-catalog-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:7px}
.video-catalog-card-actions a,.video-catalog-card-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid #cbd9ec;border-radius:7px;background:#fff;color:#315f9d;font:inherit;font-size:12px;cursor:pointer;text-decoration:none}
.video-catalog-card-actions a:hover,.video-catalog-card-actions button:hover{border-color:#89ace0;background:#f5f8ff}
.video-catalog-card-actions .video-catalog-copy[disabled]{opacity:.5;cursor:default}
.video-catalog-empty{padding:44px 18px;border:1px dashed #ccd9eb;border-radius:14px;background:#fff;text-align:center;color:var(--muted)}
.video-catalog-empty strong{display:block;color:var(--ink);font-size:16px}
.video-catalog-empty p{margin-top:5px;font-size:13px}
#video-catalog-status:empty{display:none}
.video-catalog-dialog{width:min(1600px,calc(100vw - 48px));max-width:min(1600px,calc(100vw - 48px));max-height:94dvh;margin:auto;padding:0;border:1px solid #ffffff24;border-radius:16px;background:#111827;color:#f8fafc;box-shadow:0 24px 80px #0007;overflow:hidden}
.video-catalog-dialog[open]{display:flex;flex-direction:column}
.video-catalog-dialog::backdrop{background:rgba(10,18,35,.78)}
.video-catalog-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid #ffffff20}
.video-catalog-dialog-head h2{min-width:0;overflow:hidden;color:#f8fafc;font-size:16px;text-overflow:ellipsis;white-space:nowrap}
.video-catalog-dialog-actions{display:flex;flex-shrink:0;align-items:center;gap:8px}
.video-catalog-step-progress{padding:6px 9px;border:1px solid #75a9ed70;border-radius:999px;background:#17345f;color:#dceeff;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.video-catalog-step-progress[hidden]{display:none}
.video-catalog-dialog button{padding:7px 10px;border:1px solid #ffffff30;border-radius:9px;background:#263449;color:#fff;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.video-catalog-dialog button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.video-catalog-dialog-stage{display:grid;place-items:center;min-height:160px;overflow:hidden;padding:12px;background:#080d16}
.video-catalog-dialog-stage video{display:block;width:100%;max-height:calc(94dvh - 120px);background:#000;object-fit:contain}
.video-player-notice{margin-top:8px;color:#f8fafc;font-size:13px;text-align:center}
.video-player-notice[hidden]{display:none}
.video-catalog-toast{position:fixed;z-index:120;right:20px;bottom:20px;display:grid;gap:8px;max-width:min(90vw,420px);padding:10px 14px;border:1px solid #ffffff2c;border-radius:10px;background:#14233d;color:#fff;box-shadow:0 12px 32px #07132840;font-size:13px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .16s ease,transform .16s ease}
.video-catalog-toast.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.video-catalog-toast .video-catalog-copy-fallback{box-sizing:border-box;width:100%;min-width:0;padding:7px 9px;border:1px solid #ffffff55;border-radius:7px;background:#fff;color:#17253a;font:inherit;font-size:12px}
@media(max-width:900px){.video-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-catalog-hero{padding:26px}.video-catalog-card-body{padding:15px}}
@media(max-width:620px){.video-catalog-shell{padding-top:14px}.video-catalog-hero{padding:22px 18px;margin:0 0 18px;border-radius:14px}.video-catalog-hero h1{font-size:28px}.video-catalog-tools{grid-template-columns:1fr;gap:8px;margin-bottom:20px}.video-catalog-grid{grid-template-columns:1fr;gap:12px}.video-catalog-card{display:grid;grid-template-columns:minmax(112px,34%) minmax(0,1fr)}.video-catalog-card-cover{height:100%;min-height:180px;aspect-ratio:auto}.video-catalog-cover-brand{left:10px;top:10px;padding:4px 8px;font-size:10px}.video-catalog-cover-title{left:10px;right:10px;bottom:12px;font-size:13px}.video-catalog-play-icon{right:10px;top:50%;bottom:auto;width:34px;height:34px;transform:translateY(-50%)}.video-catalog-cover-pending{display:none}.video-catalog-card-body{padding:12px;gap:6px}.video-catalog-card h3{font-size:14px}.video-catalog-card p{-webkit-line-clamp:2;font-size:11px}.video-catalog-card-actions{gap:6px;padding-top:4px}.video-catalog-card-actions a,.video-catalog-card-actions button{min-height:31px;padding:5px 8px;font-size:11px}.video-catalog-dialog{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}.video-catalog-dialog-head{padding:10px;gap:8px}.video-catalog-dialog-head h2{font-size:13px}.video-catalog-dialog-actions{gap:5px}.video-catalog-dialog button{padding:6px 7px;font-size:11px}.video-catalog-dialog-stage{padding:6px}.video-catalog-dialog-stage video{max-height:calc(100dvh - 70px)}}
