.preview .xp {height:100%;width:100%;box-sizing:border-box;padding:8px;display:flex;gap:6px;background:var(--pbg,#f7f9ff);color:var(--pink,#1f2d5c);font-size:10px;line-height:1.35;overflow:hidden;align-items:center}
.preview .xp b,.preview .xp em,.preview .xp p {margin:0}
.preview .xp em {font-style:normal;background:var(--pa);color:#fff;border-radius:6px;padding:3px 6px;font-weight:800}
.preview .xp-icons i {width:22px;height:22px;border:1.5px solid currentColor;border-radius:5px;display:block}
.preview .xp-icons .fl {background:var(--pa);border-color:var(--pa)}
.preview .xp-icons .duo {background:color-mix(in srgb,var(--pa) 28%,#fff);border-color:var(--pa)}
.preview .xp-spot {flex-direction:column;align-items:flex-start;justify-content:center}
.preview .xp-spot i {width:28px;height:18px;border-radius:9px 9px 9px 2px;background:var(--pa)}
.preview .xp-mark s {width:8px;height:8px;border-radius:9px;background:currentColor;opacity:.3;display:block}
.preview .xp-mark s.on {opacity:1;background:var(--pa)}
.preview .xp-copy {flex-direction:column;align-items:flex-start;justify-content:center}
.preview .xp-copy b {font-size:12px}
.preview .xp-copy p {opacity:.75}
.preview .xp-actions span {opacity:.7}
.preview .xp-brief b {border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:4px;padding:3px 6px}
.preview .xp-shapes {justify-content:space-between}
.preview .xp-shapes i {width:28px;height:22px;background:var(--pa);display:block}
.preview .xp-shapes.sharp i {border-radius:1px}
.preview .xp-shapes.soft i:nth-child(1) {border-radius:6px}
.preview .xp-shapes.soft i:nth-child(2) {border-radius:10px}
.preview .xp-shapes.soft i:nth-child(3) {border-radius:14px}
.preview .xp-pills b {border-radius:99px;padding:3px 7px;background:#fff}
.preview .xp-pills .on {background:var(--pa);color:#fff}
.preview .xp-squircle {flex-direction:column;align-items:flex-start}
.preview .xp-squircle i {width:46px;height:32px;background:var(--pa);border-radius:30% 30% 28% 32% / 32% 30% 30% 28%}
.preview .xp-stack {align-items:stretch}
.preview .xp-stack i {flex:1;background:#fff;border-radius:8px}
.preview .xp-stack.flat i {border:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.preview .xp-stack.elev i {box-shadow:0 1px 2px color-mix(in srgb,currentColor 16%,transparent)}
.preview .xp-stack.elev .pop {box-shadow:0 8px 16px color-mix(in srgb,currentColor 22%,transparent)}
.preview .xp-line {background:#fff;border:1px solid currentColor;border-radius:8px;margin:8px;flex-direction:column;align-items:flex-start;width:auto}
.preview .xp-grain {flex-direction:column;align-items:flex-start;background-image:radial-gradient(currentColor 0.6px,transparent 0.7px);background-size:4px 4px}
.preview .xp-grain b,.preview .xp-grain p {background:var(--pbg)}
.preview .xp-focus b {outline:2px solid var(--pa);outline-offset:3px;padding:4px 8px;background:#fff;border-radius:6px}
.preview .xp-targets i {width:36px;height:28px;border-radius:8px;background:var(--pa)}
.preview .xp-contrast i {width:28px;height:28px;background:var(--pink);border-radius:4px}
.preview .xp-contrast b {color:#fff;margin-left:-22px}
.preview .xp-scale {gap:3px}
.preview .xp-scale i {flex:1;height:28px;display:block;background:var(--pink)}
.preview .xp-scale i:nth-child(1) {opacity:.15}
.preview .xp-scale i:nth-child(2) {opacity:.28}
.preview .xp-scale i:nth-child(3) {opacity:.42}
.preview .xp-scale i:nth-child(4) {opacity:.58}
.preview .xp-scale i:nth-child(5) {opacity:.78}
.preview .xp-status {justify-content:space-between}
.preview .xp-status b {color:#fff;border-radius:4px;padding:3px 5px;background:#30a46c}
.preview .xp-status b:nth-child(2) {background:#f5a623;color:#1c2024}
.preview .xp-status b:nth-child(3) {background:#e5484d}
.preview .xp-nums {flex-direction:column;align-items:flex-end;font-variant-numeric:tabular-nums;font-weight:800}
.preview .xp-cjk {flex-direction:column;align-items:flex-start}
.preview .xp-cjk p {line-height:1.7}
.preview .xp-stackcol {flex-direction:column}
.preview .xp-stackcol i {height:12px;width:100%;background:var(--pa);border-radius:4px;opacity:.85}
.preview .xp-stackcol i:nth-child(2) {width:70%;opacity:.55}
.preview .xp-side {padding:0;align-items:stretch;gap:0}
.preview .xp-side nav {width:28%;background:color-mix(in srgb,var(--pink) 8%,#fff);display:flex;flex-direction:column;gap:4px;padding:6px}
.preview .xp-side nav i {height:8px;background:currentColor;opacity:.3;border-radius:2px}
.preview .xp-side nav .on {opacity:1;background:var(--pa)}
.preview .xp-side main {flex:1;display:flex;flex-direction:column;gap:4px;padding:6px}
.preview .xp-side main b {height:8px;background:currentColor;opacity:.2}
.preview .xp-sections {flex-direction:column;justify-content:space-between;align-items:stretch}
.preview .xp-sections i {height:14px;background:#fff;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:4px}
.preview .xp-inset b,.preview .xp-inset span {padding:4px 8px;border-radius:6px}
.preview .xp-inset b {background:var(--pa);color:#fff}
.preview .xp-inset span {border:1px solid currentColor}
.preview .xp-field {flex-direction:column;align-items:stretch}
.preview .xp-field span {background:#fff;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:4px;padding:3px 5px}
.preview .xp-menu {flex-direction:column;align-items:stretch;background:#fff;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:8px;margin:6px}
.preview .xp-menu .bad {color:#e5484d}
.preview .xp-switch i {width:28px;height:16px;border-radius:99px;background:#fff;border:1px solid currentColor;position:relative}
.preview .xp-switch i::after {content:"";position:absolute;width:10px;height:10px;border-radius:99px;background:currentColor;top:2px;left:2px}
.preview .xp-switch .on {background:var(--pa);border-color:var(--pa)}
.preview .xp-switch .on::after {left:14px;background:#fff}
.preview .xp-fade {flex-direction:column;align-items:stretch}
.preview .xp-fade i {height:8px;background:var(--pa);border-radius:3px}
.preview.animated .xp-fade i {animation:xp-fade .8s ease both}
.preview.animated .xp-fade i:nth-child(2) {animation-delay:.12s}
.preview.animated .xp-fade i:nth-child(3) {animation-delay:.24s}
@keyframes xp-fade {from {opacity:0} to {opacity:1}}
.preview .xp-pop {position:relative;align-items:flex-end}
.preview .xp-pop i {position:absolute;right:8px;bottom:16px;width:8px;height:8px;background:var(--pa);border-radius:2px}
.preview .xp-pop b {background:#fff;border:1px solid currentColor;border-radius:8px;padding:4px 6px;transform-origin:80% 100%}
.preview.animated .xp-pop b {animation:xp-pop .6s var(--ease-spring-3,ease) both}
@keyframes xp-pop {from {opacity:0;transform:scale(.86)} to {opacity:1;transform:scale(1)}}
.preview .xp-press {position:relative}
.preview .xp-press b {background:var(--pa);color:#fff;padding:6px 10px;border-radius:6px}
.preview .xp-press i {position:absolute;inset:8px 8px 8px auto;width:42px;border-radius:6px;background:color-mix(in srgb,#fff 28%,transparent)}
.preview.animated .xp-press i {animation:xp-press 1.2s ease infinite}
@keyframes xp-press {50% {opacity:.2}}
