/* 숏컷 앱 전용 추가 스타일. 제공 CSS(styles/new-project/editor/projects.css)는 수정하지 않고,
   그쪽 CSS 변수(--lime, --border, --secondary …)를 재사용해 '제공 패키지에 없던 요소'만 최소한으로 꾸민다. PC 기준. */
[hidden]{display:none!important}
button:not(:disabled),label[for],select{cursor:pointer}
.nav-item.soon{opacity:.6;width:100%;text-align:left}
.nav-item.soon small{margin-left:auto;font-size:10px;color:var(--text-3);font-weight:400}
.sc-spin{display:inline-block;width:13px;height:13px;border:2px solid var(--line-2);border-top-color:var(--lime);border-radius:0;animation:sc-sp .8s linear infinite;vertical-align:-2px}
@keyframes sc-sp{to{transform:rotate(360deg)}}
#sc-toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;z-index:60;pointer-events:none}
.sc-toast{pointer-events:auto;max-width:440px;background:var(--text);color:var(--on-accent);padding:10px 16px;border-radius:var(--control-radius);font-size:13px;font-weight:600;box-shadow:none}
.sc-toast.bad{background:var(--bad)}

/* 캡션 샘플(새 작업·출력 설정 공통) */
.caption-sample{height:70px;margin-top:8px;border-radius:2px;background:linear-gradient(160deg,#2a3142,#0b0f18);display:flex;align-items:flex-end;justify-content:center;padding:9px}
.caption-sample .cap{font-weight:800;font-size:14px;color:#fff;text-align:center;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}
.caption-sample .cap em{font-style:normal}
.caption-sample .cap-highlight em,.caption-sample .cap-big em{color:#ffd84a}
.caption-sample .cap-big{font-size:20px;line-height:1.2}

/* ---------- 새 작업 ---------- */
.new-page .upload-dropzone.over{border-color:var(--lime);background:color-mix(in srgb,var(--accent) 5%,transparent)}
.new-page .source-check{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding:8px 10px;border:1px solid var(--new-border);border-radius:2px;background:var(--bg-2);font-size:13px;color:var(--text-2)}
.new-page .source-check.bad{border-color:var(--bad-line);color:var(--bad);flex-direction:row;align-items:center;gap:8px}
.new-page .source-line{display:flex;align-items:center;gap:10px}
.new-page .source-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:13px}
.new-page .source-line .button{height:28px;font-size:13px}
.new-page .source-line .chip{height:26px}
.new-page .chip.bad,.chip.bad{color:var(--bad);border-color:var(--bad-line)}
.new-page .source-note{color:var(--yellow);font-size:13px}
.new-page .source-note.bad,.new-page .bad{color:var(--bad)}
.new-page .upload-panel .range-row{margin-top:10px;padding-top:10px;border-top:1px solid var(--new-border);gap:10px}
.new-page .range-fields{display:flex;gap:12px}
.new-page .range-field{display:flex;align-items:center;gap:8px;font-size:13px}
.new-page .range-field .field{width:92px}
.new-page .range-hint{flex:1;min-width:0}
.new-page .crop-pos-row{min-height:40px;gap:12px}
.new-page .crop-pos-row input[type=range]{flex:0 0 220px;accent-color:var(--lime)}
.new-page .style-panel{padding-bottom:6px}
.new-page .style-col{flex:1;min-width:0}
.new-page .style-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.new-page .font-row{min-height:46px;gap:12px}
.new-page .font-row .select-wrap{flex:0 0 171px}
.new-page .font-row .select-wrap select{height:32px;font-size:13px}
.new-page .font-row .select-wrap .icon{top:9px}
.new-page .channel-label{flex:0 0 auto;margin-left:14px}
.new-page .channel-field{flex:1;font-size:13px}
.new-page .overlay-row{min-height:44px;gap:20px}
.new-page .overlay-row .meta{flex:1;min-width:0}
.new-page .find-clips:disabled{opacity:.4;cursor:not-allowed}
.new-page .start-hint.bad{color:var(--bad)}

/* ---------- 편집 ---------- */
.editor-page{--sc-bad:var(--bad)}
.editor-page .editor-heading-actions .button[aria-disabled=true],.editor-page .editor-heading-actions .button:disabled{opacity:.4;pointer-events:none}
.editor-title-row .editor-status-working{color:var(--yellow);background:var(--yellow-bg);border-color:var(--yellow-line)}
.editor-title-row .editor-status-review{color:var(--text-2);background:var(--bg-3)}
.editor-title-row .editor-status-bad{color:var(--sc-bad);background:var(--bad-bg);border-color:var(--bad-line)}
.editor-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60vw}
.editor-candidates{display:flex;flex-direction:column}
.editor-candidate-list{flex:1;min-height:0;overflow:auto;align-content:start}
.sc-cand{position:relative}
.sc-cand .editor-candidate{width:100%}
.sc-include{position:absolute;right:9px;top:9px;width:20px;height:20px;margin:0;accent-color:var(--lime)}
.editor-candidate img{background:var(--bg-3)}
.editor-candidate-title{overflow:hidden;text-overflow:ellipsis;padding-right:24px}
.editor-candidate.excluded{opacity:.5}
.sc-add-clip{width:100%;height:34px;margin-top:8px;font-size:13px;border:1px solid var(--line-2);border-radius:2px;background:transparent;color:var(--text);flex:none}
.sc-add-clip:hover,.editor-candidate:hover{border-color:var(--line-2)}
.editor-candidate-help{flex:none}
.editor-source{width:100%;height:100%;object-fit:contain;background:#000;display:block}
.editor-video-stage>.editor-source{flex:1;min-width:0}
.editor-portrait video.editor-still{background:#000}
.editor-tabs button:disabled{opacity:.4;cursor:not-allowed}
.editor-progress{cursor:pointer}
.editor-progress:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.editor-play-time{min-width:68px;text-align:right}
.sc-stage-msg{display:grid;place-items:center;align-content:center;gap:10px;width:100%;height:100%;padding:20px;text-align:center;color:var(--secondary);font-size:13px;line-height:1.5}
.sc-stage-msg strong{color:var(--text);font-size:15px}
.sc-stage-msg .bad{color:var(--sc-bad)}
.sc-pbar{width:70%;height:7px;border-radius:2px;background:var(--line);overflow:hidden}
.sc-pbar>i{display:block;height:100%;width:0;background:var(--ok);transition:width .4s}
.sc-pbar.ind>i{width:35%;animation:sc-ind 1.4s ease-in-out infinite}
@keyframes sc-ind{0%{margin-left:-35%}100%{margin-left:100%}}
.sc-log{margin:0;padding:10px 12px;max-height:220px;overflow:auto;white-space:pre-wrap;font:11px/1.7 Consolas,monospace;color:var(--secondary);background:var(--bg-2);border:1px solid var(--line);border-radius:2px}
.editor-waveform.empty{background:var(--bg-2);border-radius:2px}
.editor-clip-info{flex:0 0 auto!important;min-height:193px}
.editor-info-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.editor-info-head h2{margin:0}
.editor-clip-info h2{margin-bottom:0}
.sc-mini-actions{display:flex;gap:6px}
.sc-mini{height:26px;padding:0 10px;border:1px solid var(--line-2);border-radius:2px;background:transparent;color:var(--text);font-size:12px;font-weight:500}
.sc-mini.danger{color:var(--sc-bad);border-color:var(--bad-line)}
.sc-mini:disabled{opacity:.4;cursor:not-allowed}
.editor-page .field[aria-invalid=true]{border-color:var(--sc-bad)}
.sc-field-note{margin:-4px 0 0 72px;font-size:12px;color:var(--sc-bad);min-height:0}
.sc-field-note:empty{display:none}
.sc-hint{display:flex;gap:8px;align-items:flex-start;margin:6px 0 0 72px;font-size:12px;line-height:16px;color:var(--editor-muted)}
.editor-subtitle-panel{overflow:auto!important}
.editor-chip-lang{display:inline-flex;align-items:center;height:23px;padding:0 12px;border:1px solid var(--line);border-radius:2px;background:var(--bg-2);font-size:12px;color:var(--secondary)}
.sc-cap-tools{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 5px 8px}
.sc-cap-tools .field{height:28px;font-size:12px}
.sc-tool-row{grid-column:1/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sc-tool-btn{height:26px;padding:0 10px;border:1px solid var(--line-2);border-radius:2px;background:transparent;color:var(--text);font-size:12px;font-weight:500;display:inline-flex;align-items:center;gap:6px}
.sc-tool-btn:disabled{opacity:.4;cursor:not-allowed}
.sc-tool-btn .editor-icon{width:14px;height:14px}
.sc-tool-note{font-size:12px;color:var(--secondary)}
.sc-badge{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:2px;font-size:12px;color:var(--yellow);background:var(--yellow-bg);border:1px solid var(--yellow-line)}
.sc-kind{margin:4px 0 0 6px;height:20px;color:var(--text-2);background:var(--bg-2);border-color:var(--line)}
.sc-only-clip{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--secondary)}
.sc-only-clip input{accent-color:var(--lime)}
.editor-subtitle-line.sc-line{grid-template-columns:109px minmax(0,1fr) auto auto 28px;gap:6px;border-radius:2px}
.sc-line.now{background:var(--bg-3)}
.sc-line.hit .field{border-color:var(--accent)}
.sc-seek{background:none;border:0;padding:0;color:var(--editor-muted);cursor:pointer}
.sc-seek:hover{color:var(--lime)}
.sc-icon-btn{width:28px;height:28px;padding:0;border:0;border-radius:2px;background:transparent;color:var(--text-2);display:grid;place-items:center}
.sc-icon-btn:hover{color:var(--sc-bad)}
.sc-icon-btn .editor-icon{width:16px;height:16px}
.sc-empty{margin:4px 5px 0;padding:18px 12px;border:1px dashed var(--line-2);border-radius:2px;text-align:center;color:var(--editor-muted);font-size:13px;line-height:1.6}
.sc-empty strong{display:block;margin-bottom:3px;color:var(--text);font-size:14px}
.sc-empty .button{margin-top:12px;height:34px;font-size:13px}
.sc-out-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;align-items:center;margin:0 5px 10px;font-size:13px}
.sc-out-row .field{height:30px;font-size:13px}
.sc-out-row input[type=range]{width:100%;accent-color:var(--lime)}
.sc-out-row .sc-sub{grid-column:2;margin-top:-6px;font-size:12px;color:var(--editor-muted)}
.sc-toggle-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 5px 10px;font-size:13px}
.sc-toggle-row small{display:block;color:var(--editor-muted);font-size:12px}
.sc-toggle-row .toggle{border:0;padding:0;cursor:pointer}
.sc-toggle-row .toggle:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.sc-out-note{margin:6px 5px 0;font-size:12px;color:var(--editor-muted)}
.editor-style-select{width:100%}

/* ---------- 프로젝트 ---------- */
.project-photo .no-thumb{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);background:var(--bg-3);font-size:13px}
.photo-status.working{color:var(--yellow);background:var(--yellow-bg);border-color:var(--yellow-line)}
.photo-status.bad{color:var(--bad);background:var(--bad-bg);border-color:var(--bad-line)}
.project-card-content h3{overflow:hidden;text-overflow:ellipsis}
.card-actions .button{cursor:pointer}
.sc-empty-big{padding:48px 20px;text-align:center;color:var(--secondary);border:1px dashed var(--line-2);border-radius:var(--radius);background:var(--bg-2)}
.sc-empty-big h3{font-size:19px;color:var(--text);margin-bottom:6px}
.sc-empty-big .button{margin-top:18px}
.sc-notice-bad{display:flex;gap:10px;align-items:center;padding:12px 16px;border:1px solid var(--bad-line);border-radius:2px;background:var(--bad-bg);color:var(--bad)}
dialog.sc-dialog{background:var(--bg-3);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);padding:20px;width:420px;max-width:calc(100% - 32px)}
dialog.sc-dialog::backdrop{background:color-mix(in srgb,var(--bg-3) 70%,transparent)}
.sc-dialog h2{font-size:18px;margin-bottom:10px}
.sc-dialog p{color:var(--secondary);line-height:1.6;margin-bottom:16px}
.sc-dialog p strong{color:var(--text)}
.sc-dialog .acts{display:flex;justify-content:flex-end;gap:8px}
.sc-dialog .button{min-height:36px;font-size:13px}
.sc-dialog .danger{color:var(--bad);border-color:var(--bad-line)}

/* 페이지가 1화면보다 길어도 사이드바(사용량 카드 포함)가 화면 하단에 붙어 있게 */
#sidebar{position:sticky;top:0;height:100vh;align-self:start;overflow:auto}
.project-photo>img{position:relative;z-index:1}
.project-subtitle{min-height:25px} /* 제공 화면의 '예시 데이터' 칩이 차지하던 높이를 유지해 카드 위치를 맞춘다 */
.sc-out-row select.field{background:var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23dbe1e9' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center}

/* 클립 길이 자동/직접 지정(새 작업) */
.new-page .len-note{margin:-4px 0 8px;padding-left:0}
.new-page .len-note.bad,.new-page .len-note:empty{color:var(--bad)}
.new-page .length-mode-row{padding-bottom:6px}
.new-page .type-option.disabled{opacity:.45}
.new-page .type-option.disabled input{cursor:not-allowed}
.new-page .length-mode-row .type-options{grid-template-columns:repeat(2,minmax(0,1fr));max-width:260px}

/* 새 작업: AI 구간 선정 소요 안내(AI 켜짐일 때만 표시) */
.new-page #ai-eta{margin:6px 0 4px}

/* ---------- AI 추가 요청(새 작업·다시 만들기 공통) ---------- */
.ai-request-row{align-items:flex-start;gap:12px}
.ai-request-row.disabled{opacity:.45}
.ai-request-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.ai-request-wrap textarea.field{height:auto;min-height:56px;padding:8px 10px;resize:vertical;line-height:1.45;font-family:inherit}
.regen-box{margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:var(--control-radius);display:flex;flex-direction:column;gap:8px}
.regen-box .regen-title{font-size:13px;font-weight:600}
.regen-box textarea.field{height:auto;min-height:56px;padding:8px 10px;resize:vertical;line-height:1.45;font-family:inherit;width:100%;box-sizing:border-box}
.regen-box .regen-foot{display:flex;align-items:center;gap:10px}
.regen-box .regen-foot .meta{flex:1;min-width:0}

/* 대본 편집 탭 */
.sc-script-sum{margin:0 5px 8px;font-size:13px;color:var(--secondary)}
.sc-script-sum strong{color:var(--text)}
.sc-script-list{list-style:none;margin:0;padding:0 5px;display:flex;flex-direction:column;gap:6px}
.sc-script-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:6px 8px;border-radius:2px;background:var(--bg-2);font-size:13px;line-height:1.5}
.sc-script-time{font-variant-numeric:tabular-nums}
.sc-script-row.cut .sc-script-text,.sc-script-row.cut .sc-script-time{opacity:.5}
.sc-script-row.cut .sc-script-text{text-decoration:line-through}
.sc-script-btn{height:28px;min-width:62px;padding:0 10px;border:1px solid var(--line-2);border-radius:2px;background:transparent;color:var(--text);font-size:12px}
.sc-script-btn:hover,.sc-script-btn:focus-visible{border-color:var(--lime);color:var(--lime)}
.sc-script-row.cut .sc-script-btn{border-color:var(--lime);color:var(--lime)}
.sc-script-note{margin:4px 5px 0;padding:18px 12px;border:1px dashed var(--line-2);border-radius:2px;text-align:center;color:var(--editor-muted);font-size:13px;line-height:1.6}
.sc-script-note.bad{color:var(--sc-bad)}
.sc-script-help{margin:8px 5px 0;font-size:12px;color:var(--editor-muted)}
.editor-trim-handle{cursor:ew-resize;touch-action:none}
.editor-trim-handle::before{content:"";position:absolute;inset:0 -8px}

/* 번들 글꼴(무료 OFL): 편집기·새 작업 화면의 자막 미리보기에서 실제 결과와 같은 글꼴로 보이게 한다 */
@font-face { font-family: "Black Han Sans"; src: url("/bundled-fonts/BlackHanSans-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Do Hyeon"; src: url("/bundled-fonts/DoHyeon-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Jua"; src: url("/bundled-fonts/Jua-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Gowun Batang"; src: url("/bundled-fonts/GowunBatang-Bold.ttf") format("truetype"); font-weight:600; font-display: swap; }

/* 새 작업: 자막 글씨 크기 슬라이더와 미리보기 배율 */
.sc-size-row{display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:10px;margin-top:8px;font-size:13px}
.sc-size-row input[type=range]{width:100%;accent-color:var(--lime)}
.sc-size-row span{text-align:right;color:var(--editor-muted,var(--text-2))}

/* 해상도 선택과 장단점 문구 */
.sc-res{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px;align-items:center;margin-top:8px;font-size:13px}
.sc-res .field{height:30px;font-size:13px}
.sc-res-note{grid-column:1 / -1;margin:0;font-size:12px;line-height:1.55;color:var(--editor-muted,var(--text-2))}
.sc-out-row .sc-res-note{grid-column:2;margin-top:-4px}
.sc-res-note strong{color:var(--editor-text,var(--text));font-weight:600;margin-right:4px}
.sc-pv{margin-bottom:12px}
.sc-pv-frame{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:9/16;max-height:340px;margin:0 auto;border-radius:2px;overflow:hidden;background:var(--bg);border:1px solid rgba(255,255,255,.1)}
.sc-pv-frame img{width:100%;height:100%;object-fit:contain;display:block}
.sc-pv.busy img{opacity:.45}
.sc-pv-msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;text-align:center;font-size:13px;color:var(--text-2)}
.sc-pv-msg[hidden],.sc-pv-frame img[hidden]{display:none}
.sc-pv-note{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--text-2);text-align:center}
.new-page .sc-pv-frame{max-height:380px}
.new-page #sc-pv-box:has(.sc-pv) + .format-preview .format-drawing{display:none}
.new-page .sc-extra-row{align-items:flex-start;padding:12px 0}
.new-page .sc-extra-ctl{flex:1;min-width:0}
.new-page .sc-extra-ctl .sc-size-row{margin-top:0;grid-template-columns:minmax(0,260px) 48px}
.new-page .sc-extra-ctl .sc-res{display:block;margin-top:0}
.new-page .sc-extra-ctl .sc-res .field,.new-page .sc-extra-ctl>.field{width:100%;max-width:420px;height:36px;font-size:13px}
.new-page .sc-extra-ctl .sc-res-note{margin-top:6px;font-size:12px}
.new-page .format-preview{height:auto;min-height:0;padding-bottom:16px}
.new-page .black-thumbnail{background:#000}
.new-page .white-thumbnail{background:#fff}
.new-page .black-thumbnail::before,.new-page .white-thumbnail::before{inset:15px 0}
.new-page .crop-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.sc-lblrow{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 6px;font-size:13px}
.sc-lblrow .toggle{border:0;padding:0;cursor:pointer}
.sc-lblrow .toggle:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.sc-login{min-height:100vh;display:grid;place-items:center;padding:16px}
.sc-login form{width:min(360px,100%);display:grid;gap:8px}
.sc-login label{font-size:13px;color:var(--editor-muted,var(--text-2));margin-top:6px}
.sc-login .field{height:40px;width:100%}
.sc-login .button{margin-top:10px;min-height:42px}
.sc-login-err{min-height:18px;margin:0;font-size:13px;color:var(--bad)}

.sc-bumpers{margin:0 5px 8px}
.sc-bumper{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:6px}
.sc-bumper>span{flex:1}
.sc-bumper small{opacity:.65;margin-left:6px}
.sc-bumper-btn{border:1px solid currentColor;border-radius:2px;padding:4px 10px;font-size:12px;cursor:pointer;background:none;color:inherit}
.sc-bumpers.busy{opacity:.5;pointer-events:none}

/* ---------- 스타일 템플릿 갤러리 ---------- */
.sc-tpl{margin:0 5px 12px}
.sc-tpl-h{margin-bottom:8px;font-size:13px}
.sc-tpl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:3px}
.sc-tpl-card{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sc-tpl-in{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.sc-tpl-img{position:relative;display:block;aspect-ratio:9/16;overflow:hidden;border-radius:2px;border:1px solid var(--line);background:linear-gradient(100deg,var(--bg-2) 30%,var(--bg-3) 50%,var(--bg-2) 70%) 0 0/200% 100%;animation:a-tpl-sh 1.4s linear infinite}
.sc-tpl-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .2s}
.sc-tpl-img.ok{animation:none;background:var(--bg)}
.sc-tpl-img.ok img{opacity:1}
.sc-tpl-img.bad{animation:none;background:var(--bg-2)}
.sc-tpl-img.bad img{display:none}
.sc-tpl-name{font-size:12px;line-height:1.3;color:var(--editor-muted,var(--text-2));overflow-wrap:anywhere;text-align:center}
.sc-tpl-card:hover .sc-tpl-img{border-color:var(--line-2)}
.sc-tpl-in:checked~.sc-tpl-img{border-color:var(--lime);box-shadow:0 0 0 2px var(--lime)}
.sc-tpl-in:checked~.sc-tpl-img::after{content:"";position:absolute;right:5px;top:5px;width:16px;height:16px;border-radius:0;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 3 3 5-6' fill='none' stroke='%23182004' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat}
.sc-tpl-in:checked~.sc-tpl-name{color:var(--lime);font-weight:600}
.sc-tpl-in:focus-visible~.sc-tpl-img{outline:2px solid var(--text-2);outline-offset:2px}
.sc-tpl-note{margin:8px 0 0;font-size:12px;color:var(--editor-muted,var(--text-2))}
@keyframes a-tpl-sh{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.sc-tpl-img{animation:none}.sc-tpl-img img{transition:none}}
.sc-line-btn{height:24px;padding:0 6px;font-size:12px}
