body { margin: 0; background: #f4ecd8; color: #24382f; }
.cast-page { display: block; width: min(1080px, 100%); padding: 28px 16px; margin: auto; box-sizing: border-box; }
.cast-page h1 { font-size: clamp(24px, 4vw, 38px); }
.cast-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.cast-controls button, .cast-controls a { border-radius: 8px; padding: 12px; background: #294638; color: #fff6dc; border: 1px solid #60816b; font: 600 14px system-ui; }
.cast-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.cast-card { background: #d9e3c9; border: 1px solid #adba99; border-radius: 14px; overflow: hidden; text-align: center; }
.cast-stage { position: relative; height: 170px; background: radial-gradient(ellipse at 50% 95%,#adbf8c,transparent 66%); }
.cast-stage .npc.npc-character { left: 50% !important; top: 95% !important; z-index: 1 !important; }
.cast-card p { margin: 12px 4px; font-size: 13px; }
.cast-detail { background: #fffaf0; border: 1px solid #c9bc9b; padding: 16px; border-radius: 12px; margin-top: 20px; }
.cast-paused .npc-sprite { animation-play-state: paused; }
.cast-grid.cast-narrow { width: min(390px,100%); grid-template-columns: repeat(2,minmax(0,1fr)); margin-inline: auto; }
@media(max-width:600px) { .cast-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .cast-page { padding:16px 10px; } }
