.palette-stage{position:relative;aspect-ratio:1;overflow:hidden;background:#121216;isolation:isolate}
.palette-stage>img,.palette-stage>video{display:block;width:100%;height:100%;object-fit:contain}
.palette-stage>video{position:absolute;inset:0;opacity:0;pointer-events:none}
.palette-stage>video.is-active{opacity:1}
.palette-stage>video[controls]{pointer-events:auto}
.palette-player .preview-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;color:#bdbdc7;font:16px/1.4 system-ui,sans-serif}
.palette-player [data-play-toggle]{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #bdbdc7;border-radius:50%;background:#121216;color:#ededf2;padding:10px;cursor:pointer}
.palette-player [data-play-toggle][hidden]{display:none}
.palette-player [data-play-toggle] svg{display:block;width:22px;height:22px}
.palette-player .colors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px;margin-top:22px}
.palette-player .colors button{background:none;border:0;color:#ededf2;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;min-height:76px;padding:7px 2px;font:16px/1.3 system-ui,sans-serif;border-radius:4px}
.palette-player .colors button span{display:grid;place-items:center;width:34px;height:34px;background:var(--liquid);border-radius:50%}
.palette-player .colors button span:after{content:'';width:18px;height:18px;background:var(--wax);border-radius:50%}
.palette-player .colors button b{font-weight:500}
.palette-player .colors button[aria-checked=true] span{outline:2px solid #fff0c8;outline-offset:5px}
.palette-player .colors button[aria-checked=true] b{text-decoration:underline;text-underline-offset:5px}
.palette-player :focus-visible{outline:3px solid #fff0c8;outline-offset:5px}
@media(max-width:380px){.palette-player .colors{grid-template-columns:repeat(3,minmax(0,1fr))}}
