/* Playground and live voice look (Nov 2026 design, shared by both studios). Loaded last on the studio page.
   Glass panels, ambient light, a fine grid and the 3D nebula orb (drawn by x-play.ts). */
:root{--xp-bg:#05060d;--xp-ink:#f8fafc;--xp-ink2:#cbd5e1;--xp-ink3:#94a3b8;--xp-indigo:#6366f1;--xp-sky:#38bdf8;--xp-ember:#ff7a59;--xp-ember2:#ffb48a;--xp-cream:#ffe9c0;
  --xp-line:rgba(148,163,184,.14);--xp-line2:rgba(148,163,184,.26);--xp-glass:rgba(13,18,32,.62);--xp-glass2:rgba(148,163,184,.08);--xp-ease:cubic-bezier(.2,.8,.2,1)}

/* ═════════ Playground ═════════ */
#stPlay.pg{position:relative;isolation:isolate}
#stPlay.pg::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60% 50% at 18% 0%,rgba(99,102,241,.16),transparent 70%),radial-gradient(50% 45% at 100% 100%,rgba(255,122,89,.10),transparent 70%)}
#stPlay.pg::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.35;background-image:linear-gradient(var(--xp-line) 1px,transparent 1px),linear-gradient(90deg,var(--xp-line) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse at 50% 20%,#000 5%,transparent 68%);mask-image:radial-gradient(ellipse at 50% 20%,#000 5%,transparent 68%)}
.xp-hero{max-width:900px;margin:1vh auto 8px;padding:0 4px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;animation:xpRise .6s var(--xp-ease) both}
.xp-orb{position:relative;width:clamp(120px,17vh,190px);aspect-ratio:1;flex:none}
.xp-orb canvas,.xv-orb canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.xp-ecg{width:min(360px,80%);height:22px;margin-top:-16px;fill:none;stroke:url(#xpEcg);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:520;stroke-dashoffset:520;animation:xpEcg 3.6s ease-in-out infinite}
.xp-h{margin:4px 0 0;font:700 clamp(21px,3vw,30px)/1.22 "Orbitron",Inter,system-ui,sans-serif;letter-spacing:.01em;max-width:760px;background:linear-gradient(92deg,#fff 0%,#c7d2fe 45%,var(--xp-ember2) 80%,var(--xp-cream) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;unicode-bidi:plaintext}
.xp-sub{margin:0;max-width:600px;color:var(--xp-ink3);font-size:14.5px;line-height:1.55}
.xp-model{display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:6px 8px;margin:2px 0 0;padding:6px 14px;border-radius:999px;background:var(--xp-glass2);border:1px solid var(--xp-line2);font-size:12.5px;color:var(--xp-ink2)}
.xp-model{max-width:100%}.xp-model b{color:var(--xp-ember2);font-weight:700;max-width:min(60vw,360px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xp-model small{color:var(--xp-ink3)}
.xp-dot{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399}
.xp-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;margin-top:8px}
.xp-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:14px 14px 13px;text-align:left;border-radius:18px;border:1px solid var(--xp-line);background:linear-gradient(160deg,rgba(30,41,74,.55),rgba(9,13,26,.62));-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);color:var(--xp-ink);cursor:pointer;box-shadow:0 14px 34px -22px #000,inset 0 1px 0 rgba(255,255,255,.06);transition:transform .2s var(--xp-ease),border-color .2s,box-shadow .2s;animation:xpRise .5s var(--xp-ease) both;animation-delay:calc(var(--i,0)*60ms + .1s)}
.xp-card:hover{transform:perspective(700px) translateY(-3px) rotateX(5deg);border-color:rgba(56,189,248,.45);box-shadow:0 22px 40px -22px #000,0 0 0 4px rgba(56,189,248,.07)}
.xp-card:focus-visible{outline:2px solid var(--xp-sky);outline-offset:2px}
.xp-card b{font-size:13.5px;font-weight:650}.xp-card small{font-size:12px;line-height:1.4;color:var(--xp-ink3);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xp-ci{width:36px;height:36px;margin-bottom:6px;border-radius:11px;display:grid;place-items:center;color:var(--xp-sky);background:linear-gradient(135deg,rgba(99,102,241,.22),rgba(56,189,248,.14));border:1px solid rgba(56,189,248,.25)}
.xp-live .xp-ci{color:var(--xp-ember2);background:linear-gradient(135deg,rgba(255,122,89,.22),rgba(255,180,138,.1));border-color:rgba(255,122,89,.35)}
@media(max-width:1100px){.xp-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.xp-model small{display:none}.xp-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.xp-card{padding:12px}.xp-card small{display:none}.xp-live{grid-column:1/-1;flex-direction:row;align-items:center;gap:10px}.xp-live .xp-ci{margin:0}.xp-hero{margin-top:1vh}.xp-orb{width:clamp(120px,18vh,160px)}.xp-sub{font-size:13.5px}}
/* conversation */
#stPlay.pg .st-m.u .st-bub{background:linear-gradient(135deg,rgba(99,102,241,.22),rgba(56,189,248,.14));border:1px solid rgba(56,189,248,.28);border-radius:18px 6px 18px 18px;box-shadow:0 10px 26px -18px #000}
#stPlay.pg .st-m.a .who{background:radial-gradient(circle at 35% 30%,#c7d2fe,#6366f1 45%,#0b1020 100%);box-shadow:0 0 0 1px rgba(255,255,255,.14),0 0 16px rgba(99,102,241,.45)}
#stPlay.pg .st-m.u .who{background:linear-gradient(150deg,var(--xp-ember2),var(--xp-ember));box-shadow:0 0 0 1px rgba(255,255,255,.14),0 0 14px rgba(255,122,89,.35);color:#2a0d05}
#stPlay.pg .st-bub pre{background:rgba(5,8,18,.85);border-color:var(--xp-line2)}
/* the chat box: glass with a sky focus ring (every tool inside stays as it is) */
#stPlay.pg .st-box{border-radius:22px!important;background:rgba(14,19,34,.82)!important;border:1px solid var(--xp-line2)!important;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 20px 50px -24px #000!important;transform:none!important}
#stPlay.pg .st-box:focus-within{border-color:rgba(56,189,248,.65)!important;box-shadow:0 0 0 4px rgba(56,189,248,.12),0 20px 60px -20px rgba(99,102,241,.5)!important}
/* the tool row wraps, so the model pill and Send are always in view (an older style made it one scrolling line) */
#stPlay.pg .st-comp .st-tools{flex-wrap:wrap!important;overflow:visible!important;row-gap:6px!important}
/* small activity and mood faces (x-emotion.ts) become a calm orb dot in the Playground and the voice screen */
#stPlay.pg .x-face,#xVoice .x-face{background:radial-gradient(circle at 35% 30%,#e0e7ff,#6366f1 45%,#0b1020 100%)!important;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 0 12px rgba(56,189,248,.55)!important;animation:xpPulse 1.8s ease-in-out infinite!important;border-radius:50%!important}
#stPlay.pg .x-face>*,#stPlay.pg .x-face::before,#stPlay.pg .x-face::after,#xVoice .x-face>*,#xVoice .x-face::before,#xVoice .x-face::after{display:none!important}

/* ═════════ Live voice ═════════ */
#xVoice.xp-voice{background:radial-gradient(70% 60% at 15% 0%,rgba(99,102,241,.22),transparent 65%),radial-gradient(60% 55% at 100% 100%,rgba(255,122,89,.14),transparent 65%),var(--xp-bg)!important;color:var(--xp-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
#xVoice.xp-voice::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;background-image:linear-gradient(var(--xp-line) 1px,transparent 1px),linear-gradient(90deg,var(--xp-line) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse at 40% 35%,#000 5%,transparent 70%);mask-image:radial-gradient(ellipse at 40% 35%,#000 5%,transparent 70%)}
#xVoice.xp-voice>*{position:relative}
#xVoice.xp-voice .xv-top{flex:none;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--xp-line);background:rgba(9,13,22,.55);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
#xVoice.xp-voice .xv-ttl{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.01em;opacity:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#xVoice.xp-voice .xv-ttl small{font:700 9.5px ui-monospace,Menlo,monospace;letter-spacing:.14em;padding:2px 7px;border-radius:6px;color:var(--xp-ember2);background:rgba(255,122,89,.1);border:1px solid rgba(255,122,89,.32)}
#xVoice.xp-voice .xv-ic{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:13px;border:1px solid var(--xp-line);background:var(--xp-glass2);color:var(--xp-ink2);font-size:0;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#xVoice.xp-voice .xv-ic:hover{background:rgba(148,163,184,.16);color:#fff;border-color:var(--xp-line2)}
#xVoice.xp-voice .xv-ic svg{width:19px;height:19px}
.xp-meta{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto;margin-right:4px}
.xp-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border-radius:999px;background:var(--xp-glass2);border:1px solid var(--xp-line2);font:600 12px/1 ui-monospace,Menlo,monospace;color:var(--xp-ink2);white-space:nowrap}
.xp-chip svg{color:var(--xp-sky)}#xpLang{font-family:inherit}
#xpLat[data-q=g]{color:#86efac}#xpLat[data-q=m]{color:#fde68a}#xpLat[data-q=b]{color:#fca5a5}
.xp-work{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.35fr) minmax(0,1fr);gap:10px;padding:10px}
@media(min-width:900px){.xp-work{grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);grid-template-rows:minmax(0,1fr);gap:16px;padding:16px 18px}}
.xp-stage,.xp-log{min-height:0;border-radius:24px;border:1px solid var(--xp-line);background:var(--xp-glass);-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%);box-shadow:0 30px 60px -34px #000,inset 0 1px 0 rgba(255,255,255,.05);animation:xpRise .45s var(--xp-ease) both}
.xp-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;overflow-x:hidden;overflow-y:auto}
.xp-stage .xv-stage{flex:1 0 auto;min-height:auto;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:10px}
.xv-orb{position:relative;flex:none;width:clamp(170px,40vh,360px);aspect-ratio:1;margin:0;border:0;padding:0;background:none;cursor:pointer;border-radius:50%;transition:width .5s var(--xp-ease)}
.xv-orb.small{width:clamp(150px,32vh,300px)}
.xv-orb:focus-visible{outline:2px solid var(--xp-sky);outline-offset:4px}
.xp-stage .xv-ans{flex:none;max-height:30vh;width:100%;max-width:680px;overflow:auto;padding:4px 12px;text-align:center;font-size:clamp(16px,2vw,21px);line-height:1.5;font-weight:500;color:var(--xp-ink);white-space:pre-wrap;unicode-bidi:plaintext}
#xVoice.nocaps .xv-ans{visibility:hidden}
.xp-stage .xv-mid{width:100%;display:grid;justify-items:center;gap:8px;padding:2px 8px}
.xv-pill{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;min-height:30px;padding:0 16px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--xp-ink3);background:var(--xp-glass2);border:1px solid var(--xp-line2)}
.xv-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}
#xVoice[data-s=listen] .xv-pill{color:var(--xp-sky)}#xVoice[data-s=think] .xv-pill{color:#a78bfa}#xVoice[data-s=speak] .xv-pill,#xVoice[data-s=hello] .xv-pill{color:var(--xp-ember2)}#xVoice[data-s=muted] .xv-pill{color:#94a3b8}
.xv-you{margin:0;min-height:1.3em;max-width:640px;font-size:15px;font-style:italic;color:var(--xp-ink3);text-align:center;unicode-bidi:plaintext}
.xv-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.xv-chips button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--xp-line2);background:var(--xp-glass2);color:var(--xp-ink2);font-size:12.5px;cursor:pointer;transition:border-color .15s,color .15s}
.xv-chips button:hover{color:#fff;border-color:rgba(56,189,248,.5)}
.xv-chips button.on{color:#fff;border-color:rgba(56,189,248,.65);background:linear-gradient(135deg,rgba(99,102,241,.3),rgba(56,189,248,.18))}
.xv-cam{position:absolute;right:12px;top:12px;width:min(34%,220px);aspect-ratio:3/4;object-fit:cover;border-radius:16px;border:1px solid var(--xp-line2);box-shadow:0 20px 40px -12px #000;z-index:2}
.xv-att,.xv-jobs{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;padding:0 8px}
.xv-att span,.xv-jobs span{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:var(--xp-glass2);border:1px solid var(--xp-line);font-size:12.5px}
.xv-jobs a{color:var(--xp-sky)}.xv-jobs .st-spin{width:12px;height:12px}
/* conversation log */
.xp-log{display:flex;flex-direction:column;overflow:hidden;animation-delay:.08s}
.xp-log header{flex:none;display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--xp-line);color:var(--xp-ink2)}
.xp-log header b{font-size:14px;color:var(--xp-ink)}
.xp-log header small{min-width:24px;height:22px;display:inline-grid;place-items:center;padding:0 7px;border-radius:999px;background:rgba(99,102,241,.25);font-weight:700;font-size:12px}
.xp-cp{margin-left:auto;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--xp-line);background:var(--xp-glass2);color:var(--xp-ink2);cursor:pointer}.xp-cp:hover{color:#fff}
.xp-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 14px 16px;display:flex;flex-direction:column;gap:10px}
.xp-empty{margin:auto;max-width:280px;text-align:center;color:var(--xp-ink3);font-size:13.5px;line-height:1.5}
.xp-m{display:flex;gap:10px;align-items:flex-start;animation:xpRise .3s both}.xp-m.u{flex-direction:row-reverse}
.xp-av{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--xp-sky);background:var(--xp-glass2);border:1px solid var(--xp-line)}
.xp-m.u .xp-av{color:var(--xp-ember2)}
.xp-m>div{min-width:0;max-width:min(85%,520px);padding:9px 12px;border-radius:16px;background:rgba(148,163,184,.07);border:1px solid var(--xp-line)}
.xp-m.u>div{background:linear-gradient(135deg,rgba(99,102,241,.24),rgba(56,189,248,.14));border-color:rgba(56,189,248,.22)}
.xp-m small{display:block;margin-bottom:3px;font-size:11px;color:var(--xp-ink3)}
.xp-m p{margin:0;font-size:14.5px;line-height:1.5;overflow-wrap:anywhere;unicode-bidi:plaintext}
.xp-m.lv>div{box-shadow:inset 0 0 0 1px rgba(56,189,248,.5)}.xp-m.lv p::after{content:"";display:inline-block;width:2px;height:1em;margin-left:3px;vertical-align:-2px;background:var(--xp-sky);animation:xpBlink 1s steps(2) infinite}
/* control dock */
#xVoice.xp-voice .xv-bar{flex:none;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--xp-line);background:rgba(9,13,22,.6);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
#xVoice.xp-voice .xv-b{position:relative;width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:16px;border:1px solid var(--xp-line2);background:var(--xp-glass2);color:var(--xp-ink);font-size:0;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s,transform .15s}
#xVoice.xp-voice .xv-b:hover{background:rgba(148,163,184,.16);border-color:rgba(56,189,248,.45)}
#xVoice.xp-voice .xv-b:active{transform:scale(.94)}
#xVoice.xp-voice .xv-b svg{width:21px;height:21px}
#xVoice.xp-voice .xv-b.on{background:linear-gradient(135deg,rgba(99,102,241,.45),rgba(56,189,248,.3));border-color:rgba(56,189,248,.6)}
#xVoice.xp-voice .xv-b.x{color:#fca5a5;background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.4)}
#xVoice.xp-voice .xv-b.x:hover{background:rgba(239,68,68,.24);color:#fff}
/* microphone button: x-voice.ts writes its state as a symbol; show a line icon instead (the click logic is unchanged) */
#xVoice.xp-voice #xvMic::before{content:"";width:21px;height:21px;background:currentColor;-webkit-mask:var(--xp-mic) center/contain no-repeat;mask:var(--xp-mic) center/contain no-repeat}
#xVoice.xp-voice #xvMic{--xp-mic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3M8.5 21h7'/%3E%3C/svg%3E")}
#xVoice.xp-voice #xvMic.off{--xp-mic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 9.5V6a3 3 0 0 0-5.7-1.3M9 9v2a3 3 0 0 0 4.6 2.5M5 11a7 7 0 0 0 11.5 5.4M19 11a7 7 0 0 1-.6 2.8M12 18v3M8.5 21h7M3 3l18 18'/%3E%3C/svg%3E");color:#fca5a5;background:rgba(239,68,68,.14);border-color:rgba(239,68,68,.45)}
/* export button (x-v64.ts writes a symbol): line download icon */
#xVoice.xp-voice .xv-exp::before{content:"";width:19px;height:19px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5'/%3E%3Cpath d='M4 16v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5'/%3E%3Cpath d='M4 16v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") center/contain no-repeat}
/* x-v3.ts adds a second type field; the one under the dock is the single place to type */
#xVoice.xp-voice .x3-lv{display:none!important}
/* the round talk button in the dock: tap to talk or interrupt; its glow follows the microphone level (--lv) */
#xVoice.xp-voice .xv-blob{--lv:1;position:relative;width:68px;height:68px;min-width:68px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;padding:0;cursor:pointer;color:#fff;overflow:visible;background:radial-gradient(circle at 35% 30%,#a5b4fc,#6366f1 45%,#1e1b4b 100%);box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 calc(10px + 14px * var(--lv)) rgba(56,189,248,.55),inset 0 -8px 18px rgba(0,0,0,.35);transform:none;transition:box-shadow .08s linear,transform .15s}
#xVoice.xp-voice .xv-blob::before{content:"";position:absolute;inset:-7px;border-radius:50%;background:conic-gradient(from 0deg,var(--xp-sky),var(--xp-indigo),var(--xp-ember),var(--xp-sky));filter:blur(9px);opacity:.55;z-index:-1;animation:xpSpin 6s linear infinite}
#xVoice.xp-voice .xv-blob:active{transform:scale(.95)}
#xVoice.xp-voice .xv-blob svg{width:26px;height:26px}
#xVoice.xp-voice[data-s=speak] .xv-blob,#xVoice.xp-voice[data-s=hello] .xv-blob{background:radial-gradient(circle at 35% 30%,var(--xp-cream),var(--xp-ember) 50%,#4a1408 100%)}
#xVoice.xp-voice[data-s=think] .xv-blob::before{animation-duration:1.4s;opacity:.85}
#xVoice.xp-voice[data-s=muted] .xv-blob,#xVoice.xp-voice[data-s=idle] .xv-blob{filter:saturate(.35) brightness(.85)}
#xVoice.xp-voice[data-s=muted] .xv-blob::before,#xVoice.xp-voice[data-s=idle] .xv-blob::before{opacity:.15;animation-play-state:paused}
#xVoice.xp-voice .xv-type{flex:none;display:flex;justify-content:center;padding:0 14px 14px;background:rgba(9,13,22,.6)}
#xVoice.xp-voice .xv-type input{width:min(560px,100%);min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--xp-line2);background:rgba(14,19,34,.85);color:#fff;font-size:15px}
#xVoice.xp-voice .xv-type input:focus{outline:0;border-color:rgba(56,189,248,.65);box-shadow:0 0 0 4px rgba(56,189,248,.12)}
#xVoice.xp-voice .xv-set{background:rgba(13,18,30,.97);border:1px solid var(--xp-line2);border-radius:20px;-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);box-shadow:0 30px 80px -10px rgba(0,0,0,.85)}
/* minimised: only the bar stays */
#xVoice.xp-voice.mini .xp-work,#xVoice.xp-voice.mini .xp-meta{display:none}
#xVoice.xp-voice.mini{border:1px solid var(--xp-line2);border-radius:22px}
#xVoice.xp-voice.mini .xv-top .xv-ic:first-child svg{transform:rotate(180deg)}
@media(max-width:899px){.xp-work{grid-template-rows:minmax(0,1.7fr) minmax(0,1fr)}.xp-meta{order:9;width:100%;margin:2px 0 0;justify-content:flex-start}.xp-m p{font-size:14px}#xVoice.xp-voice .xv-b{width:48px;height:48px}#xVoice.xp-voice .xv-bar{gap:10px}.xv-orb{width:clamp(130px,25vh,220px)}.xv-orb.small{width:clamp(120px,21vh,190px)}.xp-stage .xv-ans{font-size:16px;max-height:18vh}}
@media(max-width:380px){#xVoice.xp-voice .xv-b{width:44px;height:44px}#xVoice.xp-voice .xv-blob{width:60px;height:60px;min-width:60px}#xVoice.xp-voice .xv-bar{gap:8px;padding-left:8px;padding-right:8px}}
@media(max-height:620px){.xv-orb{width:clamp(110px,26vh,180px)}.xv-orb.small{width:clamp(100px,22vh,160px)}}

@keyframes xpRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes xpEcg{0%{stroke-dashoffset:520}55%,100%{stroke-dashoffset:0}}
@keyframes xpSpin{to{transform:rotate(360deg)}}
@keyframes xpPulse{50%{box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 20px rgba(56,189,248,.85)}}
@keyframes xpBlink{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.xp-hero,.xp-card,.xp-stage,.xp-log,.xp-m,.xp-ecg,#xVoice.xp-voice .xv-blob::before,#stPlay.pg .x-face,.xp-m.lv p::after{animation:none!important}.xp-ecg{stroke-dashoffset:0}}
