/* Companion Studio: hero notifications, feature cards, chat, sheets. */
.st-phone{display:grid;gap:8px;max-width:340px;margin:26px auto 0;text-align:left}
.st-notif{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);animation:pop .7s cubic-bezier(.2,1.4,.4,1) both}
.st-notif.d2{animation-delay:.5s;opacity:.92}.st-notif i{width:36px;height:36px;flex:none;border-radius:11px;background:var(--grad)}
.st-notif div{flex:1;min-width:0}.st-notif b{display:block;font-size:14px}.st-notif span{display:block;font-size:13px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-notif em{font-style:normal;font-size:11.5px;color:var(--mute);align-self:flex-start}
@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.96)}}
.st-feat{max-width:980px;margin:0 auto;padding:40px 18px 4px}.st-feat h2{margin:0 0 16px;font-size:clamp(28px,7.5vw,40px);line-height:1.08;letter-spacing:-.04em}
.st-feat h2 em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.st-feat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.st-feat article{padding:16px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(255,95,162,.10),rgba(177,140,255,.06))}
.st-feat .ic{font-size:24px}.st-feat b{display:block;margin:6px 0 4px;font-size:16px}.st-feat p{margin:0;font-size:14px;color:var(--soft)}
.st-note{margin:14px 2px 0;font-size:13px;color:var(--mute)}
.st-chatbtn{position:relative;width:54px;height:54px;flex:none;border-radius:18px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);display:grid;place-items:center}
.st-chatbtn svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linejoin:round}
.st-chatbtn b{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--rose);font-size:12px;line-height:20px;box-shadow:0 0 0 2px var(--bg)}
.st-chatbtn b[hidden]{display:none}
body.chatting{overflow:hidden}
.st-chat{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;background:radial-gradient(80% 50% at 50% 0%,rgba(255,95,162,.12),transparent 70%),#0d0710}
.st-chat[hidden]{display:none}
.st-chat-h{display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 8px 8px;border-bottom:1px solid var(--line);background:rgba(13,7,16,.85);backdrop-filter:blur(16px)}
.st-ib{width:42px;height:42px;flex:none;border:0;border-radius:50%;background:none;display:grid;place-items:center}
.st-ib svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.st-ib circle{fill:#fff;stroke:none}.st-ib.on svg{stroke:var(--rose)}
.st-chat-av{width:40px;height:40px;flex:none;border-radius:50%;background:var(--grad);overflow:hidden}.st-chat-av img{width:100%;height:100%;object-fit:cover}
.st-chat-who{flex:1;min-width:0}.st-chat-who b{display:block;font-size:16px}.st-chat-who span{display:block;font-size:12px;color:var(--mute)}
.st-msgs{flex:1;overflow-y:auto;padding:14px 12px 8px;display:flex;flex-direction:column;gap:6px;overscroll-behavior:contain}
.st-m{max-width:80%;display:flex;flex-direction:column;gap:3px}.st-m.me{align-self:flex-end;align-items:flex-end}.st-m.her{align-self:flex-start}
.st-m p{margin:0;padding:10px 14px;border-radius:20px;font-size:15.5px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.st-m.her p{background:rgba(255,255,255,.09);border-bottom-left-radius:6px}.st-m.me p{background:var(--grad);color:#1a0612;border-bottom-right-radius:6px}
.st-m time{font-size:10.5px;color:var(--mute);padding:0 6px}
.st-m-photo{width:220px;aspect-ratio:3/4;border-radius:18px;overflow:hidden;border:0;padding:0;background:#1a1020}.st-m-photo img{width:100%;height:100%;object-fit:cover;display:block}
.st-m-photo.wait,.st-m-photo.err{display:grid;place-items:center;padding:12px;text-align:center;font-size:13px;color:var(--soft)}
.st-m-photo.wait{background:linear-gradient(110deg,#1a1020 20%,#2a1830 40%,#1a1020 60%);background-size:250% 100%;animation:shimmer 1.6s linear infinite}
.st-m-note{align-self:center;max-width:90%;margin:8px 0;padding:6px 12px;border-radius:99px;background:rgba(255,255,255,.05);font-size:12px;color:var(--mute);text-align:center}
.st-m-empty{margin:auto;text-align:center;color:var(--soft);padding:30px}.st-m-empty b{display:block;font-size:20px;color:#fff;margin-bottom:6px}
.st-m.typing{flex-direction:row;gap:5px;padding:13px 16px;border-radius:20px;background:rgba(255,255,255,.09);width:fit-content}
.st-m.typing span{width:7px;height:7px;border-radius:50%;background:var(--soft);animation:blink 1.2s infinite}.st-m.typing span:nth-child(2){animation-delay:.2s}.st-m.typing span:nth-child(3){animation-delay:.4s}
@keyframes blink{50%{opacity:.3;transform:translateY(-3px)}}
.st-quick{display:flex;gap:6px;overflow-x:auto;padding:4px 12px 8px;scrollbar-width:none}.st-quick::-webkit-scrollbar{display:none}
.st-quick button{flex:none;height:34px;padding:0 13px;border-radius:99px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);font-size:13px;color:var(--soft)}
.st-compose{display:flex;gap:8px;padding:8px 10px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(13,7,16,.9)}
.st-compose input{flex:1;min-width:0;height:46px;padding:0 16px;border-radius:23px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:16px;outline:0}
.st-compose input:focus{border-color:var(--rose)}
.st-compose button{width:46px;height:46px;flex:none;border:0;border-radius:50%;background:var(--grad);display:grid;place-items:center}.st-compose svg{width:20px;height:20px;fill:#1a0612}
.st-sheet{position:fixed;inset:0;z-index:65;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.55);backdrop-filter:blur(4px)}
.st-sheet[hidden]{display:none}
.st-sheet-in{width:100%;max-width:520px;max-height:86vh;overflow-y:auto;padding:22px 18px calc(18px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:#160b1a;border:1px solid var(--line);animation:up .25s ease}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.st-sheet-in h3{margin:0 0 8px;font-size:22px;letter-spacing:-.03em}.st-sheet-in p{margin:0 0 12px;color:var(--soft);font-size:14.5px}
.st-sheet-b{display:flex;gap:10px;margin-top:14px}
.st-opts{display:grid;gap:8px}
.st-opt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:13px 15px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);text-align:left}
.st-opt b{font-size:15px}.st-opt span{font-size:13px;color:var(--mute)}.st-opt[aria-pressed=true]{border-color:var(--rose);background:rgba(255,95,162,.1)}.st-opt.danger b{color:#ff8a9a}
.st-opt .st-chips{margin-top:6px}
.st-check{display:flex;gap:10px;align-items:flex-start;font-size:15px;margin:6px 0}.st-check input{width:20px;height:20px;margin-top:2px;accent-color:var(--rose)}
.st-mem{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:6px}.st-mem li{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.05);font-size:14.5px}
.st-mem li span{flex:1;outline:0}.st-mem li button{border:0;background:none;color:var(--mute);font-size:20px;line-height:1}.st-mem li.empty{color:var(--mute)}
.st-mem-add{display:flex;gap:8px}
.st-mem-add input,.st-in{flex:1;width:100%;height:44px;padding:0 13px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.3);color:#fff;font:inherit;outline:0}
.st-mem-add button{height:44px;padding:0 16px;border-radius:12px;border:0;background:rgba(255,255,255,.12);font-weight:600}
.st-code{font:600 22px ui-monospace,monospace;letter-spacing:.08em;text-align:center;padding:14px;border-radius:14px;background:rgba(255,255,255,.06);color:#fff!important;user-select:all}
@media(min-width:760px){.st-feat-grid{grid-template-columns:repeat(4,1fr)}.st-chat{left:auto;width:440px;border-left:1px solid var(--line);box-shadow:-30px 0 80px rgba(0,0,0,.5)}.st-sheet{align-items:center}.st-sheet-in{border-radius:26px}}
