.docs-gallery{--docs-gallery-line: color-mix(in srgb, var(--docs-border) 72%, transparent);border:1px solid var(--docs-gallery-line);border-radius:14px;overflow:hidden}.docs-gallery__bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:var(--docs-muted)}.docs-gallery__version{padding:2px 7px;border-radius:6px;border:1px solid color-mix(in srgb,var(--tx-color-success) 40%,transparent);background:color-mix(in srgb,var(--tx-color-success) 12%,transparent);color:color-mix(in srgb,var(--tx-color-success) 55%,var(--tx-text-color-primary));line-height:1.4}.docs-gallery__install{display:inline-flex;align-items:center;gap:8px;padding:4px 10px;border:1px solid var(--docs-inline-code-border);border-radius:8px;background:var(--docs-inline-code-bg);font:inherit;color:inherit;cursor:pointer;transition:color .18s ease,border-color .18s ease}.docs-gallery__install:hover{color:var(--docs-accent)}.docs-gallery__install-prompt{opacity:.55}.docs-gallery__install-icon{width:13px;height:13px}.docs-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.docs-gallery__cell{position:relative;border-top:1px solid var(--docs-gallery-line)}.docs-gallery__cell:nth-child(2n){border-left:1px solid var(--docs-gallery-line)}.docs-gallery .docs-gallery__cell a.docs-gallery__label{position:absolute;top:16px;left:20px;z-index:1;font-size:13px;font-weight:500;color:var(--docs-muted);text-decoration:none;border-bottom:none;transition:color .18s ease}.docs-gallery .docs-gallery__cell a.docs-gallery__label:hover{color:var(--docs-accent);text-decoration:none;border-bottom:none}.docs-gallery__stage{display:flex;align-items:center;justify-content:center;min-height:236px;padding:56px 28px 40px}.docs-gallery__stack{display:flex;flex-direction:column;align-items:stretch;gap:10px}.docs-gallery__stack--center{align-items:center;gap:14px}.docs-gallery__row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}.docs-gallery__row--loose{gap:22px}.docs-gallery__grow{flex:1;min-width:0}.docs-gallery__tile{display:flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border-radius:8px;border:1px solid var(--docs-gallery-line);background:var(--docs-inline-code-bg);font-size:12px;color:var(--docs-muted)}.docs-gallery__tile--fill{height:100%}.docs-gallery__splitter{height:96px}.docs-gallery__scroll{height:104px}.docs-gallery__framed{overflow:hidden;border-radius:12px;border:1px solid var(--docs-gallery-line)}.docs-gallery__chrome{display:flex;flex-direction:column;background:var(--docs-gallery-bg, var(--tx-bg-color, #fff))}.docs-gallery__chrome--bottom{flex-direction:column-reverse}.docs-gallery__chrome-body{display:flex;flex:1;flex-direction:column;gap:8px;justify-content:center;min-height:58px;padding:0 14px;background:var(--docs-inline-code-bg)}.docs-gallery__chrome-body:after,.docs-gallery__chrome-body:before{content:"";height:8px;border-radius:999px;background:var(--docs-gallery-line)}.docs-gallery__chrome-body:before{width:62%}.docs-gallery__chrome-body:after{width:38%}.docs-gallery__sort-row{display:flex;align-items:center;gap:8px}.docs-gallery__grip{flex:none;color:var(--docs-muted);cursor:grab}.docs-gallery__tabs{height:150px}.docs-gallery__transfer{height:190px}.docs-gallery__sidebar{max-width:min(320px,100%)}.docs-gallery .docs-gallery__stage li,.docs-gallery .docs-gallery__stage ol,.docs-gallery .docs-gallery__stage ul{margin:0;padding:0}.docs-gallery__context-target{min-height:64px;width:100%}.docs-gallery__overlay-body{min-height:84px}.docs-gallery__popover-body{margin:0;max-width:200px}.docs-gallery__code{height:128px;overflow:hidden;border-radius:10px}.docs-gallery__fade-row{display:flex;gap:8px}.docs-gallery__blur-stage{position:relative;overflow:hidden;height:88px}.docs-gallery__flip-body{margin:0;padding:20px;max-width:260px}.docs-gallery__autosizer{height:76px}.docs-gallery__stream{height:128px;overflow:hidden}.docs-gallery__swatch{display:block;width:22px;height:22px;border-radius:6px}.docs-gallery__scroll-row{padding:7px 10px;font-size:12px;color:var(--docs-muted);border-bottom:1px solid var(--docs-gallery-line)}.docs-gallery__muted{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--docs-muted)}.docs-gallery__dot{display:block;width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 2px var(--docs-gallery-bg, var(--tx-bg-color, #fff))}.docs-gallery__block{width:min(320px,100%);text-align:center}.docs-gallery__block>*{text-align:initial}.docs-gallery__block>.tuff-select{margin-inline:auto}.docs-gallery__block--wide{width:min(360px,100%)}.docs-gallery__spark{height:76px}.docs-gallery__glow{font-size:24px;font-weight:650;letter-spacing:.01em}.docs-gallery__glow-card{padding:12px 18px;border-radius:12px;background:#1f2124;color:#f2f3f5;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}.docs-gallery__beam-card{padding:14px 22px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;color:var(--docs-muted)}.docs-gallery__meter{display:flex;flex-direction:column;align-items:center;gap:8px}.docs-gallery__meter-text{font-size:12px;color:var(--docs-muted)}.docs-gallery__ph{width:140px;height:34px;border-radius:8px;background:linear-gradient(100deg,color-mix(in srgb,var(--docs-muted) 8%,transparent),color-mix(in srgb,var(--docs-muted) 15%,transparent),color-mix(in srgb,var(--docs-muted) 8%,transparent));background-size:200% 100%;animation:docs-gallery-shimmer 1.4s ease-in-out infinite}@keyframes docs-gallery-shimmer{0%{background-position:120% 0}to{background-position:-80% 0}}@media(prefers-reduced-motion:reduce){.docs-gallery__ph{animation:none}}@media(max-width:640px){.docs-gallery__grid{grid-template-columns:minmax(0,1fr)}.docs-gallery__cell:nth-child(2n){border-left:none}.docs-gallery__stage{min-height:196px;padding:52px 20px 32px}}.docs-gallery__alerts{position:relative}.docs-gallery__reset{position:absolute;top:-30px;right:0;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid var(--tx-border-color-lighter, #ebeef5);border-radius:8px;background:var(--tx-fill-color-light, #f5f7fa);color:var(--docs-muted, #8a8f98);cursor:pointer;transition:color .16s ease,border-color .16s ease,background-color .16s ease}.docs-gallery__reset:hover{border-color:var(--docs-accent);color:var(--docs-accent)}.docs-gallery-alert-move{transition:transform .26s cubic-bezier(.32,.72,.35,1)}
