.mac-demo{width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 48px;justify-items:center}.mac-demo-screen{--mac-ink:rgba(0,0,0,.86);--mac-hl:rgba(0,0,0,.09);--win:#fff;--win-bar:#f3f3f5;--win-ink:rgba(0,0,0,.8);--win-line:rgba(0,0,0,.08);--win-edge:rgba(0,0,0,.1);--light-off:#d4d4d8;position:relative;width:100%;aspect-ratio:var(--mac-ar,16/10);border-radius:18px;overflow:hidden;isolation:isolate;container-type:inline-size;box-shadow:var(--win-shadow);background:radial-gradient(90% 75% at 16% 0%,#eef1f8 0%,transparent 62%),radial-gradient(85% 85% at 100% 100%,#dbe7e4 0%,transparent 58%),#e1e4ed;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,system-ui,sans-serif;user-select:none;-webkit-user-select:none;cursor:default;-webkit-font-smoothing:auto}html[data-theme=dark] .mac-demo-screen{--mac-ink:rgba(255,255,255,.9);--mac-hl:rgba(255,255,255,.2);--win:#1e1e22;--win-bar:#2a2a2f;--win-ink:rgba(255,255,255,.85);--win-line:rgba(255,255,255,.1);--win-edge:rgba(255,255,255,.1);--light-off:#4a4a50;background:radial-gradient(90% 75% at 16% 0%,#222943 0%,transparent 62%),radial-gradient(85% 85% at 100% 100%,#251c2e 0%,transparent 58%),#141726}.mac-bar svg,.demo-cursor svg{display:block}.mac-bar{position:absolute;inset:0 0 auto;z-index:1;height:24px;display:flex;align-items:center;gap:19px;padding:0 12px 0 16px;font-size:13px;line-height:1;color:var(--mac-ink);white-space:nowrap}.mac-bar b{font-weight:700}.mac-bar-apple{flex:none;width:13px;height:16px;fill:currentColor;margin-right:-4px}.mac-bar-right{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0}.mac-bar-sys{display:flex;align-items:center;gap:11px}.mac-bar-sys svg{flex:none;height:15px}.mac-bar-clock{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}@container (max-width:800px){.mac-bar>span:nth-of-type(n+4):not(.mac-bar-right){display:none}}@container (max-width:680px){.mac-bar>span:nth-of-type(n+2):not(.mac-bar-right){display:none}}@container (max-width:560px){.mac-bar>span:not(.mac-bar-right){display:none}}@container (max-width:500px){.mac-bar-app{display:none}}@container (max-width:400px){.mac-bar{gap:12px;padding-inline:10px}.mac-bar-date,.mac-bar-sys .mac-bar-x{display:none}.mac-bar-right,.mac-bar-sys{gap:8px}}.mac-win{position:absolute;background:var(--win);border-radius:10px;overflow:hidden;box-shadow:0 14px 34px -12px #00000057,0 2px 6px #00000014,0 0 0 .5px var(--win-edge)}.mac-win-bar{display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;background:var(--win-bar);border-bottom:1px solid var(--win-line);font-size:11.5px;font-weight:600;color:var(--win-ink);white-space:nowrap}.mac-win-bar img{width:14px;height:14px;border-radius:3px}.mac-lights{flex:none;width:10px;height:10px;border-radius:50%;background:#ff5f57;box-shadow:15px 0 #febc2e,30px 0 #28c840;margin-right:34px}.mac-win:not(.front) .mac-lights{background:var(--light-off);box-shadow:15px 0 0 var(--light-off),30px 0 0 var(--light-off)}@container (max-width:520px){.mac-win-bar{height:24px;font-size:10px;padding:0 7px;gap:4px}.mac-win-bar img{display:none}.mac-lights{width:7px;height:7px;box-shadow:10px 0 #febc2e,20px 0 #28c840;margin-right:22px}.mac-win:not(.front) .mac-lights{box-shadow:10px 0 0 var(--light-off),20px 0 0 var(--light-off)}}.mac-demo-footer{width:100%;height:48px;box-sizing:border-box;display:flex;align-items:flex-start;gap:16px;padding:12px 2px 0}.mac-demo-controls{flex:none;display:flex;align-items:center;gap:10px;height:24px;color:var(--mute);font-size:12.5px}.demo-btn{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:var(--mute);transition:color .14s var(--ease-out),background-color .14s var(--ease-out),transform .14s var(--ease-out)}.demo-btn:hover{color:var(--ink);background:var(--sel)}.demo-btn:active{transform:scale(.92)}.demo-btn svg{width:14px;height:14px;fill:currentColor}.stage-note{position:relative;flex:1;min-width:0;height:24px;font-size:13px;line-height:24px;white-space:nowrap;color:var(--mute)}.stage-note-face{position:absolute;inset:0;display:flex;align-items:center;gap:7px;opacity:0;filter:blur(4px);transition:opacity .18s var(--ease-out),filter .18s var(--ease-out)}.stage-note-face.on{opacity:1;filter:none}.stage-note-ic{flex:none;display:inline-grid;place-items:center;width:15px;height:15px;color:var(--tint,var(--ink))}.stage-note-ic svg{width:15px;height:15px}.stage-note b{flex:none;font-weight:600;color:var(--ink)}.stage-note-face>span{min-width:0;overflow:hidden;text-overflow:ellipsis}@media(prefers-reduced-motion:reduce){.stage-note-face{filter:none}}@media(max-width:760px){.stage-note{font-size:12px}}.demo-cursor{position:absolute;left:0;top:0;z-index:20;pointer-events:none;opacity:0;transition:opacity .22s var(--ease-out);will-change:transform}.demo-cursor.on{opacity:1}.demo-cursor svg{position:absolute;overflow:visible;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.4))}.demo-cursor-arrow{left:-1.8px;top:-1.4px;width:19.2px;height:27.6px;transform-origin:1.8px 1.4px;transition:scale .1s var(--ease-out)}.demo-cursor .demo-cursor-ibeam{left:-7px;top:-11.5px;width:14px;height:23px;display:none}.demo-cursor[data-kind=ibeam] .demo-cursor-arrow{display:none}.demo-cursor[data-kind=ibeam] .demo-cursor-ibeam{display:block}.demo-cursor.down .demo-cursor-arrow{scale:.88}@media(max-width:480px){.mac-demo-screen{--mac-ar:1;border-radius:14px}}@media(max-width:480px){.mac-demo-footer:has(.mac-demo-controls) .stage-note-face>span{display:none}}
