.demo-credits{display:grid;gap:5px;margin-top:22px;color:var(--muted);font-size:10px;line-height:1.65}.demo-credits a{font-size:inherit;color:inherit;text-decoration:underline;text-underline-offset:2px}
.demo-description .demo-chapters{margin:28px 0}.demo-description .demo-chapters li{display:block;padding:0;border:0}.demo-description .demo-chapters li:before{content:none}
.device-stage{display:flex;flex-direction:column;align-items:center;gap:16px}.phone{--status-top:transparent;--status-bottom:transparent;--status-ink:#fff;position:relative;width:min(100%,360px);aspect-ratio:844/1760;filter:drop-shadow(0 24px 32px rgba(0,0,0,.32))}.phone-shell{position:absolute;inset:0;border-radius:15.64%/7.5%;background:linear-gradient(130deg,#f8f8f6,#aeb0b1 22%,#ececea 48%,#858789 76%,#f0f0ed);box-shadow:inset 0 0 0 1px #fff8,inset 0 0 0 1.5px #5558}.phone-shell:before{content:"";position:absolute;inset:.45% .95%;border-radius:15.1%/7.2%;background:#040608;box-shadow:inset 0 0 0 1px #89929b,inset 0 0 0 3px #15191d;pointer-events:none}.phone-shell:after{content:"";position:absolute;inset:.35%;border-radius:15.3%/7.2%;box-shadow:inset 0 0 0 1px #fff8;pointer-events:none}.phone-screen{position:absolute;left:3.7915%;right:3.7915%;top:1.8182%;bottom:1.8182%;overflow:hidden;border-radius:13.46%/6.19%;background:#000;isolation:isolate}.phone-screen:before{content:"";position:absolute;inset:0;z-index:4;border:3px solid #070707;border-radius:inherit;pointer-events:none}.device-video{position:absolute;inset:6.25% 0 4.1274%;display:block;width:100%;height:89.6226%;object-fit:cover;background:#111;border:0}.phone-safe{position:absolute;z-index:1;left:0;width:100%;pointer-events:none}.phone-safe-top{top:0;height:6.25%;background:var(--status-top)}.phone-safe-bottom{bottom:0;height:4.1274%;background:var(--status-bottom)}.phone-status{position:absolute;z-index:2;top:0;left:0;width:100%;height:6.25%;padding:2.6% 8%;display:flex;justify-content:space-between;align-items:center;color:var(--status-ink);font:600 clamp(8px,2vw,12px)/1 system-ui;pointer-events:none;background:transparent}.status-icons svg{display:block;width:3.7em;height:auto;fill:currentColor}.phone-island{position:absolute;z-index:3;top:2%;left:50%;width:28%;height:3.4%;transform:translateX(-50%);border-radius:999px;background:#050505;box-shadow:inset 0 1px 2px #333}.phone-home{position:absolute;z-index:3;bottom:1.4%;left:50%;width:32%;height:4px;transform:translateX(-50%);border-radius:99px;background:var(--status-ink);opacity:.9}.phone-side{position:absolute;width:1.4%;background:linear-gradient(#777,#ddd,#777);z-index:-1}.phone-side-left{left:-.9%;top:21%;height:7%;border-radius:4px 0 0 4px}.phone-side-right{right:-.9%;top:28%;height:12%;border-radius:0 4px 4px 0}.device-controls{width:min(100%,360px);display:flex;align-items:center;gap:10px;color:var(--muted);font:10px var(--mono)}.device-controls button{width:28px;height:28px;padding:7px;border:1px solid var(--line);border-radius:50%;color:var(--text);background:transparent}.device-controls button:hover,.device-controls button:focus-visible{background:var(--text);color:var(--bg)}.device-controls svg{width:100%;height:100%;fill:currentColor}.device-seek{flex:1;accent-color:var(--text);height:16px}.device-time{white-space:nowrap}.device-demo{grid-template-columns:1fr minmax(250px,390px);background:transparent;overflow:hidden}.device-demo .device-stage{min-width:0}.device-demo .demo-description{align-self:center}.device-demo .demo-description h3{max-width:410px}@media(max-width:699px){.device-demo{padding:20px;gap:35px}.device-stage{width:100%}.phone{width:min(100%,340px)}.device-controls{width:min(100%,340px)}.device-time{font-size:9px}.device-demo .demo-description{order:2}}
.phone--full-screen .device-video{inset:0;width:100%;height:100%;object-fit:cover}.phone--full-screen .phone-status,.phone--full-screen .phone-island,.phone--full-screen .phone-safe,.phone--full-screen .phone-home{display:none}.demo-chapters{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:2px}.demo-chapters li{margin:0}.demo-chapter{width:100%;display:grid;grid-template-columns:28px 1fr;gap:10px;text-align:left;padding:10px 0;border:0;border-top:1px solid var(--line);background:transparent;color:var(--muted);cursor:pointer;font:inherit}.demo-chapter:hover,.demo-chapter:focus-visible{color:var(--text)}.demo-chapter:focus-visible{outline:1px solid currentColor;outline-offset:4px}.demo-chapter-index{font:10px var(--mono);padding-top:2px}.demo-chapter strong,.demo-chapter small{display:block}.demo-chapter strong{font-size:13px;font-weight:500}.demo-chapter small{margin-top:3px;font-size:11px;line-height:1.4;color:inherit;opacity:.72}.demo-chapter.is-active{color:var(--text)}.demo-chapter.is-active .demo-chapter-index{font-weight:700}
