/* 音视频工具公共样式（media.css）：登录框、进度面板、波形、播放条、文件条 */
.login-mask { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.login-card { width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; text-align: center; animation: pop .18s ease-out; background: var(--card-solid); }
.login-card h3 { margin: 0; font-size: 18px; }
.login-card p { margin: 0; }
.login-ic { width: 52px; height: 52px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.login-ic svg { width: 24px; height: 24px; }
.login-err { color: var(--err); font-size: 13px; }

.proc { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--accent-soft); }
.proc-orb { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(220,192,143,.25), transparent 70%); }
.proc-orb .spinner { width: 34px; height: 34px; }
.proc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.proc-stage { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proc-meta { font-size: 12px; font-variant-numeric: tabular-nums; }
.proc-cancel { height: 36px; padding: 0 12px; font-size: 13px; flex: none; }
.proc-cancel:hover { border-color: rgba(248,113,113,.6); color: var(--err); }

.wave { width: 100%; height: 64px; display: block; cursor: pointer; touch-action: none; border-radius: 10px; }
.file-pill { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); min-width: 0; }
.file-pill .fp-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.file-pill .fp-ic svg { width: 19px; height: 19px; }
.file-pill .fp-main { flex: 1; min-width: 0; }
.file-pill .fp-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-pill .fp-sub { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-prog { margin-top: 14px; }
.upload-prog .row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; }

.play-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--accent); box-shadow: var(--shadow-glow); flex: none; cursor: pointer; }
.play-btn svg { width: 18px; height: 18px; }
.play-btn:disabled { opacity: .4; }
.tnum { font-variant-numeric: tabular-nums; }
.opt-row { display: flex; flex-direction: row !important; justify-content: flex-start !important; text-align: left !important; gap: 12px !important; padding: 12px 14px !important; }
.opt-row .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--accent-soft); border: 1px solid var(--border); }
.opt-row .ic svg { width: 19px; height: 19px; color: var(--accent-1); }
.opt-row .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.badge-soft { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--card); white-space: nowrap; }
.badge-soft.ok { color: var(--ok); border-color: rgba(52,211,153,.35); }
.badge-soft.warn { color: var(--warn); border-color: rgba(251,191,36,.35); }
.badge-soft.err { color: var(--err); border-color: rgba(248,113,113,.35); }
.note.warn { border-color: rgba(251,191,36,.35); color: var(--text-2); }
.note.warn b { color: var(--warn); }
.inline-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.inline-row .il { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.seg.full { display: flex; width: 100%; } .seg.full button { flex: 1; padding: 7px 6px; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-sm svg { width: 16px; height: 16px; }
