/* Play shelf (Kasetto, 2026-12-03): ROM patcher, emulator, RPG Maker player. House style: square, OLED-first. */
.rp-drops { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 1rem; }
.rp-slot { min-width: 0; }
.rp-drop { min-height: 150px; }
.rp-drop.has { border-style: solid; border-color: var(--ok); }
.rp-drop strong { overflow-wrap: anywhere; }
.rp-pick { margin-top: 8px; }
.rp-pick select { max-width: 100%; }
.rp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.rp-card { background: var(--paper); border: 1px solid var(--rule-2); padding: 12px 14px; margin-top: 16px; min-width: 0; }
.rp-cards .rp-card { margin-top: 0; }
.rp-card h3 { margin: 0 0 6px; font-size: var(--fs); color: var(--fire); }
.rp-card p { margin: 4px 0; overflow-wrap: anywhere; }
.rp-hash { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0 0; font-size: var(--small); }
.rp-hash dt { color: var(--ink-3); }
.rp-hash dd { margin: 0; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); }
.rp-desc { white-space: pre-wrap; font-size: var(--small); color: var(--ink-2); max-height: 12em; overflow: auto; margin: 8px 0 0; }
.rp-tools { margin-top: 1rem; }
.rp-tools summary { cursor: pointer; color: var(--ink-2); }
.emu-stage { margin-bottom: 1rem; background: #000; border: 1px solid var(--rule-2); }
.emu-stage:fullscreen { display: flex; flex-direction: column; }
.emu-screen { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 75vh; background: #000; }
.emu-stage:fullscreen .emu-screen { flex: 1; max-height: none; aspect-ratio: auto; }
.emu-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.emu-bar { padding: 6px 8px; margin: 0 !important; background: var(--card); align-items: center; gap: 8px; }
.emu-bar .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.emu-h { margin: 1.5rem 0 .5rem; }
.emu-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.emu-games li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 12px; background: var(--paper); border: 1px solid var(--rule); }
.emu-games li p { margin: 4px 0 0; }
.emu-games li .btn { flex: none; }
.rpg-drop { cursor: default; }
.rpg-buttons { justify-content: center; margin-top: 12px; }
.rpg-buttons .btn { position: relative; }
.rpg-screen { aspect-ratio: 4 / 3; }
@media (max-width: 480px) { .emu-bar { flex-wrap: wrap; } .emu-bar .grow { flex-basis: 100%; } .emu-games li { flex-direction: column; align-items: stretch; } }
