/* VESTA v3 provider UI (B14–B20). Same tokens as app.css: white, panel grey, serif headings, hairlines, pills. */
.v3-toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 16px); transform: translate(-50%, 20px); opacity: 0; z-index: 90; background: #1D1D1F; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; transition: all .25s; }
.v3-toast.on { opacity: 1; transform: translate(-50%, 0); }
.v3-sheet-title { font-family: var(--font-serif); font-weight: 400; font-size: 26px; margin: 0; letter-spacing: -0.02em; }
.v3-sheet-body { margin-top: 12px; }
.v3-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #1D1D1F; color: #fff; font-size: 11px; font-weight: 600; margin-left: 4px; }
.tabs { grid-template-columns: repeat(5, 1fr) !important; }
.v3-flag { display: block; color: #8a4b00; background: #FFF4E0; border-radius: 12px; padding: 8px 10px; margin: -6px 0 12px; }
.v3-was { color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.v3-block { display: block; }
.v3-h2 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; margin: 6px 0 8px; line-height: 1.15; }
.v3-h3 { font-size: 13px; font-weight: 600; margin: 20px 0 8px; }
.v3-art { color: var(--text-main); flex: none; }
.v3-white { color: #fff; }
.v3-x { border: 0; background: transparent; font-size: 15px; line-height: 1; padding: 0 2px; color: var(--text-muted); }
.v3-file { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.v3-inline { border: 0; background: var(--panel-bg); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px 46px; font-size: 15px; }
.v3-two { display: grid; grid-template-columns: 1fr; gap: 20px; }
.v3-two.tight { grid-template-columns: auto 1fr; align-items: start; }
@media (min-width: 860px) { .v3-two { grid-template-columns: 1fr 1fr; gap: 32px; } }
.v3-form { max-width: 560px; }

/* toggles */
.v3-toggle { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 14px; cursor: pointer; }
.v3-toggle input { display: none; }
.v3-switch { width: 36px; height: 22px; border-radius: 999px; background: var(--pill-bg); position: relative; transition: background .2s; flex: none; }
.v3-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: left .2s; }
.v3-toggle input:checked + .v3-switch { background: #1D1D1F; }
.v3-toggle input:checked + .v3-switch::after { left: 17px; }

/* steps */
.v3-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; flex-wrap: wrap; counter-reset: s; }
.v3-steps li { counter-increment: s; font-size: 12px; font-weight: 500; color: var(--text-light); background: transparent; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(0,0,0,.06); }
.v3-steps li::before { content: counter(s) "  "; }
.v3-steps li.on { color: var(--text-main); border-color: #1D1D1F; }
.v3-steps li.done { color: var(--text-muted); }

/* studio */
.v3-studio-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 16px; }
.v3-studio-top .page-title { margin-bottom: 6px; }
.v3-eyebrow { margin: 0; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.v3-create { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(0,0,0,.12); background: #fff; color: var(--text-main); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 500; }
.v3-create:hover { border-color: #1D1D1F; }
.v3-subnav { display: flex; gap: 2px; overflow-x: auto; margin: 6px 0 18px; padding-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-subnav a { font-size: 13px; font-weight: 500; color: var(--text-muted); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.v3-subnav a.on { color: var(--text-main); background: var(--panel-bg); }
.v3-create-list { display: grid; gap: 8px; }
.v3-create-item { display: flex; flex-direction: column; gap: 3px; text-align: left; border: 0; background: var(--panel-bg); border-radius: 18px; padding: 14px 16px; font-size: 15px; }
.v3-create-item:hover { background: #ececee; }
.v3-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v3-stat { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid rgba(0,0,0,.05); border-radius: 20px; }
.v3-stat strong { font-size: 28px; letter-spacing: -0.02em; }
.v3-sched { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-sched-time { font-size: 14px; padding-top: 2px; }
.v3-sched-main p { margin: 4px 0 0; }
.v3-range-label { align-self: center; min-width: 120px; text-align: center; }
.v3-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.v3-cal-day { min-height: 92px; background: var(--panel-bg); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 3px; position: relative; overflow: hidden; }
.v3-cal.week .v3-cal-day { min-height: 180px; }
.v3-cal-day.today { box-shadow: inset 0 0 0 1px #1D1D1F; }
.v3-cal-item { font-size: 11px; background: #fff; border-radius: 6px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-cal-item.live { background: #1D1D1F; color: #fff; }
.v3-cal-camp { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #F5C518; }
.v3-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 16px 0; }
.v3-kpis > div { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; background: var(--panel-bg); }
.v3-kpis strong { font-size: 24px; letter-spacing: -0.02em; }
@media (max-width: 700px) { .v3-kpis { grid-template-columns: repeat(2, 1fr); } .v3-cards3 { grid-template-columns: 1fr; } }
.v3-chart-card { padding: 12px; border: 1px solid rgba(0,0,0,.05); }
.v3-chart { width: 100%; height: 170px; display: block; }
.v3-bar-line { display: grid; grid-template-columns: 110px 1fr 80px; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; }
.v3-bar { height: 4px; background: var(--pill-bg); border-radius: 99px; overflow: hidden; }
.v3-bar i { display: block; height: 100%; background: #1D1D1F; }
.v3-rows { display: flex; flex-direction: column; margin-top: 12px; }
.v3-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-row > div:nth-child(2) { flex: 1; min-width: 0; }
.v3-row-thumb { width: 40px; height: 56px; object-fit: cover; border-radius: 8px; background: #111; flex: none; }
.v3-story-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--pill-bg); }
.v3-story-dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #F5C518; }
.v3-mini-kpis { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.v3-mini-kpis b { color: var(--text-main); font-weight: 500; margin-left: 3px; }
.v3-drop-stat { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-slide-edit { display: flex; gap: 10px; align-items: center; }
.v3-slide-edit input { flex: 1; border: 0; background: var(--panel-bg); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.v3-story-prev img, .v3-story-prev video { width: 180px; aspect-ratio: 9/16; object-fit: cover; border-radius: 16px; margin: 10px 0; }
.v3-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.v3-prod { display: flex; flex-direction: column; gap: 4px; background: var(--panel-bg); border-radius: 20px; padding: 10px; }
.v3-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #ececee; }
.v3-pe-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; }
.v3-pe-img { position: relative; }
.v3-pe-img img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.v3-pe-img .v3-x { position: absolute; top: -4px; right: -4px; background: #fff; border-radius: 50%; width: 20px; height: 20px; box-shadow: var(--shadow-subtle); }
.v3-var-row { display: grid; grid-template-columns: 1fr 90px 24px; gap: 8px; }
.v3-var-row input { border: 0; background: var(--panel-bg); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.v3-pe-prev { display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(0,0,0,.05); }
.v3-pe-prev img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #ececee; }
.v3-pf-prev { border: 1px solid rgba(0,0,0,.05); max-width: 380px; }
.v3-pf-photo { width: 140px !important; height: 140px !important; border-radius: 50% !important; }
.v3-camp { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-camp p { margin: 6px 0 0; }
.v3-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.v3-lib-item, .v3-pick-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 18px; background: var(--panel-bg); }
.v3-lib-item p, .v3-pick-item p { margin: 3px 0; }
.v3-pick { display: grid; gap: 10px; }
.v3-pick-main { flex: 1; }
.v3-story-canvas { width: 100%; max-width: 300px; aspect-ratio: 9/16; border-radius: 20px; box-shadow: var(--shadow-float); }
.v3-story-thumb { width: 120px; aspect-ratio: 9/16; object-fit: cover; border-radius: 14px; margin: 8px 0; }

/* menu */
.v3-menu { margin-bottom: 8px; }
.v3-group { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 4px; }
.v3-menu-line { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-menu-line p { margin: 3px 0 0; }
.v3-menu-line.cta { flex-direction: row; justify-content: space-between; align-items: center; }
.v3-lengths { display: flex; gap: 6px; flex-wrap: wrap; }
.v3-len { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 7px 12px; border-radius: 14px; background: var(--panel-bg); min-width: 76px; }
.v3-len:hover { background: #ececee; }
.v3-offer-line { background: #FFF8E1; border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
.v3-price-table { display: grid; gap: 4px; }
.v3-pt-row { display: grid; grid-template-columns: minmax(120px, 1.4fr) repeat(var(--n, 3), minmax(80px, 1fr)); gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.04); }
.v3-pt-cell { display: flex; flex-direction: column; gap: 2px; }
.v3-pt-cell input { border: 0; background: var(--panel-bg); border-radius: 10px; padding: 8px 10px; font-size: 15px; width: 100%; font-variant-numeric: tabular-nums; }
.v3-net.bad { color: #b3261e; }
.v3-desc-edit { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.v3-desc-edit textarea { border: 0; background: var(--panel-bg); border-radius: 14px; padding: 12px 14px; font-size: 15px; min-height: 70px; }
.v3-inline-title { border: 0; border-bottom: 1px solid rgba(0,0,0,.1); font-size: 16px; font-weight: 600; padding: 4px 0; }
.v3-phone { max-width: 420px; border: 1px solid rgba(0,0,0,.08); border-radius: 32px; padding: 16px 20px; box-shadow: var(--shadow-float); }

/* desk extras */
.v3-desk-actions { margin: 4px 0 10px; }
.v3-live-banner { display: flex; align-items: center; gap: 10px; background: #1D1D1F; color: #fff; border-radius: 18px; padding: 12px 14px; margin: 8px 0; }
.v3-live-banner.scheduled { background: var(--panel-bg); color: var(--text-main); }
.v3-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; flex: none; animation: v3pulse 1.6s infinite; }
.v3-live-banner.scheduled .v3-live-dot { background: #86868B; animation: none; }
@keyframes v3pulse { 50% { opacity: .35; } }
.v3-offer-card { background: #FFF8E1; border-radius: 18px; padding: 12px 14px; margin: 8px 0; }
.v3-offer-card p { margin: 2px 0; }
.v3-posts { display: grid; gap: 8px; margin: 8px 0; }
.v3-post { background: var(--panel-bg); border-radius: 18px; padding: 12px 14px; }
.v3-post p { margin: 0 0 6px; }
.v3-slide-strip { display: flex; gap: 6px; overflow-x: auto; margin-top: 6px; }
.v3-slide-strip img, .v3-slide-text { width: 90px; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; flex: none; }
.v3-slide-text { background: #F6F3EE; font-family: var(--font-serif); font-size: 13px; padding: 8px; display: flex; align-items: center; }
.v3-tip-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.v3-tip-btn { border: 0; background: var(--panel-bg); border-radius: 999px; padding: 12px 18px; font-size: 15px; font-weight: 500; }
.v3-tip-btn.on { background: #1D1D1F; color: #fff; }
.v3-pdp-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); background: var(--panel-bg); }
.v3-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.v3-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; cursor: pointer; }
.v3-variants { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.v3-variants .chip { font-size: 13px; padding: 8px 12px; }
.v3-variants .chip:disabled { opacity: .4; }

/* inbox */
.v3-threads { display: flex; flex-direction: column; }
.v3-thread-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.v3-thread-line.unread strong { font-weight: 600; }
.v3-avatar { width: 48px !important; height: 48px !important; border-radius: 50% !important; font-size: 18px; }
.v3-tl-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v3-tl-last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-thread { max-width: 720px; }
.v3-thread-head { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
.v3-thread-name { font-family: var(--font-serif); font-weight: 400; font-size: 28px; margin: 0; letter-spacing: -0.02em; }
.v3-msgs { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.v3-msg { align-self: flex-start; max-width: 78%; background: var(--panel-bg); border-radius: 20px 20px 20px 6px; padding: 10px 14px; position: relative; }
.v3-msg.mine { align-self: flex-end; background: #1D1D1F; color: #fff; border-radius: 20px 20px 6px 20px; }
.v3-msg.request { border: 1px dashed rgba(0,0,0,.2); background: #fff; }
.v3-msg p { margin: 0 0 4px; line-height: 1.4; white-space: pre-wrap; }
.v3-req-label { margin: 0 0 4px !important; }
.v3-time { font-size: 11px; opacity: .7; }
.v3-msg.mine .v3-time, .v3-msg.mine .muted { color: rgba(255,255,255,.7); }
.v3-sys { text-align: center; margin: 4px 0; }
.v3-att { display: block; background: #fff; color: var(--text-main); border-radius: 14px; padding: 10px 12px; margin: 6px 0; }
.v3-att p { margin: 2px 0; }
.v3-att img, .v3-att video { width: 100%; border-radius: 10px; margin-top: 6px; }
.v3-att-img { max-width: 240px; border-radius: 14px; margin: 6px 0; }
.v3-blur { color: var(--text-muted); filter: blur(.4px); }
.v3-composer { position: sticky; bottom: calc(var(--tab-h) + 6px); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-float); }
.v3-composer textarea { width: 100%; border: 0; background: var(--panel-bg); border-radius: 16px; padding: 12px 14px; font-size: 15px; resize: none; margin-bottom: 6px; }
.v3-att-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.v3-note { text-align: center; }
.v3-contact { display: flex; gap: 10px; align-items: center; border: 0; background: var(--panel-bg); border-radius: 16px; padding: 10px 12px; text-align: left; width: 100%; }
@media (min-width: 860px) { .v3-composer { bottom: 12px; } }

/* live */
.v3-room { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 12px; min-height: 100vh; }
@media (min-width: 900px) { .v3-room { grid-template-columns: minmax(320px, 420px) 1fr; } }
.v3-room-stage, .v3-live-stage { position: relative; background: #111; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 9/16; max-height: 86vh; }
.v3-room-stage video, .v3-live-stage video, .v3-live-photo { width: 100%; height: 100%; object-fit: cover; }
.v3-room-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #fff; }
.v3-room-bottom { position: absolute; left: 12px; bottom: 12px; color: #fff; }
.v3-room-side { padding: 8px 4px; }
.v3-q { padding: 10px 12px; border-radius: 16px; background: var(--panel-bg); margin-bottom: 8px; }
.v3-q p { margin: 0 0 4px; }
.v3-q.pinned { background: #1D1D1F; color: #fff; }
.v3-q.pinned .muted { color: rgba(255,255,255,.7); }
.v3-q.skipped { opacity: .45; }
.v3-feed { max-height: 220px; overflow: auto; }
.v3-feed-line { padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,.04); }
.v3-live-guest { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .v3-live-guest { grid-template-columns: minmax(320px, 440px) 1fr; gap: 24px; padding: 18px; } }
.v3-live-panel { padding: 16px 18px 120px; }
.v3-pinned { position: absolute; left: 12px; right: 12px; bottom: 16px; background: rgba(255,255,255,.92); border-radius: 16px; padding: 10px 12px; }
.v3-pinned:empty { display: none; }
.v3-pinned p { margin: 2px 0 0; }
.v3-sim { position: absolute; top: 44px; left: 12px; color: rgba(255,255,255,.7); }
.v3-ask { display: flex; gap: 8px; }
.v3-ask input { flex: 1; border: 0; background: var(--panel-bg); border-radius: 999px; padding: 12px 16px; font-size: 15px; }
.v3-summary-line { font-family: var(--font-serif); font-size: 26px; letter-spacing: -0.02em; }

/* journals */
.v3-ev-list { display: grid; gap: 8px; }
.v3-ev { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; border: 0; background: var(--panel-bg); border-radius: 18px; padding: 12px 14px; text-align: left; }
.v3-pdf { width: 100%; height: 560px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; margin-top: 6px; background: #fff; }
.v3-journal-art { width: 160px; border-radius: 6px; box-shadow: var(--shadow-float); margin-bottom: 16px; }
.wide-form { max-width: 720px; }

/* tools */
.v3-sky { margin-bottom: 12px; }
.v3-sky p { margin: 4px 0; }
.v3-daily { border: 1px solid rgba(0,0,0,.05); }
.v3-kept { font-family: var(--font-serif); font-size: 20px; margin: 8px 0 0; }
.v3-revisit { margin: 12px 0; padding: 10px 14px; border-left: 2px solid #1D1D1F; }
.v3-rhythm { margin: 16px 0; }
.v3-rhythm-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; }
.v3-rhythm-week span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); }
.v3-rhythm-week i { width: 100%; height: 4px; border-radius: 99px; background: var(--pill-bg); }
.v3-rhythm-week span.on i { background: #1D1D1F; }
.v3-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v3-tool { display: flex; flex-direction: column; gap: 3px; background: var(--panel-bg); border-radius: 20px; padding: 14px; min-height: 96px; }
.v3-tool-state { margin-top: auto; color: var(--text-muted); }
.v3-join { margin-top: 14px; border: 1px solid rgba(0,0,0,.05); }
.v3-reader-tile { display: flex; gap: 12px; align-items: center; margin: 16px 0; padding: 12px; border-radius: 20px; border: 1px solid rgba(0,0,0,.06); }
.v3-reader-tile > span { display: flex; flex-direction: column; }
.v3-stop { font-family: var(--font-serif); font-size: 20px; text-align: center; color: var(--text-muted); margin: 24px 0 8px; }
.v3-safe { border: 1px solid rgba(0,0,0,.08); }
.v3-card-crisis { background: #FFF4F2; }
.v3-coins { margin: 14px 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.v3-coin-row { display: flex; gap: 8px; align-items: center; }
.v3-coin { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #1D1D1F; display: grid; place-items: center; font-size: 12px; font-weight: 600; transition: transform .35s; }
.v3-coin.spin { transform: rotateY(180deg); opacity: .4; }
.v3-hex-row { display: flex; align-items: center; gap: 16px; margin: 10px 0; }
.v3-hd { flex: none; }
.v3-palm-q { margin: 12px 0; }
.v3-palm-q .chips { margin-top: 6px; }
.v3-palm-img { max-width: 220px; border-radius: 16px; margin: 8px 0; }
.v3-share-img { width: 100%; max-width: 320px; border-radius: 16px; box-shadow: var(--shadow-float); margin-bottom: 10px; }
.v3-tools-entry { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 18px; border: 1px solid rgba(0,0,0,.05); }
.v3-result { margin-top: 16px; border: 1px solid rgba(0,0,0,.05); }

/* faux call */
.v3-call { position: fixed; inset: 0; z-index: 45; background: #0b0b0c; color: #fff; }
.v3-call-stage { position: absolute; inset: 0; max-width: 560px; margin: 0 auto; overflow: hidden; }
.v3-call-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-call-vid.talk { opacity: 0; transition: opacity .45s ease; }
.v3-call-vid.talk.on { opacity: 1; }
.v3-call.poor .v3-call-vid { filter: blur(2px) saturate(.7); }
.v3-call-connecting { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #0b0b0c; transition: opacity .6s; z-index: 3; }
.v3-call-connecting img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; animation: v3pulse 1.4s infinite; }
.v3-call-connecting.gone { opacity: 0; pointer-events: none; }
.v3-call-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 8px; z-index: 4; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.v3-call-timer { margin-left: auto; font-size: 14px; }
.v3-q-dot { width: 8px; height: 8px; border-radius: 50%; background: #86868B; }
.v3-q-dot.good { background: #34c759; }
.v3-q-dot.poor { background: #ff9f0a; }
.v3-call-name { position: absolute; left: 16px; bottom: 108px; display: flex; flex-direction: column; z-index: 4; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.v3-call-name strong { font-family: var(--font-serif); font-weight: 400; font-size: 26px; }
.v3-call-self { position: absolute; right: 14px; bottom: 108px; width: 96px; height: 136px; object-fit: cover; border-radius: 16px; background: #222; z-index: 4; border: 1px solid rgba(255,255,255,.2); transform: scaleX(-1); }
.v3-call-self.off { opacity: .2; }
.v3-call-bar { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 14px; z-index: 4; }
.v3-cbtn { width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 500; backdrop-filter: blur(12px); }
.v3-cbtn.off { background: #fff; color: #1D1D1F; }
.v3-cbtn.end { background: #ff3b30; }
.v3-call-note { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: rgba(255,255,255,.6); z-index: 4; margin: 0; }
.v3-call-demo { position: absolute; top: 52px; left: 12px; right: 12px; background: rgba(255,255,255,.95); color: #1D1D1F; border-radius: 18px; padding: 12px; z-index: 6; display: flex; flex-direction: column; gap: 8px; }
.v3-call-ended { position: absolute; inset: 0; z-index: 7; background: #F6F3EE; color: #1D1D1F; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.v3-call-ended[hidden], .v3-call-demo[hidden] { display: none; }
.v3-disclaimer { color: var(--text-muted); line-height: 1.5; }
.v3-drop.open { border: 1px solid rgba(0,0,0,.06); }

.v3-pt-row.head { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 600px) { .v3-pt-row { grid-template-columns: repeat(var(--n, 3), 1fr); } .v3-pt-row > span:first-child { grid-column: 1 / -1; font-weight: 500; } .v3-pt-row.head > span:first-child { display: none; } }
/* Mobile has the bottom tabs; .seg (display:flex) was overriding .pills { display: none } and the top pills collided with the corner pill. */
@media (max-width: 859px) { .pills.seg { display: none; } }
/* Full-screen call: no corner pill over the timer. */
body:has(.v3-call) .corner { display: none; }
