.home-star-voice{position:relative;pointer-events:auto;text-align:center;color:#d8d3e8;isolation:isolate;padding:4px 0 0;min-width:0}
.home-star-voice[hidden],.home-star-voice [hidden]{display:none!important}
.home-star-voice-open #home-search,.home-star-voice-open #home-view .suggestions{display:none!important}
.home-star-voice button{font:400 13px var(--art-serif);color:inherit;background:none;border:0;letter-spacing:1px;cursor:pointer}
.home-star-voice button:focus-visible{outline:1px solid #c8b7ec;outline-offset:5px}
.home-star-voice .star-voice-close{position:absolute;right:-6px;top:-9px;width:40px;height:40px;display:grid;place-items:center;padding:10px;opacity:.7}
.star-voice-close svg{width:20px;height:20px}.star-voice-close:hover{opacity:1}
.star-voice-status{font:400 13px/1.7 var(--art-serif);letter-spacing:1.5px;margin:0 32px;min-height:23px;color:#b3adc5}
.star-voice-wave{display:block;width:75%;height:160px;margin:0 auto;pointer-events:none}
.star-voice-transcript{font:400 17px/1.6 var(--art-serif);color:#e6e1f0;max-height:80px;overflow-y:auto;overflow-wrap:anywhere;margin:0 0 16px}
.star-voice-actions{display:flex;align-items:center;justify-content:center;gap:24px}
.home-star-voice .star-voice-toggle{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 16px #aa86ff30,inset 0 0 12px #b49cff20;transition:box-shadow .2s}
.star-voice-toggle svg{width:20px;height:20px}.star-voice-stop{width:11px;height:11px;background:#f0ebff;border-radius:2px}
.home-star-voice .star-voice-toggle:hover:not(:disabled){box-shadow:0 0 22px #aa86ff50,inset 0 0 13px #b49cff30}
.home-star-voice button:disabled{opacity:.4;cursor:default}
.home-star-voice .star-voice-search{padding:12px 2px;border-bottom:1px solid #c7b4f366;font-size:15px}.star-voice-search span{margin-left:8px}
.home-star-voice .star-voice-text{display:inline-block;margin-top:16px;padding:3px 0 5px;border-bottom:1px solid #a9a5ba60;font-size:12px}
@media(max-width:760px){
 body.home-star-voice-open #home-view .hero{min-height:720px}
 body.home-star-voice-open #home-view .hero-copy{bottom:36px}
 body.home-star-voice-open #home-view #art-bounds{top:-10px;height:46%}
 body.home-star-voice-open #home-view .search-area{margin-top:20px}
 .star-voice-wave{height:110px}.star-voice-status{font-size:12px;min-height:22px}
 .home-star-voice .star-voice-toggle{height:44px;width:44px}.home-star-voice .star-voice-text{margin-top:12px}
}

/* Venus: borderless reference waveform; theme tint is kept on the controls. */
body[data-subject="venus"] .home-star-voice{--voice-glint:207,218,247;display:flex;flex-direction:column;align-items:center;padding:12px 0 8px;border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;color:#dbe0ee}
body[data-theme="vangogh"] .home-star-voice{--voice-glint:236,218,175;--voice-text:#d9ceb5}
body[data-theme="monet"] .home-star-voice{--voice-glint:222,204,237;--voice-text:#cec4dd}
body[data-subject="venus"] .home-star-voice .star-voice-close{right:5px;top:3px;z-index:1}
body[data-subject="venus"] .star-voice-wave{order:1;width:90%;height:200px;margin:0 auto 5px}
body[data-subject="venus"] .star-voice-status{order:3;color:var(--voice-text);margin:0 10px 18px}
body[data-subject="venus"] .star-voice-transcript{order:2;width:100%;color:#e3dfeb;font-size:16px}
body[data-subject="venus"] .star-voice-actions{order:4}
body[data-subject="venus"] .home-star-voice .star-voice-toggle{border:1px solid rgba(var(--voice-glint),.5);box-shadow:0 0 18px rgba(var(--voice-glint),.06),inset 0 0 12px rgba(var(--voice-glint),.06)}
body[data-subject="venus"] .home-star-voice .star-voice-toggle:hover:not(:disabled){box-shadow:0 0 22px rgba(var(--voice-glint),.18),inset 0 0 13px rgba(var(--voice-glint),.1)}
body[data-subject="venus"] .home-star-voice .star-voice-text{order:5;position:relative;margin-top:20px;color:var(--voice-text);border:0}
body[data-subject="venus"] .star-voice-text::before,body[data-subject="venus"] .star-voice-text::after{content:"";position:absolute;top:50%;width:30px;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--voice-glint),.25))}
body[data-subject="venus"] .star-voice-text::before{right:calc(100% + 18px)}body[data-subject="venus"] .star-voice-text::after{left:calc(100% + 18px);transform:rotate(180deg)}
body[data-subject="venus"] .home-star-voice button:focus-visible{outline-color:rgba(var(--voice-glint),.8)}
@media(max-width:760px){body[data-subject="venus"].home-star-voice-open #home-view .hero{min-height:860px}body[data-subject="venus"].home-star-voice-open #home-view .hero-copy{bottom:38px}body[data-subject="venus"].home-star-voice-open #home-view #art-bounds{height:43%;top:-8px}body[data-subject="venus"] .home-star-voice{padding:12px 0 8px}body[data-subject="venus"] .star-voice-wave{height:160px}body[data-subject="venus"] .star-voice-status{margin-bottom:14px}body[data-subject="venus"] .home-star-voice .star-voice-text{margin-top:15px}}

/* Hold-to-talk: one microphone icon, audio-driven wave, consistent in all themes. */
.home-hold-voice{display:flex;flex-direction:column;align-items:center}
.home-hold-voice .star-voice-wave{order:1;height:160px!important}
.home-hold-voice .star-voice-status{order:3;margin:2px 28px 18px;min-height:24px}
.home-hold-voice .star-voice-transcript{order:2;width:100%}
.home-hold-voice .star-voice-actions{order:4}
.home-hold-voice .star-voice-text{order:5;margin-top:20px!important}
.home-hold-voice .star-voice-close{z-index:2}
.home-hold-voice .star-voice-toggle{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;border:1px solid #d2c5e455!important;width:56px!important;height:56px!important}
.home-hold-voice .star-voice-toggle svg{display:block;width:23px;height:23px}
.home-hold-voice[data-state=listening] .star-voice-toggle{background:#d6c6f51a;box-shadow:0 0 25px #c1b1e52b!important}
.home-hold-voice[data-state=processing] .star-voice-toggle{opacity:.45}
/* Cat themes retain the original borderless glow, including while held. */
body[data-subject="cat"] .home-hold-voice .star-voice-toggle{border:0!important}
body[data-subject="cat"] .home-hold-voice[data-state=listening] .star-voice-toggle{background:none}
@media(max-width:760px){.home-hold-voice .star-voice-wave{height:130px!important}.home-hold-voice .star-voice-toggle{width:52px!important;height:52px!important}}

/* Programmatic region focus must not look like a selected action on iOS.
   Button :focus-visible rules above remain available to keyboard users. */
.home-star-voice:focus,#home-view .home-voice-focus-return:focus{outline:none}

/* A readable final transcript before automatic search; tap to edit. */
.home-hold-voice .star-voice-transcript{display:block;border:0;background:transparent;box-shadow:none;padding:6px 12px;margin:0 0 4px;color:#d7d9de;font-family:var(--art-serif);font-weight:400;font-size:15px;line-height:1.6;text-align:center;white-space:normal;overflow-wrap:anywhere;max-height:7.8em;overflow:auto}
.home-hold-voice .star-voice-transcript[hidden]{display:none}
.home-hold-voice .star-voice-transcript:disabled{opacity:1;cursor:default}
.home-hold-voice[data-state=review] .star-voice-transcript{cursor:text;color:#efedf0}
.home-hold-voice[data-state=review] .star-voice-status{font-size:12px;color:#9a9da7;margin-bottom:8px}
.home-hold-voice[data-state=review] .star-voice-actions{display:none}

/* All four themes share transcript hierarchy; the waveform stays borderless. */
body .home-star-voice.home-hold-voice .star-voice-transcript{font:400 15px/1.6 var(--art-serif);letter-spacing:1px;order:2}
body .home-star-voice.home-hold-voice .star-voice-status{order:3;font-size:12px;letter-spacing:1px}
