.demo-3d-card-flip .flip-card{width: 200px;height: 130px;perspective: 800px;}:is(.demo-3d-card-flip .flip-card):hover .flip-inner{transform: rotateY(180deg);}.demo-3d-card-flip .flip-inner{width: 100%;height: 100%;position: relative;transform-style: preserve-3d;transition: transform .55s ease;}.demo-3d-card-flip .flip-front,.demo-3d-card-flip .flip-back{position: absolute;inset: 0;border-radius: 12px;backface-visibility: hidden;display: flex;flex-direction: column;align-items: center;justify-content: center;font-size: .95rem;font-weight: 600;padding: 1rem;text-align: center;}.demo-3d-card-flip .flip-front{background: var(--accent-in-palette);color: var(--bg);}.demo-3d-card-flip .flip-back{background: var(--violet);color: var(--bg);transform: rotateY(180deg);}@media (prefers-reduced-motion: reduce){.demo-3d-card-flip .flip-inner{transition: none;}}
.demo-donut-chart .donuts{display: flex;gap: 1.5rem;align-items: center;justify-content: center;flex-wrap: wrap;}.demo-donut-chart .donut-wrap{display: flex;flex-direction: column;align-items: center;gap: .5rem;}:is(.demo-donut-chart .donut-wrap) .donut-name{font-size: .8rem;color: var(--text-muted);font-weight: 500;}.demo-donut-chart .donut-svg{transform: rotate(-90deg);overflow: visible;}.demo-donut-chart .donut-track{fill: none;stroke: var(--surface-2);stroke-width: 10;}.demo-donut-chart .donut-fill{fill: none;stroke-width: 10;stroke-linecap: round;stroke-dasharray: 220;--arc: 220;stroke-dashoffset: var(--arc);animation: donut-draw 4.5s cubic-bezier(0.16, 1, 0.3, 1) .2s infinite;}.demo-donut-chart .donut-fill-green{stroke: var(--accent-in-palette);--arc: 55;}.demo-donut-chart .donut-fill-sky{stroke: var(--sky);--arc: 88;}.demo-donut-chart .donut-fill-coral{stroke: var(--coral);--arc: 26.4;}.demo-donut-chart .donut-center{position: relative;}.demo-donut-chart .donut-label-wrap{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);text-align: center;}.demo-donut-chart .donut-pct{display: block;font-size: 1.3rem;font-weight: 700;font-family: var(--font-mono);line-height: 1;}.demo-donut-chart .donut-title{font-size: .7rem;color: var(--text-muted);font-weight: 500;}@keyframes donut-draw{0%{stroke-dashoffset: 220;}30%{stroke-dashoffset: var(--arc);}85%{stroke-dashoffset: var(--arc);}100%{stroke-dashoffset: 220;}}@media (prefers-reduced-motion: reduce){.demo-donut-chart .dg-fill{animation: none;stroke-dashoffset: var(--arc);}}
.demo-before-after-slider{--ba-w: 480px;--ba-h: 300px;flex-direction: column;align-items: center;gap: 1rem;}.demo-before-after-slider .ba-frame{position: relative;width: var(--ba-w);height: var(--ba-h);max-width: 100%;overflow: hidden;border-radius: var(--radius-lg);border: 1px solid var(--border);}.demo-before-after-slider .ba-img{display: block;width: var(--ba-w);height: var(--ba-h);object-fit: cover;}.demo-before-after-slider .ba-before{position: absolute;top: 0;left: 0;height: 100%;width: 55%;min-width: 28px;max-width: 100%;overflow: hidden;resize: horizontal;}.demo-before-after-slider .ba-before .ba-img{filter: grayscale(1) contrast(.88) brightness(1.04);}:is(.demo-before-after-slider .ba-before)::after{content: "";position: absolute;top: 0;right: 0;bottom: 0;width: 3px;background: var(--accent);pointer-events: none;}:is(.demo-before-after-slider .ba-before)::before{content: "";position: absolute;right: 3px;bottom: 3px;width: 16px;height: 16px;border-radius: 4px;background: var(--accent);pointer-events: none;z-index: 1;}.demo-before-after-slider .ba-tag{position: absolute;top: 10px;font-family: var(--font-mono);font-size: .6rem;letter-spacing: .08em;text-transform: uppercase;padding: .2rem .5rem;border-radius: 999px;background: rgba(12, 12, 13, .72);color: #f0f0f0;pointer-events: none;}.demo-before-after-slider .ba-tag-before{left: 10px;}.demo-before-after-slider .ba-tag-after{right: 10px;}.demo-before-after-slider .ba-hint{font-family: var(--font-mono);font-size: .7rem;color: var(--text-muted);}@media (hover: none){.demo-before-after-slider .ba-wipe-frame .ba-wipe-pane{width: 55%;transition: none;}}@media (max-width: 560px){.demo-before-after-slider{--ba-w: 300px;--ba-h: 200px;}}@media (prefers-reduced-motion: reduce){.demo-before-after-slider .ba-swap-frame .ba-layer, .demo-before-after-slider .ba-wipe-frame .ba-wipe-pane{transition-duration: .01ms;}}
