/* TikTok transcript extractor (/tiktok-transcript-extractor). */
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.tx-hero { max-width:860px; padding:8px 0 22px; }
.tx-hero h1 { font-size:var(--ac-fs-display); line-height:1.03; letter-spacing:-.05em; }
.tx-hero .lead { font-size:var(--ac-fs-lg); }
@media (max-width:600px) { .tx-hero { padding-bottom:14px; } .tx-hero .lead { font-size:var(--ac-fs-base); } }
.tx-points { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 18px; margin:0 0 18px; padding:0; list-style:none; }
.tx-points li { padding:12px 14px; border:1px solid var(--line); border-radius:var(--ac-radius-lg); background:var(--panel); color:var(--muted); line-height:1.5; }
.tx-points b { color:var(--text); }
.tx-boundary { max-width:760px; margin:0; padding:14px 16px; border-left:3px solid var(--accent-ink); background:var(--accent-soft); color:var(--muted); line-height:1.55; }
.tx-tool,.tx-result { margin:0 0 26px; padding:22px; border:1px solid var(--line); border-radius:var(--ac-radius-lg); background:var(--panel); box-shadow:var(--shadow); }
.tx-tool label { display:block; margin:0 0 6px; font-size:var(--ac-fs-sm); font-weight:700; }
.tx-row { display:flex; gap:10px; }
.tx-row input { flex:1; min-width:0; padding:10px 12px; border:1px solid var(--control-border); border-radius:var(--ac-radius-sm); font:inherit; font-size:var(--ac-fs-ui); background:var(--panel); color:var(--text); }
.tx-row input[aria-invalid="true"] { border-color:var(--danger-ink); box-shadow:0 0 0 1px var(--danger-ink); }
.tx-help,.tx-meta { margin:8px 0 0; color:var(--muted); font-size:var(--ac-fs-sm); }
.tx-allowance { margin:8px 0 0; }
.tx-status { min-height:1.4em; margin:10px 0 0; color:var(--muted); font-size:var(--ac-fs-md); }
.tx-result-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:8px 16px; }
.tx-result-head h2 { margin:0; }
.tx-none { margin:14px 0; padding:14px 16px; border:1px solid var(--line); border-radius:var(--ac-radius-lg); background:var(--panel-2); }
.tx-none h3 { margin:0 0 6px; font-size:var(--ac-fs-lg); }
.tx-none p { margin:0; color:var(--muted); }
.tx-none .tx-none-label { margin:12px 0 4px; color:var(--text); font-size:var(--ac-fs-md); font-weight:700; }
.tx-none ul { margin:0; padding-left:20px; color:var(--muted); line-height:1.55; }
.tx-none li + li { margin-top:4px; }
.tx-warning { margin:10px 0 0; padding:10px 12px; border-radius:var(--ac-radius-sm); background:var(--warning-soft); color:var(--warning-ink); font-size:var(--ac-fs-md); }
.tx-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:14px 0; }
.tx-text { max-height:420px; overflow:auto; margin:8px 0 0; padding:12px 14px; border:1px solid var(--line); border-radius:var(--ac-radius-sm); background:var(--panel-2); font:inherit; font-size:var(--ac-fs-ui); line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.tx-result details { margin-top:10px; }
.tx-result summary { cursor:pointer; font-weight:700; }
.tx-caption-title { margin:20px 0 6px; font-size:var(--ac-fs-lg); }
.tx-caption { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
/* One-click segment question above the next steps. */
.tx-segment { margin:20px 0 0; padding:14px 16px; border:1px solid var(--line); border-radius:var(--ac-radius-lg); background:var(--panel-2); }
.tx-segment-q { margin:0; font-weight:700; }
.tx-segment .tx-actions { margin:10px 0 0; }
.tx-segment .button[aria-pressed="true"] { border:2px solid var(--accent-ink); background:var(--accent-soft); }
.tx-segment .button[aria-pressed="true"]:hover:not(:disabled) { background:var(--accent-soft); }
.tx-segment-tip { margin:10px 0 0; color:var(--muted); line-height:1.55; }
/* Next steps under the result: the breakdown first, then the two seller tools. */
.tx-next { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:20px 0 0; padding:16px 0 0; border-top:1px solid var(--line); }
.tx-next h3 { grid-column:1 / -1; margin:0; font-size:var(--ac-fs-lg); }
.tx-next-card { display:flex; flex-direction:column; gap:6px; padding:14px 16px; border:1px solid var(--line); border-radius:var(--ac-radius-lg); background:var(--panel-2); color:var(--text); text-decoration:none; line-height:1.45; }
.tx-next-card span { color:var(--muted); font-size:var(--ac-fs-md); }
.tx-next-card:hover { border-color:var(--accent-ink); }
.tx-next-main { border:2px solid var(--accent-ink); background:var(--accent-soft); }
.tx-next-card[hidden] { display:none; }
/* 2026-10-30: next steps right under the copy/download buttons (only with subtitles). */
.tx-do { display:flex; flex-direction:column; gap:8px; max-width:760px; margin:0 0 14px; }
.tx-do h3 { margin:0; font-size:var(--ac-fs-ui); }
.tx-do-link { display:flex; flex-direction:column; gap:2px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--ac-radius-sm); background:var(--panel-2); color:var(--text); text-decoration:none; line-height:1.35; }
.tx-do-link span { color:var(--muted); font-size:var(--ac-fs-sm); }
.tx-do-link:hover { border-color:var(--accent-ink); }
.tx-do-main { border:2px solid var(--accent-ink); background:var(--accent-soft); }
.tx-result .tx-do-seller { margin:0; }
.tx-do-seller summary { cursor:pointer; padding:6px 0; color:var(--muted); font-size:var(--ac-fs-md); font-weight:700; }
.tx-do-seller .tx-do-link { margin-top:8px; }
.tx-account { max-width:760px; margin:0 0 14px; padding:14px 16px; border:1px solid var(--line); border-radius:var(--ac-radius-sm); background:var(--panel-2); }
.tx-account h3 { margin:0; font-size:var(--ac-fs-ui); }
.tx-account p { margin:6px 0 0; line-height:1.5; }
.tx-account .tx-actions { margin:10px 0 0; }
/* 2026-10-30: the form comes right after the first paragraph; the four points and the boundary follow the result. */
.tx-about { max-width:860px; margin:0 0 26px; }
.tx-explain { max-width:760px; }
.tx-explain p { line-height:1.65; }
.tx-faq details { margin:0 0 10px; }
.tx-faq summary { cursor:pointer; font-weight:700; }
.tx-faq p { color:var(--muted); line-height:1.6; }
@media (max-width:700px) { .tx-points { grid-template-columns:1fr; } .tx-row { flex-direction:column; } .tx-tool,.tx-result { padding:16px; } .tx-next { grid-template-columns:1fr; } }
