/* sprite.css — your character in the menus (sprites.js tag) and the picker (spriteui.js). */
@keyframes sprite-run { from { background-position: 0 0; } to { background-position: var(--sw) 0; } }
.sprite-card { flex: none; background-repeat: no-repeat; image-rendering: pixelated; animation-name: sprite-run; animation-iteration-count: infinite; }
@media (prefers-reduced-motion: reduce) { .sprite-card { animation: none; } }
.sprite-frame, #crAva:not(img) { flex: none; display: inline-flex; align-items: flex-end; justify-content: center; padding: 6px 8px 4px; border: 1px solid var(--stroke-2); border-radius: 10px;
  background: linear-gradient(180deg, #2a2a52, #17173a); }
html.pc98 .sprite-frame, html.pc98 #crAva:not(img) { border-radius: 0; border: 2px solid var(--hi); box-shadow: 4px 4px 0 #000; background: #1c1c52; }
.cr-side { display: flex; gap: 14px; align-items: flex-start; }
.create.has-look { grid-template-columns: minmax(0, 1fr); }
.sp-edit { display: grid; gap: 8px; font-size: 12px; min-width: 200px; }
.sp-name { margin: 0; font-weight: 700; font-size: 14px; }
.sp-who { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-who button { border: 1px solid var(--stroke-2); background: transparent; color: inherit; padding: 4px 10px; cursor: pointer; font: inherit; }
.sp-who button.on { border-color: var(--cyan); }
.sp-sw { display: grid; grid-template-columns: 44px repeat(auto-fill, 19px); align-items: center; }
.sp-sw > span { opacity: .7; }
.sp-sw button { width: 16px; height: 16px; padding: 0; margin: 0 3px 3px 0; border: 1px solid rgba(0, 0, 0, .5); background: var(--c); cursor: pointer; border-radius: 50%; }
.sp-sw button.on { outline: 2px solid #fff; outline-offset: 1px; }
html.pc98 .sp-sw button { border-radius: 0; }
@media (max-width: 760px) { .cr-side { flex-direction: column; align-items: center; } .sp-edit { width: 100%; } }
