/* Integrated game preview: automatic idle animations and team outfit colors. */
.character-preview{margin-top:42px;padding-top:30px;border-top:1px solid #dce5d9;scroll-margin-top:calc(var(--site-header-height) + 24px)}
.character-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:22px}
.character-heading h2{margin:0 0 10px}
.character-heading p{color:var(--muted);font-size:14px;line-height:1.7;max-width:680px}
.character-colors{display:flex;flex:none;align-items:center;gap:6px;padding:10px 14px;border:1px solid #d9e3d7;border-radius:16px;background:#fffdf5;margin:0}
.character-colors legend{padding:0 5px;font-size:12px;font-weight:750;color:var(--muted)}
.character-colors .swatch{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:4px;border:2px solid transparent;border-radius:50%;background:transparent;cursor:pointer;transition:border-color .15s,background .15s}
.character-colors .swatch:hover{background:#e7efe5}
.character-colors .swatch[aria-pressed=true]{border-color:#154f60;background:#fff}
.character-colors .swatch:focus-visible{outline:3px solid #077d9c;outline-offset:3px}
.character-colors .swatch span{display:block;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 -2px 2px #0002}
.swatch-blue span{background:#3b82f6}.swatch-red span{background:#ef4444}.swatch-green span{background:#10b981}.swatch-yellow span{background:#f59e0b}.swatch-sky span{background:#38bdf8}.swatch-pink span{background:#f472b6}
.character-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.character-card{min-width:0;overflow:hidden;background:#fffdf6;border:1px solid #dce4d7;border-radius:22px;box-shadow:0 6px 18px #1f4b580c}
.character-stage{position:relative;height:238px;display:flex;align-items:flex-end;justify-content:center;padding:0 8px 16px;background:radial-gradient(ellipse at 50% 100%,#dbe8ce 0,transparent 62%),linear-gradient(145deg,#fffdf4,#eef7ee)}
.character-stage:before{content:"";position:absolute;bottom:19px;left:18%;width:64%;height:20px;border-radius:50%;background:#bdd2ae90;border-bottom:3px solid #99b68680}
.character-sprite{position:relative;display:block;flex:none;width:min(214px,100%);height:auto;aspect-ratio:1;object-fit:contain}
.character-caption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:16px 18px}
.character-caption h3{font-size:22px;margin:0;line-height:1.3}
.character-caption span{font-size:12px;color:var(--muted)}
.character-note{font-size:13px;color:var(--muted);line-height:1.8;margin:18px 0 0;text-align:center}
.preview-details{margin-top:38px!important}
@media(max-width:900px){.character-heading{align-items:flex-start;gap:20px}.character-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.character-stage{height:224px}}
@media(max-width:600px){.character-preview{margin-top:28px;padding-top:26px}.character-heading{flex-direction:column;gap:14px;margin-bottom:18px}.character-heading p{font-size:13px}.character-colors{padding:8px 12px;gap:6px}.character-gallery{gap:12px}.character-stage{height:184px;padding:0 4px 14px}.character-stage:before{bottom:16px;height:15px}.character-sprite{width:min(170px,100%)}.character-caption{display:block;padding:12px 14px}.character-caption h3{font-size:20px}.character-caption span{font-size:12px}.character-note{text-align:left;font-size:12px}.preview-details{margin-top:28px!important}}
