
/* 2026-10-17 태성: 클립 딸깍 = A(스크립트 알고리즘) × B(자막 타입·색) 두 개만 고르면 나머지(위치·크기·효과·음악·목소리·소리)는 AI 전체 추천 */
.ab-sec{background:#fff;border:1px solid #E6E6E3;border-radius:16px;padding:14px 16px;margin-top:10px}
.ab-h{display:flex;align-items:center;gap:8px;margin:0 0 10px}.ab-h b{font-size:15px}.ab-h .k{font-size:12px;font-weight:900;color:#244F94;background:#EEF3FB;border-radius:7px;padding:2px 8px}.ab-h .ai{font-size:11px;font-weight:800;background:#D8FF3E;color:#2B3300;border-radius:6px;padding:2px 6px}.ab-h small{color:#A3A3A0;font-size:12px}
.ab-h button{margin-left:auto;border:1px solid #E6E6E3;background:#F7F7F5;border-radius:99px;height:30px;padding:0 12px;font:inherit;font-size:12.5px;font-weight:700;color:#3D3D3A;cursor:pointer}
.ab-row{display:flex;gap:8px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px;overscroll-behavior-x:contain}
.ab-al{flex:none;width:200px;text-align:left;border:1.5px solid #E6E6E3;border-radius:13px;background:#fff;padding:10px 12px;cursor:pointer;font:inherit;display:flex;flex-direction:column;gap:4px}
.ab-al b{font-size:13.5px}.ab-al .lift{font-size:11.5px;font-weight:800;color:#0E8A55}.ab-al small{font-size:11.5px;color:#6E6E6B;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ab-al .why{color:#2E62B5}
.ab-al.on{border-color:#2E62B5;background:#EEF3FB}
.ab-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin-top:8px}.ab-grid .ab-al{width:auto}
.ab-sb{flex:none;width:112px;border:2px solid transparent;border-radius:12px;background:#fff;padding:0;cursor:pointer;font:inherit;text-align:left;overflow:hidden;box-shadow:0 0 0 1px #E6E6E3}
.ab-sb span{display:block;aspect-ratio:9/12;background:#F0F0EE center 69%/150% auto no-repeat}.ab-sb b{display:block;font-size:12px;padding:6px 7px 2px}.ab-sb small{display:block;font-size:11px;color:#2E62B5;padding:0 7px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ab-sb.on{border-color:#2E62B5}
.ab-sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;margin-top:8px}.ab-sgrid .ab-sb{width:auto}
.ab-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.ab-chips button{height:30px;padding:0 11px;border-radius:99px;border:1px solid #E6E6E3;background:#fff;font:inherit;font-size:12.5px;font-weight:600;color:#6E6E6B;cursor:pointer}.ab-chips button.on{background:#EEF3FB;border-color:#BFD2F0;color:#244F94}
.ab-ed{border:1.5px solid #BFD2F0;border-radius:16px;background:#F7FAFF;padding:12px;margin-bottom:10px;display:flex;flex-direction:column;gap:12px}
.ab-pv{position:relative;height:170px;border-radius:14px;overflow:hidden;background:#3a3026 url(/tools-assets/cafe-ex-1.jpg) center 62%/cover;display:flex;align-items:center;justify-content:center}
.ab-pv:before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.18)}
.ab-pv p{position:relative;margin:0;text-align:center;line-height:1.25;word-break:keep-all;padding:0 12px}
.ab-ed h4{margin:0 0 4px;font-size:15px}.ab-ed .sub{font-size:12px;color:#6E6E6B;margin:0 0 10px}
.ab-sw{display:flex;gap:7px;flex-wrap:wrap}.ab-sw button{width:34px;height:34px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #DADDE3;cursor:pointer}.ab-sw button.on{box-shadow:0 0 0 2px #2E62B5}.ab-sw .orig{width:auto;border-radius:99px;padding:0 10px;background:#fff;font:inherit;font-size:12px;font-weight:700;color:#3D3D3A}
.ab-ed .acts{display:flex;gap:6px;margin-top:12px}.ab-ed .acts button{height:38px;padding:0 14px;border-radius:10px;border:0;font:inherit;font-weight:800;cursor:pointer}.ab-ed .acts .sv{background:#2E62B5;color:#fff}.ab-ed .acts .cl{background:#fff;color:#3D3D3A;box-shadow:inset 0 0 0 1px #E6E6E3}
.ab-mine{display:flex;gap:6px;flex-wrap:wrap}.ab-mine button{height:34px;padding:0 12px;border-radius:10px;border:1px solid #E6E6E3;background:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.ab-mine button.on{border-color:#2E62B5;background:#EEF3FB;color:#244F94}.ab-mine button small{color:#A3A3A0;font-weight:500;margin-left:4px}
.ab-sum{font-size:13px;color:#3D3D3A;margin-top:10px}.ab-sum b{color:#244F94}
@media(max-width:640px){.ab-pv{height:140px}.ab-al{width:170px}}
#wmClipDdk .cd-more{display:none!important}
.st-box{border:1.5px solid #BFD2F0;border-radius:20px;background:#FBFCFE;padding:14px}
.st-top{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:6px}.st-top b{font-size:16px}.st-top small{flex-basis:100%;font-size:12.5px;color:#6E6E6B}
.st-badge{font-size:11.5px;font-weight:900;color:#2B3300;background:#D8FF3E;border-radius:7px;padding:3px 8px}
.st-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:12px;align-items:start}
.st-left,.st-right{min-width:0}
.st-right{position:sticky;top:76px;display:flex;flex-direction:column;gap:8px;margin-top:10px}
.st-ph{border-radius:26px;background:#191919;padding:7px;box-shadow:0 14px 30px -18px rgba(0,0,0,.5)}
.st-scr{position:relative;aspect-ratio:9/16;border-radius:20px;overflow:hidden;background:#3a3026 url(/tools-assets/cafe-ex-1.jpg) center/cover;display:flex;align-items:flex-end;justify-content:center}
.st-scr p{position:absolute;left:6%;right:6%;bottom:27%;margin:0;text-align:center;line-height:1.25;word-break:keep-all}
.st-cap{display:flex;flex-direction:column;gap:4px;padding:8px 6px 4px}.st-cap span{font-size:11.5px;font-weight:700;color:#fff;background:rgba(255,255,255,.12);border-radius:7px;padding:4px 8px}.st-cap .no{color:#A3A3A0}
.st-save{height:46px;border:0;border-radius:12px;background:#2E62B5;color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}.st-save:disabled{background:#B9C9E6}
.st-cancel{height:38px;border:1px solid #E6E6E3;border-radius:11px;background:#fff;font:inherit;font-weight:700;cursor:pointer}
.st-msg{font-size:12.5px;color:#0E8A55;margin:2px 0 0}
.st-done{display:flex;align-items:center;gap:10px;border:1px solid #E6E6E3;border-radius:16px;background:#fff;padding:12px 14px}
.st-ok{width:26px;height:26px;border-radius:50%;background:#0E8A55;color:#fff;display:grid;place-items:center;font-weight:900;flex:none}
.st-dt{flex:1;min-width:0}.st-dt b{display:block;font-size:14.5px}.st-dt small{display:block;font-size:12.5px;color:#6E6E6B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-mini{flex:none;padding:4px 8px;border-radius:8px;background:#3a3026 url(/tools-assets/cafe-ex-1.jpg) center/cover}
.st-edit{height:36px;padding:0 14px;border-radius:10px;border:1px solid #BFD2F0;background:#EEF3FB;color:#244F94;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:820px){.st-grid{grid-template-columns:minmax(0,1fr)}.st-right{position:static;flex-direction:row;flex-wrap:wrap;align-items:center}.st-ph{width:150px}.st-save{flex:1}
#wmClipDdk .ab-h{flex-wrap:wrap}
#wmClipDdk .ab-h small{white-space:normal;overflow-wrap:anywhere}
#wmClipDdk .ab-mine button{max-width:100%;height:auto;min-height:34px;white-space:normal;overflow-wrap:anywhere;padding-top:7px;padding-bottom:7px}
}
