.fp-hero{margin:0;display:flex;flex-direction:column;gap:14px;align-items:center}
.fp-hero-grid{display:grid;grid-template-columns:repeat(4,72px);gap:14px}
.fp-hero-grid div{width:72px;height:72px}
.fp-hero-grid svg,.fp-big svg{width:100%;height:100%;display:block}
.fp-hero figcaption,.fp-note{color:var(--muted);font-size:.85rem;font-weight:400}
.fp-demo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
@media (max-width:820px){.fp-demo{grid-template-columns:1fr}}
.fp-stage{background:var(--panel);border:1px solid var(--line-2);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;align-items:center;gap:20px}
.fp-tab{align-self:stretch;display:flex;align-items:center;gap:8px;background:var(--panel-2);border-radius:10px 10px 0 0;padding:8px 12px;font-size:.85rem;color:var(--text-2)}
.fp-tab span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fp-tab b{color:var(--muted);font-weight:400}
.fp-big{width:220px;height:220px}
.fp-sizes{display:flex;gap:18px;align-items:end}.fp-sizes img{image-rendering:auto}
.fp-ctrl{display:flex;flex-direction:column;gap:16px}
.fp-ctrl label{display:flex;flex-direction:column;gap:6px;font-weight:500}
.fp-ctrl input:not([type=range]){font:inherit;padding:10px 12px;border-radius:var(--r-sm);border:1px solid var(--line-2);background:var(--bg-elev);color:var(--text)}
.fp-ctrl input[type=range]{accent-color:var(--accent)}
.fp-ctrl fieldset{border:0;padding:0;margin:0}.fp-ctrl legend{font-weight:500;margin-bottom:6px}
.fp-seg,.fp-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fp-ctrl button{font:inherit;font-size:.9rem;padding:7px 12px;border-radius:999px;border:1px solid var(--line-2);background:var(--panel-2);color:var(--text);cursor:pointer}
.fp-ctrl button:hover{border-color:var(--accent)}
.fp-ctrl button[aria-pressed=true]{background:var(--soft-2);border-color:var(--accent)}
.fp-ctrl button:focus-visible,.fp-ctrl input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fp-row output{min-width:2.5em;text-align:center;font-family:var(--mono)}
#snippet{white-space:pre}
.fp-demo+.code{margin-top:28px}
