/* 담기 — one accent, the thumbnail carries the colour. */
.competitor-video-detail-modal[data-competitor-capture]{position:relative}
/* Same size, shape and surface as the popup's × button beside it. */
.cap-button{flex:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;margin-left:auto;margin-right:0;padding:0 14px 0 11px;border:1px solid #e0e7ec;border-radius:11px;background:#f6f8fa;color:#17213a;font:800 13.5px/1 inherit;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.cap-button svg{width:16px;height:16px;color:#0795a7}
#modalRoot .competitor-video-detail-modal-head .cap-button,#modalRoot .competitor-video-detail-modal-head button.workspace-modal-close,#modalRoot .competitor-video-detail-modal-head [data-close-modal]{align-self:center}
.cap-button:hover,.cap-button.cap-open{background:#17213a;border-color:#17213a;color:#fff}
.cap-button:hover svg,.cap-button.cap-open svg{color:#7fd6df}
.cap-sheet{position:absolute;z-index:40;width:340px;max-width:calc(100% - 24px);border:1px solid #e6ebf1;border-radius:20px;background:#fff;color:#17213a;box-shadow:0 24px 60px rgba(23,33,58,.2),0 2px 8px rgba(23,33,58,.06);overflow:hidden;animation:cap-in .16s ease-out}
@keyframes cap-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.cap-hero{position:relative;aspect-ratio:16/9;background:#111 center/cover}
.cap-hero i{position:absolute;top:10px;right:10px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.94);color:#17213a;font:800 12px/1 inherit;font-style:normal}
.cap-title{padding:12px 14px 0;font-size:13.5px;font-weight:700;line-height:1.4;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cap-title small{display:block;margin-top:4px;color:#6b778a;font-size:11.5px;font-weight:600}
.cap-dest{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:10px}
.cap-sheet.is-pick{width:236px}
@media (max-width:640px){.cap-sheet.is-pick{width:auto}}
.cap-dest button{position:relative;display:grid;justify-items:center;gap:9px;padding:16px 4px 13px;border:1px solid #e6ebf1;border-radius:14px;background:#fff;color:#17213a;font:700 13px/1 inherit;cursor:pointer;transition:border-color .15s,transform .15s}
.cap-dest button:hover{border-color:#17213a;transform:translateY(-1px)}
.cap-dest button.is-done::after{content:"✓";position:absolute;top:7px;right:8px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#0795a7;color:#fff;font-size:10px;font-weight:900}
.cap-step{padding:14px}
.cap-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:0;border:0;background:none;color:#6b778a;font:700 12.5px/1 inherit;cursor:pointer}
.cap-mini{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;margin-bottom:12px}
.cap-mini span{aspect-ratio:16/9;border-radius:8px;background:#111 center/cover}
.cap-mini b{font-size:12.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cap-search input{width:100%;box-sizing:border-box;height:38px;margin-bottom:8px;padding:0 12px;border:1px solid #e6ebf1;border-radius:11px;font:500 13px/1 inherit;color:#17213a;outline:none}
.cap-search input:focus{border-color:#17213a}
.cap-list{display:grid;gap:4px;max-height:300px;overflow:auto}
.cap-item{display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:center;padding:8px 10px;border:0;border-radius:12px;background:none;text-align:left;color:#17213a;font:inherit;cursor:pointer}
.cap-item:hover,.cap-item.top{background:#f5f7fa}
.cap-item b{display:block;font-size:13.5px}
.cap-item small{color:#6b778a;font-size:11.5px}
.cap-av{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e4e9ef;color:#55637a;font-weight:800}
.cap-new .cap-av{background:#fff;border:1px dashed #c9d2dd}
.cap-go{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid #e6ebf1}
.cap-item.top .cap-go,.cap-item:hover .cap-go{background:#17213a;border-color:#17213a;color:#fff}
.cap-date{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid #e6ebf1;line-height:1;font-weight:800;font-size:13px}
.cap-date small{display:block;margin-top:3px;color:#6b778a;font-size:10px;font-weight:700}
.cap-empty{margin:6px 2px 4px;color:#6b778a;font-size:12.5px}
.cap-toast{white-space:nowrap;max-width:calc(100vw - 24px);position:fixed;z-index:10000;left:50%;bottom:28px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:12px;padding:8px;border-radius:14px;background:#17213a;color:#fff;font-size:13px;font-weight:600;box-shadow:0 14px 30px rgba(23,33,58,.25);animation:cap-in .16s ease-out}
.cap-toast span{flex:none;width:56px;aspect-ratio:16/9;border-radius:6px;background:#333 center/cover}
.cap-toast button{flex:none;white-space:nowrap;height:28px;padding:0 11px;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font:700 12px/1 inherit;cursor:pointer}
.cap-mark{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;margin-left:6px;border-radius:50%;background:#0795a7;color:#fff;font-size:10px;font-weight:900;vertical-align:middle}
.cap-sheet.is-floating{position:fixed;z-index:9000}
@media (max-width:640px){.cap-toast{top:14px;bottom:auto}.cap-button{padding:0 11px 0 9px}.cap-sheet{position:fixed;left:12px;right:12px!important;top:auto!important;bottom:12px;width:auto;max-width:none}}
