.brandpack-section{margin-top:34px}
.brandpack-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 18px;padding:18px;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-panel)}
.brandpack-form label>span,.watch-form label>span{display:block;font-size:12px;color:var(--studio-muted);margin-bottom:6px}
.brandpack-form select,.brandpack-form input[name=nameAr],.watch-form input[type=url]{min-width:180px;max-width:100%;padding:10px 12px;border:1px solid var(--studio-line);border-radius:8px;background:var(--studio-bg);color:var(--studio-text);font:inherit}
.brandpack-options{display:flex;flex-wrap:wrap;gap:10px 18px;flex:1;min-width:220px}
.brandpack-check{display:inline-flex;align-items:center;gap:8px;color:var(--studio-text);font-size:14px;cursor:pointer}
.brandpack-check input{accent-color:var(--studio-silver);width:16px;height:16px}
.brandpack-note,.brandpack-empty{color:var(--studio-muted);font-size:13px;line-height:1.6;max-width:860px;margin:12px 0 18px}
.brandpack-list{display:grid;gap:18px}
.brandpack{border:1px solid var(--studio-line);border-radius:12px;background:#121820;padding:16px}
.brandpack>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.brandpack>header strong{display:block;font-family:var(--display);font-size:17px}
.brandpack>header small{color:var(--studio-muted);font-size:12px}
.brandpack-posters{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.brandpack figure{margin:0;min-width:0}
.brandpack-posters img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px;border:1px solid var(--studio-line);background:var(--studio-bg)}
.brandpack figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:12px;color:var(--studio-muted)}
.brandpack-links{display:inline-flex;gap:10px;align-items:center}
.brandpack-links a,.brandpack-links button{color:var(--studio-silver);font:inherit;font-size:12px;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.brandpack-links button[disabled]{opacity:.6;cursor:default;text-decoration:none}
.brandpack-motion{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,180px));gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--studio-line)}
.brandpack-motion video{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:8px;background:#000}
.brandpack-rendering{display:flex;align-items:center;gap:12px;color:var(--studio-muted);font-size:14px;padding:18px 4px}
.brandpack-spinner{width:18px;height:18px;border:2px solid var(--studio-line);border-top-color:var(--studio-silver);border-radius:50%;animation:brandpack-spin 1s linear infinite}
@keyframes brandpack-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.brandpack-spinner{animation:none}}
.brandpack-error,.watch-error{color:#f2b8b5}
.brandpack-older{margin-top:16px}.brandpack-older summary,.watch-items summary{cursor:pointer;color:var(--studio-muted);font-size:14px;padding:6px 0}
.watch-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 18px;margin-top:6px}
.watch-form .automation-actions{margin:0}
.watch-result{font-size:14px;color:var(--studio-silver)!important;margin:14px 0 4px}.watch-result small{color:var(--studio-muted)}
.watch-items ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px;max-height:320px;overflow:auto}
.watch-items li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;border-radius:8px;background:#101821}
.watch-items li span{min-width:0;overflow-wrap:anywhere}.watch-items li small{color:var(--studio-muted);margin-left:6px}
.watch-items li em{font-style:normal;font-size:12px;color:var(--studio-muted);white-space:nowrap}
.watch-items .chat-button{white-space:nowrap}
@media (max-width:600px){.brandpack-section .section-header{flex-direction:column;align-items:flex-start;gap:4px}.brandpack-posters{grid-template-columns:repeat(2,minmax(0,1fr))}.brandpack-motion{grid-template-columns:repeat(2,minmax(0,1fr))}.brandpack-form select,.brandpack-form input[name=nameAr],.watch-form input[type=url]{min-width:0;width:100%}.brandpack-form label,.watch-form label:first-child{width:100%}}
