/* 「我的文稿」、文稿页、价格、账单、登录这些页面的样式：照设计稿方案 B（晴空蓝）——浅灰白底、深蓝灰字、一个品牌蓝。
   页面根元素带 class="b"；720px 以下切成手机排版。首页另用 style.css。 */
:root {
  --paper: #F8FAFC; --sheet: #FFFFFF; --raised: #EEF2F7; --sunk: #F1F5F9;
  --line: rgba(16, 24, 40, .13); --line-soft: rgba(16, 24, 40, .07);
  --ink: #0F172A; --ink-2: #475569; --ink-3: #5B6678;
  --accent: #2563EB; --accent-hover: #1D4ED8; --accent-soft: #E8EFFE; --mark: #DCE8FF;
  --ok: #276B43; --ok-soft: #E3F0E6; --bad: #A93226; --bad-soft: #F8E5E1; --warn: #7D520A; --warn-soft: #F5EAD3;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Inter Tight', Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --lift: 0 1px 1px rgba(15, 23, 42, .04), 0 2px 4px rgba(15, 23, 42, .06), 0 10px 24px -8px rgba(15, 23, 42, .16);
  --pop: 0 2px 4px rgba(15, 23, 42, .08), 0 14px 32px -6px rgba(15, 23, 42, .24);
}
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
.b { min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.b *, .b *::before, .b *::after { box-sizing: border-box; }
.b a { color: var(--accent); text-underline-offset: 3px; }
.b a:hover { color: var(--accent-hover); }
.b :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.b h1, .b h2, .b h3, .b p { margin: 0; }
.b ul, .b ol { margin: 0; padding: 0; list-style: none; }
.b button { font: inherit; color: inherit; }
.b svg { flex: none; }
.b [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 版心 */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.mid { max-width: 960px; }
.wrap.wide { max-width: 1680px; padding: 0 24px; }  /* 「我的文稿」：和文稿页一样铺宽（用户 11-07） */
.wrap.narrow { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.hstack { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* 顶部栏 */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 32px; background: rgba(248, 250, 252, .94); border-bottom: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: 'Plus Jakarta Sans', 'Inter Tight', Inter, sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.b .brand:hover { color: var(--ink); }
.brand b { color: var(--accent); font-weight: inherit; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav .l { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.b .nav .l:hover { color: var(--ink); }
.nav .l[aria-current="page"] { color: var(--ink); font-weight: 500; }
.quota { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-2); white-space: nowrap; }

/* 账号菜单（account.js 生成）和语言下拉框（服务端插在顶部栏末尾） */
.account { position: relative; }
.account-button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border: 0; border-radius: 999px; background: transparent; font: inherit; color: var(--ink); cursor: pointer; }
.account-button:hover { background: var(--raised); }
/* 登录后顶部显示头像和登录邮箱（用户 11-07）；邮箱太长省略，手机上地方不够只留头像 */
.account-email { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink-2); }
.account-button .chevron { flex: none; color: var(--ink-3); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--raised); color: var(--ink); font-size: 13px; font-weight: 600; object-fit: cover; }
.account-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 280px; padding: 6px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--pop); }
.account-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 4px; color: var(--ink); font-size: 14px; text-decoration: none; }
.b .account-menu a:hover { background: var(--raised); color: var(--ink); }
.account-menu .account-plan { background: var(--raised); font-weight: 500; }
.account-sep { height: 1px; margin: 6px 4px; background: var(--line-soft); }
.b #account-slot > a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid rgba(15, 23, 42, .14); border-radius: 4px; background: var(--sheet); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .10); }
.b #account-slot > a:hover { background: var(--raised); }
.site-lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 4px; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.site-lang:hover { background: var(--raised); color: var(--ink); }
.site-lang:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

/* 按钮：主按钮品牌蓝，其他都安静 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 4px; font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.btn:active:not([disabled]) { transform: scale(.98); }
.b .btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 1px 2px rgba(15, 23, 42, .18), 0 4px 10px -3px rgba(37, 99, 235, .45); }
.b .btn-primary:hover { background: var(--accent-hover); color: #fff; }
.b .btn-quiet { background: var(--sheet); color: var(--ink); border-color: rgba(15, 23, 42, .14); box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .10); }
.b .btn-quiet:hover { background: var(--raised); color: var(--ink); }
.b .btn-ghost { background: transparent; color: var(--ink-2); }
.b .btn-ghost:hover { background: var(--raised); color: var(--ink); }
.b .btn-danger { background: var(--bad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 1px 2px rgba(15, 23, 42, .18); }
.b .btn-danger:hover { background: #8E2A20; color: #fff; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-icon { width: 44px; padding: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* 字 */
.h1 { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.h4 { font-size: 15px; font-weight: 600; }
.sec { color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; line-height: 1.5; }
.mono, .tc { font-variant-numeric: tabular-nums; }
.tc { font-size: 13px; color: var(--ink-3); letter-spacing: 0; text-decoration: none; }

/* 面 */
.card { background: var(--sheet); border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; box-shadow: var(--lift); }
.panel { background: var(--sheet); border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; box-shadow: var(--lift); }
.pad { padding: 24px; }
.hair { height: 1px; background: var(--line-soft); }
.input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); font: inherit; font-size: 16px; color: var(--ink); box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08); }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }

/* 状态：圆点 + 文字 */
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--ok); } .st.busy { color: var(--accent); } .st.bad { color: var(--bad); } .st.idle { color: var(--ink-3); }

/* 进度、提示条 */
.bar { height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.bar i { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.bar.flow i { width: 35%; animation: bar-flow 1.4s var(--ease) infinite; }
@keyframes bar-flow { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.note { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 6px; background: var(--raised); color: var(--ink-2); font-size: 14px; }
.note svg { margin-top: 2px; }
.note.ok { background: var(--ok-soft); color: #1C4F31; }
.note.bad { background: var(--bad-soft); color: #75211A; }
.note.info { background: var(--accent-soft); color: #1E3A8A; }

/* 菜单 */
.menu { min-width: 220px; padding: 6px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--pop); }
.mi { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
.b .mi:hover, .mi:focus-visible { background: var(--sunk); color: var(--ink); }
.mi svg { color: var(--ink-2); }
.mi small { display: block; color: var(--ink-3); font-size: 12px; }
.b .mi.danger, .b .mi.danger svg { color: var(--bad); }
.menu .sep { height: 1px; margin: 6px 4px; background: var(--line-soft); }

/* 弹窗（原生 dialog）和屏幕底部的简短提示 */
dialog.dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 28px; border: 0; border-radius: 6px; background: var(--sheet); color: var(--ink); box-shadow: 0 24px 56px rgba(16, 24, 40, .22); overflow: auto; }
dialog.dialog[open] { display: flex; flex-direction: column; gap: 16px; }
dialog.dialog::backdrop { background: rgba(15, 23, 42, .5); }
.b dialog:focus-visible { outline: 0; }  /* 打开弹窗时焦点放在弹窗本身（不落在「×」上画蓝框，用户 11-07），弹窗自己不画框 */
dialog.dialog.wide { width: min(520px, calc(100vw - 32px)); padding: 32px 32px 28px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dialog-head .btn-icon { margin: -8px -8px 0 0; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 6px; background: var(--ink); color: var(--sheet); font-size: 14px; box-shadow: 0 8px 24px rgba(16, 24, 40, .2); pointer-events: auto; }
.toast.bad { background: #75211A; }
.toast button { height: 28px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: #93C5FD; font-weight: 500; cursor: pointer; }

/* 表格 */
.tbl-box { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 12px; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.tbl td { padding: 12px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr.sel td, .tbl tr.fresh td { background: #F4F8FF; }
/* 鼠标停在哪一行，整行变灰（用户 11-07）；选中、刚提交的那行还是浅蓝。手机上点一下不会一直灰着 */
@media (hover: hover) { .tbl tbody tr:not(.sel):not(.fresh):hover td { background: var(--sunk); } }
.tbl td { transition: background-color .12s; }
.tbl input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }

/* 左栏：方案、新建文稿、最近文稿（「我的文稿」和文稿页共用） */
.side { flex: 1 1 240px; max-width: 280px; }
.side .plan-box { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--ink); color: #fff; border-radius: 5px 5px 0 0; }
.side .plan-box .small { color: #CBD5E1; }
.side .plan-box .h4 { color: #fff; }
.side .plan-box a.small { color: #BFD3FF; }
.side-list { display: flex; flex-direction: column; gap: 2px; padding: 16px 8px; }
.side-h { margin: 0; padding: 4px 12px 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.act { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
.b .act:hover { background: var(--sunk); color: var(--ink); }
.b a.act { color: var(--ink); }  /* 左栏的链接（我的文字稿、最近的文字稿）平时是黑字，鼠标停上去才变蓝（用户 11-07） */
.b a.act:hover { color: var(--accent); }
.act[aria-current="page"] { background: #EFF6FF; }
.act svg { margin-top: 1px; color: var(--ink-2); }
.act > span { min-width: 0; overflow-wrap: anywhere; }
.act small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.act input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.b .act.danger, .b .act.danger svg { color: var(--bad); }
.act[disabled] { opacity: .5; cursor: not-allowed; }

/* 「我的文稿」：状态图标（悬停说明）、更多操作菜单、底部已选条 */
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.m-new { display: none; }
.search { width: min(280px, 100%); height: 40px; font-size: 15px; }
.tbl .title-cell { width: 100%; min-width: 240px; overflow-wrap: anywhere; }  /* 标题这一列吃掉多出来的宽度 */
.tbl td.c-src, .tbl td.c-dur, .tbl td.c-when { white-space: nowrap; }  /* 来源、时长、添加时间不折行 */
.tbl .title-cell a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }  /* 文稿标题比表格其他字大一号（用户 11-09） */
.list-head .h1 { font-size: 32px; }  /* 「我的文字稿」比别的页面大标题小一点（用户 11-09） */
.tbl .title-cell a.sec { color: var(--ink-2); }  /* 失败的那条标题仍是灰的 */
.tbl tbody tr[data-id] { cursor: pointer; }  /* 整行都能点进文稿页（用户 11-09） */
.tbl .title-cell a:hover { color: var(--accent); text-decoration: underline; }
.tbl .rename { height: 36px; font-size: 16px; border-color: var(--accent); }  /* 改名时和标题一样大 */
.stt { position: relative; display: inline-flex; align-items: center; }
/* 状态和「…」两列只占内容那么宽、紧挨着靠右，多出来的宽度给标题（用户 11-07） */
.tbl .c-st { width: 1%; padding-left: 8px; padding-right: 2px; text-align: center; white-space: nowrap; }
.tbl .c-act { width: 1%; padding-left: 0; padding-right: 12px; text-align: right; }
.sti { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: help; }
.sti svg { width: 20px; height: 20px; }  /* 状态图标小一点（原来 26px，用户 11-09）；可点的范围不变 */
.sti:hover { background: var(--sunk); }
.spin { animation: spin 1s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.tip { display: none; position: absolute; right: calc(100% + 10px); top: 50%; z-index: 6; width: max-content; max-width: 300px; padding: 12px 18px; border-radius: 6px; background: var(--sheet); color: var(--ink); font-size: 15px; line-height: 1.5; text-align: left; white-space: normal; transform: translateY(-50%); box-shadow: var(--pop); }
.tip::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: var(--sheet); border-radius: 1px; transform: translateY(-50%) rotate(45deg); box-shadow: 3px -3px 6px rgba(16, 24, 40, .06); }
.tip small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.stt:focus-within .tip { display: block; }
@media (hover: hover) { .stt:hover .tip { display: block; } }  /* 手机上点过的元素会一直算「悬停」，说明收不起来、盖住标题：只在有鼠标的设备上靠悬停显示 */
.dots { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.dots:hover, .dots[aria-expanded="true"] { background: #E2E8F0; }
.pop { position: fixed; z-index: 45; width: 240px; padding: 8px; }
.selbar { position: sticky; bottom: 24px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(480px, calc(100% - 32px)); margin: 24px auto 0; padding: 10px 10px 10px 20px; border-radius: 6px; background: var(--sheet); border: 1px solid var(--line-soft); box-shadow: var(--pop); }
.empty { padding: 48px 24px; text-align: center; }

/* 导出弹窗：格式勾选 */
.fmts { margin: 4px -12px 0; padding: 0; border: 0; }
.fmts + .fmts { margin-top: 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.fmt { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 12px; border-radius: 4px; cursor: pointer; }
.fmt:hover { background: var(--sunk); }
.fmt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.fmt svg { color: var(--ink-2); }
.fmt b { font-weight: 500; font-size: 16px; color: var(--ink); }
.fmt small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.fmt.off { opacity: .5; cursor: not-allowed; }
.export-dialog .h2 { font-size: 28px; }
.export-go { margin-top: 20px; }
.export-note { margin-top: 10px; text-align: center; }

/* 文稿页：左栏、正文、右栏操作；底部播放器 */
.doc-main { width: 100%; max-width: 1680px; margin: 0 auto; padding: 24px 24px 80px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.doc { flex: 999 1 560px; min-width: 0; padding: 40px 48px; }
.doc h1 { font-size: 36px; line-height: 1.25; overflow-wrap: anywhere; text-wrap: wrap; }  /* 长标题先占满一行再换行，不平均拆两行 */
.doc-tabs { display: flex; gap: 24px; margin-top: 24px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; }
.doc-tabs button { flex: none; height: 44px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-3); font-size: 15px; cursor: pointer; }
.doc-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 500; }
.tx { margin-top: 32px; }
.tx p { margin: 0 0 20px; font-size: 17px; line-height: 1.85; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.tx .who { margin-right: 8px; font-weight: 600; }
.who.s1 { color: #2563EB; } .who.s2 { color: #C2410C; } .who.s3 { color: #047857; } .who.s4 { color: #7C3AED; } .who.s5 { color: #B45309; } .who.s6 { color: #BE185D; }
/* 一句一句的文字（有音频才能点）：鼠标停上去灰底；停在哪一句，暂停时灰底、正在播才蓝底；
   显示时间码时每段前面是 [时:分:秒]，平时灰色，正在播的那句变蓝（用户 11-07） */
.tx .sent { padding: 2px 0; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .12s; }
.tx.playable .sent { cursor: pointer; }
@media (hover: hover) { .tx.playable .sent:hover { background: #E9EDF2; } }  /* 手机上点过的那句会一直算「悬停」，留着灰底，所以只给有鼠标的 */
.tx .sent.now { background: #E9EDF2; }
.tx.playing .sent.now { background: #D6E4FF; }
.tx .ts { margin-right: 6px; color: var(--ink-3); font-size: 15px; font-variant-numeric: tabular-nums; }
.tx.playing .sent.now .ts { color: var(--accent); }
/* 编辑文稿（用户 11-07）：编辑状态下上面一条提示，鼠标停在一块上变灰并冒出「Edit 时间」小按钮，点了弹窗只改这一块 */
.doc { position: relative; }
.edit-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 24px; padding: 8px 8px 8px 16px; border-radius: 6px; background: var(--accent-soft); color: #1E3A8A; font-size: 14px; }
.edit-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-left: auto; }
/* 改的要点「保存」才存（用户 11-09）：编辑条贴在顶栏下面跟着屏幕走，改到长文稿后面也随时点得到「取消编辑」「保存」 */
.edit-bar { position: sticky; top: 64px; z-index: 25; }  /* 紧贴顶栏下沿，中间不露出正文 */
@media (max-width: 720px) {
  .edit-bar { top: 56px; }
  .edit-acts { flex: 1 1 100%; }  /* 手机上三个按钮单独一行、铺满；放不下时折到下一行也铺满 */
  .edit-acts .btn { flex: 1 1 auto; }
}
/* 查找与替换（用户 11-07）：不挡文稿的小窗（非模态），电脑上在右上角，手机上贴顶部；找到的地方标黄，当前这处标橙 */
dialog.find-dialog { position: fixed; z-index: 40; inset: 80px 24px auto auto; margin: 0; width: min(380px, calc(100vw - 32px)); padding: 20px; gap: 12px; }
.find-form { display: flex; flex-direction: column; gap: 8px; }
.find-form .label { margin: 4px 0 0; }
.find-status { min-height: 21px; margin: 0; }
.find-btns { display: flex; gap: 8px; }
.find-btns .btn { flex: 1; padding: 0 10px; }
::highlight(find-hit) { background-color: #FDE68A; }
::highlight(find-now) { background-color: #F59E0B; color: #fff; }
@media (max-width: 720px) { dialog.find-dialog { inset: 72px 16px auto 16px; width: auto; } }
.tx.editing .sent { cursor: pointer; }
.tx.editing .sent:hover { background: #E9EDF2; }
.edit-pill { position: absolute; z-index: 15; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--sheet); color: var(--ink); font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; box-shadow: var(--pop); }
.edit-pill:hover { background: var(--raised); }
.edit-pill[hidden] { display: none; }
.seg-dialog .seg-text { height: auto; min-height: 180px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.doc-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.steps { display: flex; flex-direction: column; margin-top: 24px; }
.steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 44px; color: var(--ink-3); }
.steps li.done, .steps li.now { color: var(--ink); }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--sheet); }
.dot.done { border-color: var(--ok); background: var(--ok); box-shadow: inset 0 0 0 4px var(--sheet); }
.dot.now { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--sheet); }
.ops { flex: 1 1 260px; max-width: 300px; position: sticky; top: 88px; padding: 16px 8px; }
.ops .side-h + .act { margin-top: 0; }
.ops .side-h.gap { margin-top: 16px; }
.lang-pick { display: flex; gap: 8px; padding: 4px 12px 8px 44px; }
.lang-pick select { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); font: inherit; font-size: 14px; color: var(--ink); }
/* 手机上「更多」弹窗（用户 11-07）：内边距放到里面两块上，点到弹窗本身就是点了外面的灰色；右栏挪进来后去掉面板的框，
   导出底部栏已经有，弹窗里不再列（「复制全部」只在弹窗里） */
dialog.dialog.ops-dialog { padding: 0; gap: 0; }
.ops-dialog .dialog-head { padding: 24px 24px 8px; }
.b .ops-dialog .ops { display: block; position: static; max-width: none; max-height: none; padding: 0 12px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ops-dialog .side-h, .ops-dialog [data-fmt], .ops-dialog #export-more { display: none; }
.dock { position: sticky; bottom: 0; z-index: 20; }
.player { background: var(--sheet); border-top: 1px solid rgba(16, 24, 40, .1); box-shadow: 0 -8px 24px rgba(16, 24, 40, .06); }
/* 播放器压矮（用户 11-07）：标题一行小字、按钮 36px，上下留白收紧，整条约 66px */
.player-in { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 1200px; margin: 0 auto; padding: 5px 32px 7px; }
.ptitle { margin: 0; text-align: center; font-weight: 600; font-size: 14px; line-height: 18px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pctl { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1040px; margin: 0 auto; }
.pbtn { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
.pbtn:hover { background: var(--sunk); }
.gear[aria-expanded="true"] { background: var(--accent); color: #fff; }
.gear[aria-expanded="true"]:hover { background: var(--accent-hover); }
.prog { flex: 1; min-width: 80px; margin: 0; accent-color: var(--accent); }
.vol { width: 110px; margin: 0; accent-color: var(--accent); }
.ptime { flex: none; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.spd { position: relative; flex: none; }
.spmenu { position: absolute; right: 0; bottom: calc(100% + 10px); width: 184px; padding: 6px; border-radius: 6px; background: var(--sheet); border: 1px solid rgba(16, 24, 40, .08); box-shadow: var(--pop); }
.spmenu .sh { margin: 0 0 4px; padding: 8px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.spmenu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 4px 10px; border: 0; border-radius: 4px; background: transparent; font-size: 15px; color: var(--ink); cursor: pointer; text-align: left; }
.spmenu button:hover { background: var(--sunk); }
.spmenu .rd { width: 18px; height: 18px; flex: none; border-radius: 50%; background: #E2E8F0; }
.spmenu [aria-checked="true"] .rd { background: #fff; border: 5px solid var(--accent); }
/* 倍速菜单开着：透明遮罩盖住整页，底部栏临时抬到顶部栏上面，顶部栏也盖住；点到的是遮罩，只收起菜单（用户 11-08）。
   iPhone 点带点击事件的元素会闪一下灰底，整页都闪，关掉 */
.spmask { position: fixed; inset: 0; -webkit-tap-highlight-color: transparent; }
.dock.menu-open { z-index: 50; }
.m-head { display: none; }

/* 价格（B09） */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--sheet); border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; box-shadow: var(--lift); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.ticks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.ticks li svg { margin-top: 3px; color: var(--ink); }

.display { font-family: var(--serif); font-weight: 700; font-size: 56px; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--raised); border-radius: 4px; }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 4px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.seg [aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 3px rgba(15, 23, 42, .25); }
.seg .save { color: var(--ok); font-size: 13px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; background: var(--raised); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.tag.dark { background: var(--ink); color: #fff; }
.plan .price { margin: 0; }
.plan .price .sec { font-size: 15px; }
body.yearly .plan .monthly, body.monthly .plan .yearly { display: none; }
/* 设计稿 B09：鼠标移上去方案卡往上浮一点、边框变蓝；分钟包金额是一排按钮，选中的是深色 */
.plan { transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s cubic-bezier(.22, 1, .36, 1), border-color .22s; }
/* 只在有鼠标的设备上浮起来：手机上点一下会一直「悬停」，在左右滑的价格区里还会被裁掉 */
@media (hover: hover) { .plan:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .45); box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 22px 44px -12px rgba(37, 99, 235, .35); } }
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } .plan:hover { transform: none; } }
.plan-dots { display: none; }
.packs { margin: 0; padding: 0; border: 0; min-width: 0; }
.packs legend { margin-bottom: 8px; padding: 0; }
.pills { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 36px; border: 1px solid rgba(15, 23, 42, .14); border-radius: 4px; background: var(--sheet); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .10); }
.pill:hover { background: var(--raised); }
.pill:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 0; font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--ink-3); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* 服务端拼出来的按钮（账单、登录页）：primary 主按钮，ghost 次按钮 */
.b .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.b .primary, .b .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 4px; font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; }
.b .primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 1px 2px rgba(15, 23, 42, .18), 0 4px 10px -3px rgba(37, 99, 235, .45); }
.b .primary:hover { background: var(--accent-hover); color: #fff; }
.b .ghost { background: var(--sheet); color: var(--ink); border-color: rgba(15, 23, 42, .14); box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .10); }
.b .ghost:hover { background: var(--raised); color: var(--ink); }
.b .primary[disabled], .b .ghost[disabled] { opacity: .5; cursor: not-allowed; }

/* 账单（B10） */
.billing-card > h2 { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.15; }
.billing-card > p { color: var(--ink-2); }
.billing-card > p b { color: var(--ink); font-weight: 600; }
.table-card .card-head { padding: 20px 24px; }
.table-card .table { overflow-x: auto; }
.table-card table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.table-card th { padding: 12px 24px; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.table-card td { padding: 12px 24px; border-top: 1px solid var(--line-soft); white-space: nowrap; }
.table-card p.note { margin: 0; padding: 16px 24px; border-top: 1px solid var(--line-soft); border-radius: 0 0 6px 6px; background: transparent; color: var(--ink-3); font-size: 13px; }

/* 登录、注册、找回密码（B11） */
.auth { display: flex; justify-content: center; }
.auth-card { width: min(440px, 100%); padding: 32px; }
.auth-google { width: 100%; height: 52px !important; gap: 10px; font-size: 16px !important; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }
.auth-form { display: flex; flex-direction: column; gap: 6px; }
.auth-form label { margin-top: 8px; font-size: 14px; font-weight: 500; }
.auth-form input { height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); font: inherit; font-size: 16px; color: var(--ink); box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08); }
.auth-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-hint { font-size: 13px; color: var(--ink-3); }
.auth-submit { height: 52px !important; margin-top: 14px; font-size: 16px !important; }
.auth-form .error { margin-top: 4px; font-size: 14px; color: var(--bad); }
.auth-done { margin-top: 4px; padding: 12px 16px; border-radius: 6px; background: var(--ok-soft); color: #1C4F31; font-size: 14px; }
.auth-links, .auth-terms { text-align: center; font-size: 14px; color: var(--ink-2); }
.auth-terms { font-size: 13px; color: var(--ink-3); }
.turnstile:empty { display: none; }
.turnstile.collapsed { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* 页脚 */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; width: 100%; max-width: 1200px; margin: 0 auto; padding: 32px 32px 40px; border-top: 1px solid var(--line-soft); color: var(--ink-3); font-size: 14px; }
.foot span:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* 页脚上面的分组链接（文件、链接、用途、免费工具，用户 11-07 做流量） */
.foot-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 32px; flex-basis: 100%; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.foot-nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-h { margin: 0 0 4px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.b .foot a { color: var(--ink-2); text-decoration: none; }
.b .foot a:hover { color: var(--ink); text-decoration: underline; }

/* 首页（设计稿 B15，手机 BM8） */
.herobg { background: linear-gradient(180deg, #D6E6FF 0%, #EAF2FF 55%, var(--paper) 100%); }
.hl { color: var(--accent); }
.hero3 { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 80px; padding-bottom: 48px; text-align: center; }
.hero3 .display { margin: 0; font-size: 60px; }
.hero3 .display:has(.hl) br { display: none; }  /* 首页标题电脑上一行（B15），手机上按 <br> 断成两行（BM8）；落地页的标题照旧两行 */
.hero3 .hl { font-weight: inherit; }
.hero3 .lede { margin: 0; max-width: none; }
.cta1 { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; }
.gcta { display: inline-grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; width: 340px; height: 60px; padding: 0 8px; font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.gcta .g { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .18); }
.gcta > span:last-child { text-align: center; }
.altsign { margin: 0; font-size: 15px; color: var(--ink-2); }
.b .altsign a { margin-left: 5px; color: var(--accent); font-weight: 500; text-decoration: none; }
.b .altsign a:hover { text-decoration: underline; }
.freeline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; font-size: 14px; color: #334155; }
.freeline span { display: inline-flex; align-items: center; gap: 6px; }
.freeline svg { flex: none; color: var(--accent); }
.caps-sec { padding-bottom: 56px; }
.caps { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 0; list-style: none; text-align: left; background: var(--sheet); border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; box-shadow: var(--lift); }
.caps::-webkit-scrollbar { display: none; }
.caps li { flex: 1 0 204px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 2px; padding: 16px 18px; border-right: 1px solid var(--line-soft); }
.caps li:last-child { border-right: 0; }
.ci { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.ci svg { width: 18px; height: 18px; }
.caps b { align-self: end; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.caps li > span:last-child { align-self: start; font-size: 13px; line-height: 1.4; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-sec { display: flex; flex-direction: column; gap: 16px; padding-top: 72px; padding-bottom: 56px; }
.up-sec > .upwrap, .up-sec > .note { width: 100%; max-width: 760px; margin: 0 auto; }  /* 首页的上传卡片收窄（用户 11-07） */
.section { padding: 88px 0; border-top: 1px solid var(--line-soft); }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.needs li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 22px; background: var(--sheet); border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; box-shadow: 0 1px 1px rgba(15, 23, 42, .04), 0 2px 4px rgba(15, 23, 42, .06); }
.needs h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.needs p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.about .wrap { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.about p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
/* 对比页的对比表（用户 11-07）：第一列比什么，后两列是我们和对方，我们这一列浅蓝底。
   手机上三列直接挤进屏幕宽度、字小一号，不做左右滑（藏在右边的列用户看不出来） */
.cmp-wrap { margin-top: 8px; overflow-x: auto; border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; background: var(--sheet); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
@media (max-width: 720px) {
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 10px 8px; }
  .cmp tbody th { width: 26%; }
}
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-weight: 600; color: var(--ink); }
.cmp tbody th { width: 30%; font-weight: 500; color: var(--ink-2); }
.cmp td { color: var(--ink); }
.cmp td:nth-child(2), .cmp thead th:nth-child(2) { background: var(--accent-soft); }
.about .cmp-note { color: var(--ink-3); font-size: 13px; }
.home .faq p { margin: 0; }

/* 上传卡片（B15 / B15b）：首页和「New transcript」弹窗共用。三种模式的文字都在页面里，按 data-mode 只显示一种 */
.upcard { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--sheet); border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 48px -12px rgba(15, 23, 42, .20); }
.upcard[data-mode="file"] .m-link, .upcard[data-mode="file"] .m-record,
.upcard[data-mode="link"] .m-file, .upcard[data-mode="link"] .m-record,
.upcard[data-mode="record"] .m-file, .upcard[data-mode="record"] .m-link { display: none !important; }
.up-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "label modes"; align-items: center; gap: 16px 12px; }
.uphead { grid-area: title; margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink); text-align: center; }
.up-label { grid-area: label; font-weight: 500; }
.modes { grid-area: modes; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, auto); gap: 8px; }
.modes .btn { width: 100%; padding: 0 12px; }
.b .modes .btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-hover); border-color: rgba(37, 99, 235, .40); box-shadow: inset 0 1px 2px rgba(29, 78, 216, .12); }
.up-close { position: absolute; top: -8px; right: -8px; }
.dropz { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 260px; padding: 28px; border: 1.5px dashed rgba(37, 99, 235, .45); border-radius: 6px; background: #F5F9FF; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.dropz:hover { border-color: var(--accent); background: #EEF4FF; }
.dropz.off { cursor: default; }
.dropz .btn { margin-top: 6px; }
.dz-ico { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #fff; color: var(--accent); box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 16px -6px rgba(37, 99, 235, .35); }
.dz-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.files { margin: 0; padding: 0; list-style: none; }
.files li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.files li > svg { flex: none; margin-top: 2px; color: var(--ink-2); }
.files .fname { overflow-wrap: anywhere; }
.files .tc { white-space: nowrap; }
.files .ok { color: var(--ok); font-weight: 500; }
.files .bad { color: var(--bad); }
.files-go { gap: 8px; }
.files-go .small { text-align: center; }
.field { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08); }
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus-visible { outline: 0; }  /* 输入框里面不再画一圈蓝框，外框变蓝就够了（用户 11-07） */
.field input::placeholder { color: var(--ink-3); }
.link-go { display: flex; gap: 8px; }
.link-go #paste { flex: none; }
.link-go #submit { flex: 1; min-width: 0; }
.recbox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 220px; padding: 28px 16px; border: 1.5px dashed rgba(37, 99, 235, .45); border-radius: 6px; background: #F5F9FF; text-align: center; }
.recbox[data-state="live"] { border-color: rgba(169, 50, 38, .35); background: #FFF8F6; }
.recbox:not([data-state="live"]) .rec-live, .recbox:not([data-state="idle"]) .rec-idle, .recbox:not([data-state="send"]) .rec-send { display: none; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: rec-pulse 1.2s ease-in-out infinite; }
.rec-on { color: var(--bad); font-weight: 500; }
.rec-time { font-size: 44px; line-height: 1; color: var(--ink); }
@keyframes rec-pulse { 50% { opacity: .35; } }
.up-error { margin: 0; color: var(--bad); font-size: 14px; }
.drawer summary { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 4px; color: var(--ink-2); font-size: 14px; font-weight: 500; list-style: none; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary:hover { background: var(--raised); color: var(--ink); }
.drawer .count { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; color: var(--accent); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px 0; }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px; border-radius: 4px; cursor: pointer; }
.opt:hover { background: var(--raised); }
.opt input { grid-row: span 2; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.opt b { font-weight: 500; }
.opt span { grid-column: 2; font-size: 13px; color: var(--ink-3); }
/* 「我的文稿」和文稿页的「New transcript」弹窗：卡片本身就是弹窗 */
/* 竖着的弹窗：宽 480、高 620（高比宽大，用户 11-07）。标题下面三个模式按钮平分一行；当前模式的内容（拖放框、录音框）撑满中间，设置抽屉在最下面 */
dialog.composer-dialog { width: min(480px, calc(100vw - 32px)); height: fit-content; max-height: calc(100vh - 32px); padding: 0; }  /* auto 会被弹窗的上下定位撑满整屏 */
dialog.composer-dialog[open] { display: flex; flex-direction: column; gap: 0; }
dialog.composer-dialog .upcard { flex: 1; min-height: 0; overflow-y: auto; border: 0; box-shadow: none; }
.composer-dialog .up-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "modes"; gap: 16px; }
.composer-dialog .up-label { display: none; }
.composer-dialog .uphead { padding: 0 40px; }
.composer-dialog .modes { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.composer-dialog .modes .btn { height: auto; min-height: 40px; padding: 4px 8px; line-height: 1.25; white-space: normal; }
/* 中间那块是正方形：拖放框宽高一样（用户 11-07）；录音、贴链接那页也占同样的正方形，三种模式弹窗一样大。
   窗口矮、放不下整个弹窗时，这一块往下缩（最矮到刚好放下里面的内容），弹窗里不用滚动 */
.composer-dialog .pane { flex: 0 1 calc(min(480px, 100vw - 32px) - 48px); }  /* 高 = 卡片里的宽；用 aspect-ratio 的话缩不下去 */
.composer-dialog #pane-file { display: flex; flex-direction: column; gap: 16px; }
.composer-dialog .dropz, .composer-dialog .recbox { flex: 1 0 auto; min-height: 0; }
/* 设置抽屉在弹窗里一行一个选项（三栏太窄，说明要折五六行）。打开抽屉时（用户 11-11：点开「区分说话人和更多设置」弹窗里要滚动），
   中间那块不再是正方形、三种模式都收成 240 高，拖放框去掉大图标，弹窗不比收起时高，选项完整显示 */
.composer-dialog .opts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
.composer-dialog .opt { padding: 6px 10px; }
.composer-dialog .upcard:has(#more-settings[open]) { gap: 12px; }
@media (min-width: 721px) {
  .composer-dialog:has(#more-settings[open]) .pane { flex-basis: 240px; }
  .composer-dialog:has(#more-settings[open]) .dropz { padding: 16px; }
  .composer-dialog:has(#more-settings[open]) .dz-ico { display: none; }
}
/* 文件拖到页面上时盖一层「松手开始转写」 */
.dropall { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .45); }
.dropall[hidden] { display: none; }
.dropall-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 56px; border: 2px dashed var(--accent); border-radius: 6px; background: var(--sheet); color: var(--accent); text-align: center; box-shadow: var(--pop); }
.dropall-card b { color: var(--ink); font-size: 20px; }
.dropall-card span { color: var(--ink-2); font-size: 14px; }
/* 没登录时顶部栏是「Log in」「Sign up free」两个按钮（account.js） */
#account-slot { display: inline-flex; align-items: center; gap: 8px; }
.b #account-slot > a.btn-primary { border-color: transparent; background: var(--accent); color: #fff; }
.b #account-slot > a.btn-primary:hover { background: var(--accent-hover); color: #fff; }

/* 骨架屏（用户 11-07）：数据画出来之前，左栏、列表、正文先是一条条会微微发亮的灰条，脚本画好就整块换掉 */
.sk { display: inline-block; height: 12px; border-radius: 4px; vertical-align: middle; background: linear-gradient(90deg, #EEF2F7 25%, #E2E8F0 37%, #EEF2F7 63%); background-size: 400% 100%; animation: sk-shine 1.4s ease infinite; }
@keyframes sk-shine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.sk-side { overflow: hidden; }
.sk-side .sk-dark { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--ink); }
.sk-side .sk-dark .sk { height: 12px; background: rgba(255, 255, 255, .12); animation: none; }
.sk-side .sk-dark .sk-btn { width: 100%; height: 44px; background: rgba(37, 99, 235, .55); }
.sk-side .sk-list { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.tx .sk-lines { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.tx .sk-lines .sk { height: 14px; }

/* 手机才有的底部操作条 */
.mbar { display: none; }
.only-m { display: none; }

/* 文稿页（电脑宽度）：中间的文稿整篇展开、跟着页面滚，左栏、右栏钉在顶部栏下面不动（底部播放器一直在最下面）；
   两边内容比窗口长时在自己里面滚（用户 11-07） */
@media (min-width: 1081px) {
  /* 网页两边（窗口边到左栏、右栏到窗口边）的空白放宽一倍：24px → 48px（用户 11-07） */
  .doc-page .doc-main { flex-wrap: nowrap; align-items: flex-start; padding: 24px 48px; }
  .wrap.wide { padding: 0 48px; }  /* 「我的文稿」两边的空白和文稿页一样（用户 11-07） */
  .doc-page .side, .doc-page .ops { position: sticky; top: 88px; max-height: calc(100vh - 88px - 92px); }
  .doc-page .side { display: flex; flex: 0 0 240px; max-width: none; flex-direction: column; }  /* 左栏收窄一点（用户 11-07） */
  .doc-page .side > .panel { min-height: 0; overflow-y: auto; }
  .doc-page .ops { flex: 0 0 225px; overflow-y: auto; }  /* 右栏比原来窄 1/4（用户 11-07） */
  /* 中间文稿框左右的留白从 48px 收到 24px（用户 11-07） */
  .doc-page .doc { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 1080px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .ops { position: static; max-width: none; flex-basis: 100%; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .b { font-size: 16px; }
  /* 首页手机版（BM8）：首屏靠左、按钮通栏，能做什么横着滑；上传卡片标题一行、两个模式按钮一行。
     .b 开头是为了压过下面 .wrap 的上下 0 内边距 */
  .b #account-slot > a.hide-m { display: none; }
  /* 「我的文字稿」：标题下面整行的「新建文字稿」（用户 11-07） */
  .list-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .b .m-new { display: flex; width: 100%; }
  /* 价格卡片（首页价格区、价格页）：手机上左右滑，一张占八成多宽、露出下一张的边，卡片改紧凑；下面一排小圆点（用户 11-07） */
  .plans { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .plans::-webkit-scrollbar { display: none; }
  .plans > .plan { flex: 0 0 84%; min-width: 0; scroll-snap-align: center; gap: 12px; padding: 20px; }
  .plan .price b { font-size: 36px; }
  .plan .ticks { gap: 7px; font-size: 13px; }
  .plan .btn-lg { height: 44px; font-size: 15px; }
  .plan-dots { display: flex; justify-content: center; gap: 4px; margin-top: -8px; }
  .plan-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .plan-dots button::before { content: ''; display: block; width: 8px; height: 8px; margin: 0 auto; border-radius: 4px; background: #CBD5E1; transition: width .2s, background-color .2s; }
  .plan-dots button[aria-current="true"]::before { width: 20px; background: var(--accent); }
  .b .hero3 { align-items: stretch; gap: 16px; padding-top: 28px; padding-bottom: 24px; text-align: left; }
  .hero3 .display { font-size: 40px; }
  .hero3 .display:has(.hl) br { display: inline; }
  .cta1 { align-items: stretch; margin-top: 4px; }
  .gcta { display: grid; width: 100%; }
  .altsign { text-align: center; }
  .freeline { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
  .b .caps-sec { padding-bottom: 28px; }
  /* 能力条手机上看不出能左右滑（用户 11-07）：拆成一张张小卡片、贴着屏幕边滑，一张占六成多宽，下一张露出一大截被切开；
     下面一排小圆点（和价格卡片一样） */
  /* .b .caps 才压得过 .b ul 的 margin/padding 清零（之前没压过：没贴到屏幕边，第二张在离边 16px 处被硬切，用户 11-07 嫌难看）；
     卡片阴影改很淡、下面留够空，不会被切出一条硬边；圆点小一号、挨近一点 */
  .b .caps { position: relative; gap: 8px; margin: 0 -16px; padding: 2px 16px 12px; background: none; border: 0; border-radius: 0; box-shadow: none; scroll-snap-type: x mandatory; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
  .caps li, .caps li:last-child { flex: 0 0 64%; min-width: 0; scroll-snap-align: start; column-gap: 10px; padding: 12px; border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; background: var(--sheet); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
  .caps b { white-space: normal; }
  .caps-dots { gap: 2px; margin-top: -4px; }
  .caps-dots button { width: 14px; height: 14px; }
  .caps-dots button::before { width: 6px; height: 6px; border-radius: 3px; }
  .caps-dots button[aria-current="true"]::before { width: 14px; }
  .caps .ci { width: 28px; height: 28px; }
  .caps .ci svg { width: 16px; height: 16px; }
  .caps b { font-size: 14px; }
  .caps li > span:last-child { font-size: 12px; }
  .b .up-sec { padding-top: 24px; padding-bottom: 32px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .needs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .needs li { column-gap: 12px; padding: 14px; }
  .needs .ci { width: 32px; height: 32px; }
  .needs h3 { font-size: 15px; }
  .needs p { font-size: 13px; }
  .upcard { gap: 14px; padding: 18px; }
  .up-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "modes"; gap: 12px; }
  .up-label { display: none; }
  .uphead { padding-right: 40px; font-size: 20px; text-align: left; }
  /* 手机上三个按钮平分一行：去掉图标，字长的折成两行 */
  .modes { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modes .btn { height: auto; min-height: 44px; padding: 4px 6px; line-height: 1.25; white-space: normal; text-align: center; }
  .modes .btn svg { display: none; }
  .dropz { min-height: 0; gap: 10px; padding: 22px 16px; }
  .dz-ico, .dz-title { display: none; }
  .dropz .btn { width: 100%; margin-top: 0; }
  .drawer summary { height: 44px; }
  dialog.composer-dialog { width: 100vw; max-width: 100vw; height: fit-content; max-height: 92vh; margin: auto 0 0; border-radius: 6px 6px 0 0; }
  .composer-dialog .uphead { padding: 0 40px 0 0; }
  .composer-dialog .pane, .composer-dialog .dropz, .composer-dialog .recbox { flex: 0 0 auto; aspect-ratio: auto; }
  .composer-dialog .modes .btn { min-height: 44px; }
  .up-close { top: -10px; }
  .wrap, .wrap.wide { padding: 0 16px; }
  .top { height: 56px; padding: 0 12px 0 16px; }
  .nav { gap: 4px; }
  .nav .l, .nav .quota, .nav .hide-m, .site-lang-name, .account-email, .account-button .chevron { display: none; }
  .account-button { padding: 0 4px; }
  .h1 { font-size: 30px; }
  .list-head .h1 { font-size: 26px; }
  .h2 { font-size: 26px; }
  .display { font-size: 38px; }
  .lede { font-size: 17px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .auth-card { padding: 24px 20px; }
  .pad { padding: 20px; }
  .only-m { display: revert; }
  .only-d { display: none !important; }
  .foot { padding: 24px 16px 32px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  dialog.dialog, dialog.dialog.wide { padding: 24px; }
  .side { display: none; }
  .tbl, .tbl thead, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 36px; align-items: center;  /* 最后一列固定宽：处理中没有「…」的那行，状态图标也和别的行对齐 */ gap: 4px 6px; padding: 12px 4px 12px 16px; border-top: 1px solid var(--line-soft); }
  .tbl .c-act { padding-right: 0; }
  .tbl .sti { width: 32px; height: 32px; }
  .tbl tr:first-child { border-top: 0; }
  .tbl td { padding: 0; border: 0; }
  .tbl td.c-src, .tbl td.c-dur, .tbl td.c-when { display: none; }
  .tbl .m-meta { display: block; margin-top: 2px; overflow: hidden; font-size: 13px; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; }
  .tbl .title-cell { width: auto; min-width: 0; max-width: none; }
  /* 手机上标题最多两行、来源时长时间一行，长标题不再把一条撑得很高（用户 11-07） */
  .tbl .title-cell > a, .tbl .title-cell > span:not(.m-meta) { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .tbl td:first-child { padding-left: 0 !important; }  /* 勾选框前面电脑版那 20px 留白在手机上不要，标题多一点地方 */
  /* 列间距按格子单独给（用户 11-07）：勾选框和标题之间放宽到 12px；绿色状态图标往右靠，和「…」只隔一点 */
  .tbl tr { column-gap: 0; }
  .tbl tr > td:first-child { padding-right: 12px; }
  .tbl .title-cell { padding-right: 10px; }
  .tbl .c-st { padding: 0; }
  .tbl tr.sel td, .tbl tr.fresh td { background: transparent; }
  .tbl tr.sel, .tbl tr.fresh { background: #F4F8FF; }
  /* 手机上也有表头（用户 11-09），和每一行同样的格子：全选、标题（下面一行小字：来源 · 时长 · 添加时间）、状态 */
  .tbl thead tr { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
  .tbl th { padding: 0; }
  .tbl th:first-child { width: auto !important; padding: 0 12px 0 0 !important; }
  .tbl th.c-src, .tbl th.c-dur, .tbl th.c-when { display: none; }
  .tbl th .m-meta { font-size: 12px; font-weight: 400; }
  .tip { right: auto; left: auto; top: auto; bottom: calc(100% + 8px); transform: translateX(-70%); max-width: min(300px, 80vw); }
  .tip::after { display: none; }
  .doc-main { padding: 0 0 200px; gap: 0; }
  .doc { flex-basis: 100%; padding: 20px 20px 24px; border: 0; border-radius: 0; box-shadow: none; }
  .doc h1 { font-size: 28px; }
  .tx { margin-top: 24px; }
  .tx p { font-size: 16px; }
  .ops { display: none; }  /* 手机上右栏收起来，点底部「更多」挪进 #ops-dialog 弹窗里显示 */
  .m-head { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 4px; border-bottom: 1px solid var(--line-soft); background: var(--sheet); }
  .doc-top { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; background: var(--sheet); box-shadow: 0 -8px 24px rgba(16, 24, 40, .06); }
  .player { border-top: 1px solid rgba(16, 24, 40, .1); box-shadow: none; }
  .player-in { padding: 8px 12px 0; gap: 0; }
  .mbar { border-top: 1px solid var(--line-soft); }
  .gear { width: auto; padding: 0 10px; border: 1px solid var(--line); }
  .gear svg { display: none; }
  .ptitle, .vol, .mute, .pctl .ptime.total-d { display: none; }
  .pctl { gap: 8px; }
  .pbtn { width: 44px; height: 44px; }  /* 手机上按钮保持 44px，好点 */
  /* 底部只剩「导出」「更多」两个（「复制全部」挪进了「更多」弹窗，用户 11-07）：两个宽按钮，图标和字横排 */
  .mbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 12px 16px; }
  .mbar .btn { gap: 8px; height: 44px; padding: 0; font-size: 14px; }
  /* 导出弹窗收紧（用户 11-07：太大、占满全屏）：格式排成两列小块，不显示说明和图标；标题、留白、按钮都小一号 */
  dialog.dialog.export-dialog { padding: 20px; gap: 12px; }
  .export-dialog .h2 { font-size: 22px; }
  .fmt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .fmt-grid .fmt { min-height: 44px; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); }
  .fmt-grid .fmt:has(input:checked) { border-color: var(--accent); background: #F4F8FF; }
  .fmt-grid .fmt svg, .fmt-grid .fmt small { display: none; }
  .fmt-grid .fmt b { font-size: 15px; }
  .fmt-grid + .fmts { margin: 12px 0 0; padding-top: 4px; }  /* 分隔线和上面的格式块一样宽 */
  .fmt-grid + .fmts .fmt { padding-left: 0; padding-right: 0; }
  .fmt-grid + .fmts legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* 「设置」两个字省掉，留一条分隔线 */
  .fmt-grid + .fmts .fmt { min-height: 44px; }
  .export-go { margin-top: 12px; }
  .export-go .btn-lg { height: 48px; }
  .export-note { margin-top: 8px; }
}
/* 免费 YouTube 字幕工具页（/youtube-transcript，用户 11-07）：首屏一个输入框，下面是字幕、「用 AI 转写」、三步说明、问答 */
.yt-form { display: flex; gap: 8px; width: 100%; max-width: 720px; }
.yt-form .field { flex: 1; min-width: 0; }
.yt-form .btn { flex: none; }
.yt-note { margin: 0; }
.yt-error { width: 100%; max-width: 720px; margin: 0; text-align: left; }
.yt-out { padding-top: 8px; }
.yt-result { max-width: 880px; margin: 0 auto; padding: 24px; }
.yt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.yt-title { overflow-wrap: anywhere; }
.yt-actions { flex: none; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
#yt-status { align-self: center; color: var(--ok); }
#yt-status:empty { display: none; }  /* 没提示时不占位，按钮不往里缩 */
.yt-text { margin-top: 16px; max-height: 60vh; overflow: auto; white-space: pre-wrap; font-size: 16px; line-height: 1.75; color: var(--ink); }
.yt-cta-sec { padding-top: 32px; padding-bottom: 56px; }
.yt-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 880px; margin: 0 auto; padding: 24px; }
.yt-cta .btn { flex: none; }
.yt-cta.lit { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.yt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.yt-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid rgba(15, 23, 42, .10); border-radius: 6px; background: var(--sheet); }
.yt-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.yt-title a { color: inherit; text-decoration: none; } .yt-title a:hover { color: var(--accent); }
/* 一条视频一页的文字稿（/youtube-transcript/<编号>，11-11） */
.vt-page { max-width: 880px; padding-top: 24px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 20px; }
.vt-crumbs { margin: 0; overflow-wrap: anywhere; }
.vt-head { display: flex; gap: 20px; align-items: flex-start; }
.vt-thumb { flex: none; display: block; width: 240px; border-radius: 6px; overflow: hidden; background: #000; }
.vt-thumb img { display: block; width: 100%; height: auto; }
.vt-title { margin: 0; overflow-wrap: anywhere; }
.vt-actions { flex-wrap: wrap; gap: 8px; }
.vt-text { padding: 24px; font-size: 16px; line-height: 1.75; color: var(--ink); }
.vt-text p { margin: 0 0 14px; }
.vt-time { display: inline-block; min-width: 3.4em; margin-right: 6px; color: var(--accent); font-variant-numeric: tabular-nums; font-size: 14px; text-decoration: none; }
.vt-source { margin: 0; }
.vt-related h2 { margin: 0 0 10px; }
.vt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.vt-list li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vt-list a { overflow-wrap: anywhere; }
.vt-list span { color: var(--ink-3); font-size: 13px; }
.vt-cta { max-width: none; margin: 0; }
@media (max-width: 720px) {
  .vt-head { flex-direction: column; }
  .vt-thumb { width: 100%; }
  .vt-text { padding: 16px; }
  .vt-list { grid-template-columns: minmax(0, 1fr); }
  .vt-cta { flex-direction: column; align-items: stretch; }
}
.yt-steps b { font-size: 16px; }
.yt-steps span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 720px) {
  .yt-form { flex-direction: column; }
  .yt-form .btn { width: 100%; }
  .yt-head, .yt-cta { flex-direction: column; align-items: stretch; }
  .yt-actions { justify-content: flex-start; }
  .yt-steps { grid-template-columns: minmax(0, 1fr); }
  .yt-result, .yt-cta { padding: 20px; }
}
/* 免费字幕小工具（SRT 转 TXT 这些，用户 11-07）：选文件或粘贴、选项、转换按钮；结果框和下面几块沿用 YouTube 工具页的样式 */
.sub-tool { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; padding: 24px; }
.sub-tool.drag { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }  /* 文件拖到上面 */
.sub-bar { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sub-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-text { display: block; width: 100%; min-height: 220px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); color: var(--ink); font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08); }
.sub-text:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sub-text::placeholder { color: var(--ink-3); }
.sub-result { min-height: 120px; margin-top: 16px; }  /* 高度由 sub-tool.js 按内容定 */
.sub-result.prose { font-family: inherit; font-size: 16px; line-height: 1.75; }  /* 转成的纯文字按正文排，不用等宽字 */
.sub-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 15px; }
.sub-opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sub-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.sub-shift { display: inline-flex; align-items: center; gap: 10px; }  /* 挪动 [ 秒数 ] 秒 */
.sub-opts .sub-num { width: 110px; }
.sub-hint { flex-basis: 100%; }
.sub-go-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sub-private { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.sub-private svg { flex: none; }
.sub-error { margin: 0; }
.sub-out { padding-top: 24px; }
#sub-status { align-self: center; color: var(--ok); }
#sub-status:empty { display: none; }
@media (max-width: 720px) {
  .sub-tool { padding: 20px; }
  .sub-go-row .btn { width: 100%; }
  .sub-text { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .spin, .bar.flow i { animation: none; } }

/* 教程页（用户 11-08 推广 SEO/GEO）：正文一栏；开头直接给答案的一段做成提示卡，步骤带编号，问答一栏 */
.guide { max-width: 760px; padding-top: 40px; padding-bottom: 56px; }
.guide-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; color: var(--ink-3); }
.guide-crumbs a { color: var(--ink-2); text-decoration: none; }
.guide-crumbs a:hover { color: var(--accent); text-decoration: underline; }
.guide > .h1 { margin: 0; }
.guide > .guide-answer { max-width: none; margin: 24px 0 0; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 6px; background: var(--accent-soft); color: var(--ink); font-size: 17px; line-height: 1.65; }
.guide-sec { margin-top: 40px; }
.guide-sec > .h2 { margin: 0 0 16px; font-size: 26px; }
.guide-sec > .h3 { margin: 0 0 12px; }
.guide-sec > p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.guide-steps { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.guide-steps li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--sheet); }
.guide-steps li::before { content: counter(step); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 600; }
.guide-steps b { color: var(--ink); font-size: 16px; font-weight: 600; }
.guide-steps span { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.guide-sec > .guide-go { margin-top: 16px; }
.guide-cta { max-width: none; margin-top: 40px; }
.guide-faq { grid-template-columns: minmax(0, 1fr); }
.guide-more { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.guide-more a { color: var(--accent); font-weight: 500; text-decoration: none; }
.guide-more a:hover { text-decoration: underline; }
.guide > .guide-list { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.guide-list a { display: block; padding: 20px 24px; color: inherit; text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.guide-list a:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.guide-list .h3 { margin: 0 0 6px; color: var(--ink); }
.guide-list p { margin: 0; }
@media (max-width: 720px) {
  .guide { padding-top: 24px; padding-bottom: 40px; }
  .guide > .guide-answer { padding: 14px 16px; font-size: 16px; }
  .guide-sec { margin-top: 32px; }
  .guide-sec > .h2 { font-size: 22px; }
  .guide-steps li { padding: 14px; }
  .guide-list a { padding: 18px; }
}
