.magnetic-playground{padding:0;overflow:hidden;scroll-margin-top:24px}
.magnetic-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-bottom:1px solid var(--line)}
.magnetic-toolbar p{margin:0;font-size:.9rem;color:var(--muted);line-height:1.5;flex:1 1 24rem}
.magnetic-toolbar button{flex-shrink:0}
#magneticFrame{display:block;width:100%;height:740px;border:0;background:#080d15;color-scheme:dark}
.magnetic-shortcuts{color:var(--muted);font-size:.8rem;text-align:center;line-height:1.9;margin:18px 0 30px}
.magnetic-shortcuts kbd{font:inherit;font-weight:700}
.magnetic-nojs{padding:18px}
.magnetic-playground:fullscreen,.magnetic-playground.magnetic-theater{display:flex;flex-direction:column;background:var(--panel,#101424);border-radius:0;width:100%;height:100dvh}
.magnetic-playground:fullscreen #magneticFrame,.magnetic-playground.magnetic-theater #magneticFrame{flex:1;min-height:0;height:100%}
.magnetic-playground.magnetic-theater{position:fixed;inset:0;z-index:99999}
body.magnetic-theater-open{overflow:hidden}
@media(max-width:780px){#magneticFrame{height:clamp(620px,calc(100svh - 130px),780px)}.magnetic-toolbar{padding:12px;gap:10px}.magnetic-toolbar p{font-size:.78rem}.magnetic-shortcuts{font-size:.72rem;padding:0 8px}}
