/* CONVERT · page-only styles (prefix cv-); everything else is the shell */
.cv-priv{margin-top:0}
.cv-actions .btn+.btn{margin-top:10px}
.cv-actions .btn[hidden]+.btn{margin-top:0}
.btn .spin{width:16px;height:16px;border-width:2px;margin-right:8px;vertical-align:-3px}
#drop.slim{min-height:84px;flex-direction:row;gap:14px;padding:14px 18px;text-align:left}
#drop.slim .ic{width:40px;height:40px;flex:none}
#drop.slim .ic svg{width:20px;height:20px}
#drop.slim small{display:none}
#drop.slim b{font-size:12px}
.cv-bar{display:flex;align-items:center;gap:16px;margin:16px 2px 12px;flex-wrap:wrap}
.cv-count{font-size:12px;letter-spacing:.08em;color:var(--fg-2)}
.cv-bar .prog{flex:1;min-width:180px}
.cv-list{display:grid;gap:8px}
.cv-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:6px 14px;align-items:center;padding:10px 12px;border-radius:var(--r-2);border:1px solid var(--hair-2);background:var(--bg-1);box-shadow:var(--hi);animation:rise .45s var(--ease) both}
.cv-row.err{border-color:rgba(var(--bad-rgb),.35);background:rgba(var(--bad-rgb),.04)}
.cv-th{width:56px;height:56px;border-radius:var(--r-3);overflow:hidden;background:repeating-conic-gradient(var(--n-14141e) 0 25%,var(--n-0f0f17) 0 50%) 0 0/12px 12px;border:1px solid var(--hair-2);display:flex;align-items:center;justify-content:center}
.cv-th img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}   /* letterboxed: a 1:8 strip stays a strip */
.cv-th svg{width:22px;height:22px;stroke:var(--fg-4);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cv-nm{min-width:0}
.cv-nm b{display:block;font-weight:500;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cv-nm span{display:block;margin-top:3px;font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:var(--fg-3)}
.cv-nm span.out{color:var(--fg-2)}
.cv-nm span.out i{font-style:normal;color:var(--ok)}
.cv-nm span.out i.up{color:var(--warn)}
.cv-st{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--fg-3);white-space:nowrap}
.cv-st .spin{width:14px;height:14px}
.cv-st.done{color:var(--ok)}.cv-st.err{color:var(--bad)}
.cv-act{display:flex;gap:6px}
.cv-act .btn2{width:36px;height:36px;padding:0}
.cv-act .btn2 svg{width:16px;height:16px}
.cv-msg{grid-column:2/-1;font-size:12px;color:var(--bad)}
.cv-msg.warn{color:var(--warn)}
@media (max-width:620px){
  .cv-row{grid-template-columns:48px minmax(0,1fr) auto;padding:10px}
  .cv-th{width:48px;height:48px}
  .cv-st{grid-column:2;grid-row:2}
  .cv-act{grid-column:3;grid-row:1/3;align-self:center}
  .cv-msg{grid-column:1/-1}
}
@media (max-width:980px){body.cv-empty .stage{order:-1}}
@media (max-width:520px){#drop.slim>span{display:none}#drop.slim{min-height:64px}}   /* phone: «Добавить ещё файлы» alone */
.side.cv-tall{position:static}
/* phone: the empty stage is just the drop zone, not a tall dark box; touch screens have no Ctrl+V */
@media (max-width:980px){body.cv-empty .stage>.shell>.core{min-height:0}}
@media (hover:none){.cv-paste{display:none}}
/* «Оригинал» is the longest of the four sizes: give it more room so it never breaks inside the word on a narrow phone */
#size button{flex:1 1 auto;white-space:nowrap;overflow-wrap:normal}
@media (max-width:420px){#size button{padding:6px 3px;letter-spacing:.04em}}
/* ---- empty state: ghost rows of the list (thumbnails are drawn scenes, no photos) ---- */
.ghost.cv-gh{display:grid;gap:8px;margin-top:14px;padding:44px 14px 14px}
.cv-gh[hidden]{display:none}
.cv-row.cv-grow{animation:none;background:rgba(255,255,255,.015)}
.cv-grow .cv-nm{display:grid;gap:7px}
.cv-grow .cv-nm>.ghost-line{height:11px}
.cv-grow .cv-nm span{display:flex;align-items:center;gap:6px;margin:0}
.cv-grow .ghost-line.in{display:inline-block;width:44px}
.cv-grow .cv-nm span.out b{font-weight:500;color:var(--accent-3)}
.cv-gth{display:block;width:100%;height:100%}
.cv-gth.g0{background:radial-gradient(circle at 70% 62%,#ffe2b0 0 9%,rgba(255,200,150,.5) 22%,transparent 46%),linear-gradient(180deg,#2a2150,#b97a9c 70%,#f0bb88)}
.cv-gth.g1{background:radial-gradient(ellipse 60% 40% at 50% 100%,#1d3b3a,transparent 70%),linear-gradient(180deg,#9fd3e8,#4f8fb8 60%,#24506e)}
.cv-gth.g2{background:radial-gradient(circle at 35% 40%,#f3d9c4 0 16%,transparent 17%),linear-gradient(160deg,#3b2b4f,#7a4f6e 55%,#d79a7c)}
