/* ==== Ava sample call (Oct 29, 2026) — #sample-call on the home page ==== */
.how-section { padding-bottom:var(--sec-pad); }
.sc-section { position:relative; overflow:hidden; padding-top:var(--sec-pad); padding-bottom:calc(var(--sec-pad) + var(--cut));
  background:
    radial-gradient(42% 38% at 92% 18%, #ff7a5c40, transparent 70%),
    radial-gradient(40% 40% at 4% 62%, #7c3aed30, transparent 70%),
    linear-gradient(180deg,#c7d2fe 0,#e0e7ff 22%,#f5f3ff 60%,#fff1ec 100%); }
.sc-heading { max-width:760px; }
.sc-heading .eyebrow { color:#c2410c; }
.sc-grad-text { background:linear-gradient(100deg,#f0502e,#e11d74 45%,#7c3aed); -webkit-background-clip:text; background-clip:text; color:transparent; }
.sc-heading>p:last-child { color:#334155; max-width:600px; }

.sc-console { --sc-fill:1; position:relative; border-radius:28px; padding:22px; color:#e0e7ff;
  background:radial-gradient(70% 60% at 100% 0%, #7c3aed38, transparent 70%), radial-gradient(60% 50% at 0% 100%, #f0502e26, transparent 70%), linear-gradient(160deg,#121a45,#0b1026 55%);
  box-shadow:0 40px 90px -30px #312e81aa, 0 0 0 1px #ffffff14 inset; isolation:isolate; }
.sc-console::before { content:''; position:absolute; inset:-2px; z-index:-1; border-radius:30px; background:linear-gradient(120deg,#ff7a5c,#e11d74 30%,#7c3aed 60%,#4f46e5); }
.sc-console::after { content:''; position:absolute; inset:0; z-index:-1; border-radius:28px; background:inherit; }
.sc-console .num { font-variant-numeric:tabular-nums; }

/* Player */
.sc-player { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:20px; padding:18px 20px; border-radius:20px; background:#ffffff0d; border:1px solid #ffffff1c; }
.sc-play { position:relative; width:76px; height:76px; border:0; border-radius:50%; cursor:pointer; color:#fff; display:grid; place-items:center;
  background:linear-gradient(135deg,#ff7a5c,#f0502e 45%,#e11d74); box-shadow:0 12px 30px -8px #f0502ecc, inset 0 1px 0 #ffffff55; transition:transform .15s; }
.sc-play:hover { transform:scale(1.05); } .sc-play:active { transform:scale(.97); }
.sc-play svg { width:34px; height:34px; grid-area:1/1; }
.sc-play .sc-i-play { transform:translateX(2px); }
.sc-play .sc-i-pause, .is-playing .sc-play .sc-i-play { display:none; }
.is-playing .sc-play .sc-i-pause { display:block; }
.sc-console:not(.is-started) .sc-play::after { content:''; position:absolute; inset:-8px; border-radius:50%; border:3px solid #ff7a5c88; animation:sc-ping 1.8s ease-out infinite; }
@keyframes sc-ping { from { transform:scale(.9); opacity:1; } to { transform:scale(1.35); opacity:0; } }
.sc-meta { min-width:0; }
.sc-meta-top { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.sc-tag { display:inline-flex; align-items:center; padding:5px 11px; border-radius:999px; font-size:12.5px; font-weight:700; line-height:1.2; color:#0b1026; background:linear-gradient(90deg,#fde68a,#fdba74); }
.sc-status { font-size:13px; font-weight:600; color:#a5b4fc; }
.is-playing .sc-status::before { content:''; display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; background:#4ade80; box-shadow:0 0 0 4px #4ade8033; vertical-align:1px; }
.sc-title { margin-top:8px; font-size:19px; font-weight:750; letter-spacing:-.02em; color:#fff; line-height:1.3; }
.sc-title > span:first-child { color:#c7d2fe; font-weight:600; }
.sc-ah { display:inline-flex; align-items:center; gap:5px; margin-left:6px; padding:3px 9px; border-radius:999px; background:#38bdf826; color:#7dd3fc; font-size:12px; font-weight:700; vertical-align:3px; }
.sc-ah svg { width:12px; height:12px; }
.sc-track { position:relative; margin-top:12px; height:44px; }
.sc-wave { position:absolute; inset:0; display:flex; align-items:center; gap:2px; }
.sc-wave i { flex:1; height:calc(var(--h) * 100%); min-height:3px; border-radius:3px; background:#ffffff26; transition:background .2s; }
.sc-wave i.b-ava { background:#818cf855; } .sc-wave i.b-caller { background:#ff7a5c55; }
.sc-wave i.on { background:#c7d2fe; } .sc-wave i.on.b-ava { background:linear-gradient(#a78bfa,#6366f1); } .sc-wave i.on.b-caller { background:linear-gradient(#ffb199,#f0502e); }
.sc-seek { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.sc-seek:focus-visible { opacity:1; accent-color:#ff7a5c; }
.sc-track:has(.sc-seek:focus-visible) { outline:2px solid #ff7a5c; outline-offset:4px; border-radius:6px; }
.sc-times { display:flex; justify-content:space-between; align-items:center; margin-top:6px; font-size:12.5px; color:#a5b4fc; }
.sc-legend { display:flex; gap:14px; font-family:Geist,system-ui,sans-serif; font-weight:600; }
.sc-legend span::before { content:''; display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.lg-ava::before { background:linear-gradient(#a78bfa,#6366f1); } .lg-caller::before { background:linear-gradient(#ffb199,#f0502e); }
.sc-replay { width:48px; height:48px; border-radius:14px; border:1px solid #ffffff2e; background:#ffffff12; color:#e0e7ff; display:grid; place-items:center; cursor:pointer; }
.sc-replay:hover { background:#ffffff22; } .sc-replay svg { width:22px; height:22px; }

/* Body: transcript + captured details */
.sc-body { display:grid; gap:18px; margin-top:18px; }
@media (min-width:900px) { .sc-body { grid-template-columns:1.3fr 1fr; } }
.sc-panel { border-radius:20px; padding:18px; min-width:0; }
.sc-panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.sc-panel-head h3 { font-size:15px; letter-spacing:.02em; font-weight:750; }
.sc-transcript-panel { position:relative; background:#0a0f2a; border:1px solid #ffffff1a; display:flex; flex-direction:column; }
.sc-transcript-panel h3 { color:#fff; }
.sc-showall { font:inherit; font-size:13px; font-weight:650; color:#c7d2fe; background:#ffffff10; border:1px solid #ffffff26; border-radius:999px; padding:6px 12px; cursor:pointer; }
.sc-showall:hover { background:#ffffff1e; }
.sc-transcript { list-style:none; margin:0; padding:2px 4px 2px 0; display:flex; flex-direction:column; gap:10px; overflow-y:auto; max-height:440px; scroll-behavior:smooth; overscroll-behavior:contain; }
.sc-transcript::-webkit-scrollbar { width:6px; } .sc-transcript::-webkit-scrollbar-thumb { background:#ffffff26; border-radius:6px; }
.sc-line { display:flex; gap:10px; align-items:flex-end; }
.sc-caller { flex-direction:row-reverse; }
.sc-who { flex:none; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font-size:11.5px; font-weight:800; color:#fff; }
.sc-ava .sc-who { background:linear-gradient(135deg,#6366f1,#8b5cf6); }
.sc-caller .sc-who { background:linear-gradient(135deg,#ff7a5c,#f0502e); }
.sc-bubble { max-width:84%; padding:10px 14px; border-radius:16px; line-height:1.5; font-size:15.5px; transition:box-shadow .25s, background .25s, opacity .25s; }
.sc-ava .sc-bubble { background:#1e2660; border:1px solid #3b47a066; border-bottom-left-radius:5px; }
.sc-caller .sc-bubble { background:#3a1d2a; border:1px solid #ff7a5c40; border-bottom-right-radius:5px; }
.sc-name { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:750; letter-spacing:.02em; margin-bottom:2px; }
.sc-ava .sc-name { color:#a5b4fc; } .sc-caller .sc-name { color:#ffb199; }
.sc-ts { font-weight:500; color:#94a3b8; font-variant-numeric:tabular-nums; }
.sc-bubble p { color:#eef2ff; }
.sc-idle { display:none; }

/* Captured details card (bright, so it pops on the dark console) */
.sc-captured { background:linear-gradient(170deg,#ffffff,#f5f3ff); color:#0f172a; box-shadow:0 20px 50px -24px #000c; }
.sc-captured h3 { color:#0f172a; }
.sc-count { font-weight:800; font-size:14px; color:#4338ca; background:#e0e7ff; padding:3px 10px; border-radius:999px; }
.sc-meter { height:6px; border-radius:6px; background:#e2e8f0; overflow:hidden; margin-bottom:12px; }
.sc-meter i { display:block; height:100%; width:calc(var(--sc-fill) * 100%); background:linear-gradient(90deg,#ff7a5c,#e11d74,#7c3aed); transition:width .5s cubic-bezier(.2,.8,.2,1); }
.sc-fields { margin:0; display:grid; gap:8px; }
.sc-field { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:2px 12px; padding:10px 12px; border-radius:14px; border:1px solid #c7d2fe; background:#fff; transition:border-color .3s, background .3s; }
.sc-field dt { display:contents; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#64748b; }
.sc-fi { grid-row:span 2; width:36px; height:36px; border-radius:11px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#6366f1,#8b5cf6); transition:background .3s; }
.sc-fi svg { width:19px; height:19px; }
.sc-field dd { margin:0; grid-column:2; font-size:15.5px; font-weight:650; color:#0f172a; line-height:1.35; min-height:21px; }
.sc-field dt { grid-column:2; }
.sc-field[data-field="phone"] .sc-fi, .sc-field[data-field="urgency"] .sc-fi { background:linear-gradient(135deg,#ff7a5c,#e11d74); }
.sc-field[data-field="address"] .sc-fi { background:linear-gradient(135deg,#06b6d4,#4f46e5); }
.sc-field[data-field="time"] .sc-fi { background:linear-gradient(135deg,#f59e0b,#f0502e); }
.sc-wait { display:none; color:#94a3b8; font-weight:500; font-style:italic; }
.sc-pending { color:#b45309; font-weight:600; font-size:12.5px; }
.sc-ok { display:inline-flex; align-items:center; gap:3px; color:#047857; font-weight:700; font-size:12.5px; }
.sc-ok svg { width:13px; height:13px; }
.sc-urg { display:inline-block; padding:2px 10px; border-radius:999px; background:#fef3c7; color:#92400e; font-size:14px; }
.sc-note { margin-top:12px; font-size:12.5px; line-height:1.5; color:#475569; }

/* Result: dashboard record + email alert */
.sc-result { margin-top:18px; }
.sc-result-head { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:4px 0 14px; }
.sc-result-head h3 { font-size:22px; color:#fff; }
.sc-ended { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; background:#4ade8022; color:#86efac; font-size:13px; font-weight:700; }
.sc-ended svg { width:14px; height:14px; }
.sc-result-grid { display:grid; gap:18px; }
@media (min-width:900px) { .sc-result-grid { grid-template-columns:1fr 1fr; align-items:stretch; } }
.sc-result figure { margin:0; height:100%; display:flex; flex-direction:column; }
.sc-fig > div { flex:1; }
.sc-result figcaption { margin-top:8px; font-size:12.5px; color:#a5b4fc; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.sc-soon { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; border:1px dashed #a5b4fc88; color:#c7d2fe; font-weight:600; }
.sc-soon svg { width:13px; height:13px; }

/* App look (matches app.callinform.com light theme tokens) */
.sc-app { --a-brand:#5B5BF7; --a-brand2:#A855F7; --a-brand3:#22D3EE; --a-line:#E4E6EC; --a-muted:#5B6272; --a-callback:#F59E0B; --a-booked:#12A594; --a-info:#0091FF;
  border-radius:20px; overflow:hidden; background:#FAFAFB; color:#0B0D12; box-shadow:0 24px 60px -24px #000d; }
.sc-app-bar { display:flex; align-items:center; gap:10px; padding:12px 16px; background:#fff; border-bottom:1px solid var(--a-line); font-size:14px; }
.sc-app-logo { width:26px; height:26px; flex:none; background:url(/assets/brand/callinform-favicon.svg?v=20261031a) center/contain no-repeat; }
.sc-app-co { color:var(--a-muted); font-size:13px; }
.sc-live { margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--a-muted); }
.sc-live i { width:8px; height:8px; border-radius:50%; background:var(--a-brand3); box-shadow:0 0 0 3px #22D3EE33; }
.sc-app-body { padding:16px; }
.sc-app-title { font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--a-muted); margin-bottom:10px; }
.sc-card { position:relative; overflow:hidden; background:#fff; border:1px solid var(--a-line); border-radius:16px; box-shadow:0 1px 2px #1018280a,0 8px 24px -8px #1018281a, 0 0 0 2px #22D3EE55; }
.sc-card-stripe { position:absolute; inset:0 auto 0 0; width:4px; background:var(--a-callback); }
.sc-card-new { position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(135deg,var(--a-brand),var(--a-brand2) 50%,var(--a-brand3)); }
.sc-card-main { padding:16px 16px 14px 20px; }
.sc-card-top { display:flex; gap:12px; align-items:flex-start; }
.sc-av { width:40px; height:40px; flex:none; border-radius:50%; display:grid; place-items:center; font-size:14px; font-weight:600; color:var(--a-brand); background:color-mix(in oklab,var(--a-brand) 16%,transparent); }
.sc-card-id { flex:1; min-width:0; }
.sc-card-name { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.sc-card-name strong { font-weight:600; }
.sc-card-phone { margin-top:2px; font-size:13px; color:var(--a-muted); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:-.02em; }
.sc-card-phone .ok { color:var(--a-booked); }
.sc-card-head { margin-top:12px; font-size:15px; font-weight:500; line-height:1.35; letter-spacing:-.01em; }
.sc-card-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.ac-chip { display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:600; line-height:20px; white-space:nowrap; }
.ac-chip svg { width:12px; height:12px; }
.c-callback { background:color-mix(in oklab,#F59E0B 14%,transparent); color:#b45309; }
.c-info { background:color-mix(in oklab,#0091FF 14%,transparent); color:#0072cc; }
.sc-card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin-top:10px; font-size:12px; color:var(--a-muted); }
.sc-card-meta span { display:inline-flex; align-items:center; gap:4px; }
.sc-card-meta svg { width:14px; height:14px; }
.sc-card-details { margin-left:auto; padding:6px 10px 6px 13px; border-radius:999px; border:1px solid #5B5BF759; background:#5B5BF71a; color:var(--a-brand); font-weight:600; font-size:13px; }
.sc-card-actions { display:flex; align-items:center; gap:8px; padding:12px 12px 12px 20px; border-top:1px solid var(--a-line); }
.sc-card-actions svg { width:16px; height:16px; }
.sc-cb { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px; border-radius:12px; color:#fff; font-size:14px; font-weight:600; background:linear-gradient(135deg,var(--a-brand),var(--a-brand2) 50%,var(--a-brand3)); box-shadow:0 8px 20px -10px var(--a-brand); }
.sc-sq { width:40px; height:40px; border-radius:12px; border:1px solid var(--a-line); display:grid; place-items:center; color:var(--a-muted); }
.sc-bk { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 12px; border-radius:12px; border:1px solid #12A59466; background:#12A5941a; color:var(--a-booked); font-size:14px; font-weight:600; }
.sc-app-rec { display:flex; align-items:center; gap:10px; margin-top:12px; padding:10px 12px; border-radius:14px; background:#fff; border:1px solid var(--a-line); font-size:13px; color:var(--a-muted); }
.sc-app-rec strong { color:#0B0D12; font-weight:600; }
.sc-app-rec .num { margin-left:auto; font-family:ui-monospace,Menlo,monospace; }
.sc-rec-play { width:32px; height:32px; flex:none; border-radius:50%; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--a-brand),var(--a-brand2)); }
.sc-rec-play svg { width:15px; height:15px; transform:translateX(1px); }
.sc-app-sum { margin-top:12px; padding:12px 14px; border-radius:14px; background:#fff; border:1px solid var(--a-line); font-size:13.5px; line-height:1.5; color:#0B0D12; }
.sc-app-sum-h { font-size:11.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--a-muted); margin-bottom:2px; }
.sc-app-why { list-style:none; padding:0; margin:10px 0 0; display:flex; flex-wrap:wrap; gap:6px; }
.sc-app-why li { font-size:11.5px; font-weight:600; padding:2px 9px; border-radius:999px; background:#5B5BF71a; color:#4141c9; }

/* Email alert (mirrors functions/src/alerts.js layout) */
.sc-mail { border-radius:20px; overflow:hidden; background:#fff; color:#0f172a; box-shadow:0 24px 60px -24px #000d; }
.sc-mail-chrome { display:flex; gap:12px; padding:12px 16px; background:#f1f5f9; border-bottom:1px solid #e2e8f0; }
.sc-mail-ico { width:34px; height:34px; flex:none; border-radius:10px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#4F46E5,#7C3AED); }
.sc-mail-ico svg { width:18px; height:18px; }
.sc-mail-from { display:flex; justify-content:space-between; gap:8px; font-size:13px; }
.sc-mail-from span { color:#64748b; }
.sc-mail-subj { font-size:13.5px; font-weight:650; line-height:1.35; }
.sc-mail-body { padding:0 0 16px; }
.sc-mail-bar { height:6px; background:linear-gradient(90deg,#4F46E5,#7C3AED); }
.sc-mail-co { padding:14px 18px 2px; font-size:13px; font-weight:500; color:#64748b; }
.sc-mail-name { padding:0 18px; font-size:22px; font-weight:650; letter-spacing:-.02em; }
.sc-mail-line { padding:2px 18px 0; font-size:15px; }
.sc-mail-btns { display:flex; flex-wrap:wrap; gap:8px; padding:12px 18px 0; }
.sc-mail-btns span { display:inline-flex; align-items:center; gap:7px; padding:10px 14px; border-radius:12px; font-size:14px; font-weight:600; }
.sc-mail-btns svg { width:16px; height:16px; }
.sc-mail-btns .b1 { color:#fff; background:linear-gradient(115deg,#4F46E5,#7C3AED); }
.sc-mail-btns .b2 { color:#fff; background:#0f172a; }
.sc-mail-rows { margin:12px 18px 0; border-top:1px solid #e2e8f0; }
.sc-mail-rows div { display:grid; grid-template-columns:38% 1fr; padding:7px 0; border-bottom:1px solid #e2e8f0; font-size:13.5px; }
.sc-mail-rows dt { color:#64748b; font-weight:500; } .sc-mail-rows dd { margin:0; }
.sc-mail-sum { padding:10px 18px 0; font-size:13.5px; line-height:1.5; color:#334155; }
.sc-mail-sum strong { display:block; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:#64748b; }

.sc-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.sc-foot { margin-top:16px; font-size:13px; color:#475569; text-align:center; }

/* ---- JS-driven states (without JS everything above is shown, fully filled) ---- */
.sc-ready .sc-line { display:none; }
.sc-ready .sc-line.is-shown { display:flex; animation:sc-in .35s cubic-bezier(.2,.8,.2,1) both; }
.sc-ready.show-all .sc-line { display:flex; }
.sc-ready.show-all .sc-line:not(.is-shown) { opacity:.5; animation:none; }
.sc-ready .sc-line.is-shown:not(.is-current) .sc-bubble { opacity:.82; }
.sc-ready .sc-line.is-current .sc-bubble { opacity:1; }
.sc-ready .sc-ava.is-current .sc-bubble { background:#2a3490; border-color:#818cf8; box-shadow:0 0 0 3px #818cf833, 0 10px 30px -10px #6366f1; }
.sc-ready .sc-caller.is-current .sc-bubble { background:#5a2333; border-color:#ff7a5c; box-shadow:0 0 0 3px #ff7a5c33, 0 10px 30px -10px #f0502e; }
.sc-ready .sc-transcript { height:440px; }
.sc-ready:not(.is-started):not(.show-all) .sc-transcript { display:none; }
.sc-ready:not(.is-started):not(.show-all) .sc-idle { flex:1; min-height:440px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; text-align:center; padding:24px; border-radius:16px;
  background:radial-gradient(60% 60% at 50% 40%, #f0502e22, transparent 70%), repeating-linear-gradient(90deg,#ffffff06 0 2px,transparent 2px 22px); }
.sc-idle strong { font-size:24px; color:#fff; letter-spacing:-.02em; }
.sc-idle span:last-child { color:#a5b4fc; max-width:300px; }
.sc-ring { width:96px; height:96px; border-radius:50%; display:grid; place-items:center; color:#fff; margin-bottom:6px;
  background:linear-gradient(135deg,#ff7a5c,#e11d74); box-shadow:0 0 0 12px #ff7a5c22, 0 0 0 26px #ff7a5c12; animation:sc-ring 1.4s ease-in-out infinite; }
.sc-ring svg { width:42px; height:42px; }
@keyframes sc-ring { 0%,100% { transform:rotate(0); } 10% { transform:rotate(-12deg); } 20% { transform:rotate(10deg); } 30% { transform:rotate(-8deg); } 40% { transform:rotate(0); } }
@keyframes sc-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

.sc-ready .sc-v { display:none; }
.sc-ready .sc-v.is-on { display:inline; }
.sc-ready .sc-field:not(.is-filled) { border-style:dashed; border-color:#cbd5e1; background:#f8fafc; }
.sc-ready .sc-field:not(.is-filled) .sc-fi { background:#e2e8f0; color:#94a3b8; }
.sc-ready .sc-field:not(.is-filled) .sc-wait { display:inline; }
.sc-ready:not(.is-started) .sc-field:not(.is-filled) .sc-wait { visibility:hidden; }
.sc-ready .sc-field.just { animation:sc-pop .9s ease-out; }
.sc-ready .sc-field.just .sc-v.is-on { animation:sc-in .4s ease-out; }
@keyframes sc-pop { 0% { box-shadow:0 0 0 0 #f0502e88; background:#fff1ec; } 60% { box-shadow:0 0 0 8px #f0502e00; background:#fff1ec; } 100% { box-shadow:none; } }
.sc-ready .sc-wait { animation:sc-blink 1.4s ease-in-out infinite; }
@keyframes sc-blink { 50% { opacity:.45; } }

.sc-ready .sc-result { display:none; }
.sc-ready.is-ended .sc-result { display:block; animation:sc-in .5s ease-out both; }
.sc-ready.is-ended .sc-result-grid > .sc-fig:first-child { animation:sc-drop .7s cubic-bezier(.2,.9,.25,1.15) .15s both; }
.sc-ready.is-ended .sc-card { animation:sc-new 1.6s ease-out .8s both; }
.sc-ready.is-ended .sc-result-grid > .sc-fig:last-child { animation:sc-slide .7s cubic-bezier(.2,.9,.25,1.1) .7s both; }
.sc-ready.is-ended .sc-card-chips .ac-chip { animation:sc-in .35s ease-out both; }
.sc-ready.is-ended .sc-card-chips .ac-chip:nth-child(1) { animation-delay:1s; } .sc-ready.is-ended .sc-card-chips .ac-chip:nth-child(2) { animation-delay:1.15s; }
@keyframes sc-drop { from { opacity:0; transform:translateY(-28px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes sc-slide { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:none; } }
@keyframes sc-new { 0% { box-shadow:0 0 0 0 #22D3EE00; } 30% { box-shadow:0 0 0 6px #22D3EE66; } 100% { box-shadow:0 1px 2px #1018280a,0 8px 24px -8px #1018281a, 0 0 0 2px #22D3EE55; } }
.sc-ready.audio-error .sc-status { color:#fca5a5; }

@media (max-width:640px) {
  .sc-console { padding:12px; border-radius:22px; }
  .sc-player { grid-template-columns:auto 1fr; gap:12px 14px; padding:14px; }
  .sc-play { width:60px; height:60px; } .sc-play svg { width:28px; height:28px; }
  .sc-replay { position:absolute; top:24px; right:24px; width:40px; height:40px; }
  .sc-meta-top { padding-right:44px; }
  .sc-track { grid-column:1 / -1; }
  .sc-meta { display:contents; }
  .sc-meta-top, .sc-title { grid-column:2; }
  .sc-title { margin-top:0; font-size:16px; }
  .sc-times { grid-column:1 / -1; margin-top:-6px; }
  .sc-track { margin-top:0; }
  .sc-panel { padding:14px; }
  .sc-ready .sc-transcript { height:380px; }
  .sc-ready:not(.is-started):not(.show-all) .sc-idle { min-height:300px; }
  .sc-bubble { max-width:88%; font-size:15px; }
  .sc-card-actions { gap:6px; padding-left:16px; }
  .sc-bk { padding:0 10px; }
  .sc-cb { white-space:nowrap; }
  .sc-card-actions .sc-sq:last-child { display:none; }
  .sc-replay { top:20px; right:20px; }
  .sc-result-head h3 { font-size:19px; }
}
@media (prefers-reduced-motion:reduce) {
  .sc-console *, .sc-console *::before, .sc-console *::after, .sc-console::before { animation:none !important; transition:none !important; }
  .sc-transcript { scroll-behavior:auto; }
}
/* No-JS fallback: native audio controls, final values only. */
.sc-console:not(.sc-ready) .sc-v:not([data-final]) { display:none; }
.sc-console:not(.sc-ready) .sc-play, .sc-console:not(.sc-ready) .sc-replay, .sc-console:not(.sc-ready) .sc-track, .sc-console:not(.sc-ready) .sc-times, .sc-console:not(.sc-ready) .sc-showall, .sc-console:not(.sc-ready) .sc-status { display:none; }
.sc-console:not(.sc-ready) .sc-player { grid-template-columns:1fr; }
.sc-console:not(.sc-ready) .sc-audio { display:block; width:100%; margin-top:12px; grid-column:1 / -1; }
.sc-ready .sc-audio { display:none; }
