.demo{flex-direction:column;gap:18px;min-width:0;display:flex}.demo-tabs{scrollbar-width:none;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.demo-tabs::-webkit-scrollbar{display:none}.demo-tab{font-family:var(--display);border:1.5px solid var(--line-strong);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:10px 14px 7px;font-size:.86rem;font-weight:700;line-height:1;transition:color .15s,border-color .15s,background-color .15s}.demo-tab:hover{color:var(--ink);border-color:var(--ink)}.demo-tab[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:var(--on-yellow)}.demo-stage{flex-direction:column;display:flex;position:relative}.demo-glow{filter:blur(8px);pointer-events:none;background:radial-gradient(closest-side at 70% 30%,#ffd23f21,#0000 70%),radial-gradient(closest-side at 25% 75%,#17784e47,#0000 72%);position:absolute;inset:-12% -18% 8% -10%}.demo-phone{--ios-blue:#0a84ff;--ios-gray:#26252a;--ios-label:#8e8e93;--ios-green:#30d158;--ios-screen:#000;--ios-font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;background:var(--ios-screen);border:1px solid var(--line-strong);width:80%;box-shadow:var(--shadow), 0 0 0 5px #0a0d0c, 0 0 0 6px var(--line-strong);font-family:var(--ios-font);border-radius:30px;flex-direction:column;gap:8px;padding:14px 8px 62px;display:flex;position:relative}.demo-phone-head{border-bottom:1px solid #1c1c1e;grid-template-columns:30px minmax(0,1fr) 30px;align-items:start;margin-bottom:4px;padding:2px 8px 10px;display:grid}.ios-icon{color:var(--ios-blue);place-items:center;height:40px;display:grid}.ios-contact{text-align:center;flex-direction:column;align-items:center;gap:3px;min-width:0;display:flex}.demo-avatar{background:linear-gradient(#a5abb8,#858a96);border-radius:50%;flex:none;width:40px;height:40px;display:block;overflow:hidden}.demo-phone-head b{color:#fff;font-variant-numeric:tabular-nums;font-size:.74rem;font-weight:500;line-height:1.2;display:block}.demo-phone-head small{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ios-label);font-size:.58rem;display:block}.demo-thread{flex-direction:column;gap:7px;min-height:348px;padding-inline:10px;display:flex;overflow:hidden}.demo .msg{z-index:0;letter-spacing:-.01em;color:#fff;border-radius:18px;max-width:80%;padding:8px 13px 9px;font-size:.92rem;line-height:1.32;position:relative}.demo .msg.in{background:var(--ios-gray);transform-origin:0 100%;align-self:flex-start}.demo .msg.out{background:var(--ios-blue);transform-origin:100% 100%;align-self:flex-end}.demo .msg:before,.demo .msg:after{content:"";z-index:-1;height:18px;position:absolute;bottom:0}.demo .msg.out:before{background:var(--ios-blue);border-bottom-left-radius:16px 14px;width:20px;right:-7px}.demo .msg.out:after{background:var(--ios-screen);border-bottom-left-radius:10px;width:26px;right:-26px}.demo .msg.in:before{background:var(--ios-gray);border-bottom-right-radius:16px 14px;width:20px;left:-7px}.demo .msg.in:after{background:var(--ios-screen);border-bottom-right-radius:10px;width:26px;left:-26px}.demo .sys{color:var(--ios-label);text-align:center;align-self:center;margin:3px 0;font-size:.68rem;font-weight:500}.demo .sys.ok{color:var(--ios-green);background:#30d15829;border-radius:999px;margin-top:6px;padding:6px 12px;font-weight:600}.demo .typing{align-items:center;gap:5px;padding:13px 14px;display:inline-flex}.demo .typing i{opacity:.6;background:#9a9aa0;border-radius:50%;width:7px;height:7px}.demo-sheet{z-index:1;background:var(--surface);border:1px solid var(--line-strong);width:84%;box-shadow:var(--shadow);border-radius:14px;flex-direction:column;gap:10px;margin-top:-44px;margin-left:auto;padding:16px 16px 14px;display:flex;position:relative}.demo-sheet-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.demo-sheet-head b{font-family:var(--display);font-size:1.02rem;font-weight:800;line-height:1.1}.demo-sheet-head small{font-family:var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);white-space:nowrap;font-size:.62rem}.demo-stops{flex-direction:column;gap:2px;margin-inline:-8px;list-style:none;display:flex}.demo .stop{border-radius:10px;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:12px;padding:7px 8px;display:grid;position:relative}.demo .stop:not(:last-child):after{content:"";background:var(--line);width:2px;position:absolute;top:36px;bottom:-6px;left:20px}.demo .stop .no{width:26px;height:26px;font-family:var(--display);color:#fff;background:var(--green);border:2px solid var(--green);border-radius:6px;place-items:center;padding-top:2px;font-size:.8rem;font-weight:800;line-height:1;display:grid;box-shadow:inset 0 0 0 1.2px #ffffffe6}.demo .stop .body{flex-direction:column;gap:4px;min-width:0;display:flex}.demo .stop .body b{font-family:var(--display);font-size:.92rem;font-weight:800;line-height:1.25}.demo .stop .t{font-family:var(--mono);color:var(--muted);font-variant-numeric:tabular-nums;margin-right:7px;font-size:.74rem;font-weight:600}.demo .stop em{background:var(--green-tint);color:var(--on-tint);border:1px solid #0000;border-radius:999px;align-self:flex-start;padding:4px 8px;font-size:.72rem;font-style:normal;line-height:1.2}.demo .stop.is-open .no{border:2px dashed var(--line-strong);box-shadow:none;color:var(--muted);background:0 0}.demo .stop.is-open .job{color:var(--muted);font-weight:600}.demo .stop.is-open em{border:1px dashed var(--line-strong);color:var(--muted);background:0 0}.demo-scalebar{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding-top:12px;display:flex}.demo-scalebar div{border:1.5px solid var(--ink);grid-template-columns:repeat(4,1fr);width:150px;height:6px;display:grid}.demo-scalebar div i{display:block}.demo-scalebar div i:nth-child(odd){background:var(--ink)}.demo-scalebar p{width:150px;font-family:var(--mono);color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:.62rem;display:flex}@media (prefers-reduced-motion:no-preference){.js .demo[data-autoplay=true]:not(.is-ready) .demo-thread>*{visibility:hidden;animation:0s 3s forwards demo-failsafe}@keyframes demo-failsafe{to{visibility:visible}}.demo .pop{animation:demo-pop .28s var(--ease-out) both}@keyframes demo-pop{0%{opacity:0;transform:translateY(10px)scale(.94)}to{opacity:1;transform:none}}.demo .typing i{animation:1s ease-in-out infinite demo-dot}.demo .typing i:nth-child(2){animation-delay:.15s}.demo .typing i:nth-child(3){animation-delay:.3s}@keyframes demo-dot{0%,60%,to{opacity:.45;transform:none}30%{opacity:1;transform:translateY(-4px)}}.demo .stop.is-filled{animation:1.6s ease-out both demo-fill}@keyframes demo-fill{0%{box-shadow:0 0 0 1.5px var(--yellow);background:#ffd23f4d;transform:scale(1.02)}to{background:0 0;transform:none;box-shadow:0 0 0 1.5px #0000}}}@media (width<=520px){.demo-phone{width:92%}.demo-sheet{width:94%}}
