/* CCN Casual Games · Crumple Crossing · © Computational Classnotes · CC BY-NC-SA 4.0 */
#stage-wrap { position: relative; max-width: 960px; margin: 10px 0; }
#scene { width: 100%; aspect-ratio: 16 / 10; height: auto; display: block; border-radius: 12px; border: 3px solid var(--ink); background: #bfd8ea; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hud { gap: 8px; } .hud h2 { margin-right: auto; } .score { font: 700 2rem var(--head); }
button.fire { background: rgba(23, 32, 43, 0.78); color: #fff; min-width: 64px; min-height: 56px; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; font-size: 1.4rem; }
button.fire.go { background: rgba(250, 143, 43, 0.92); color: var(--ink); }
.pads { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; pointer-events: none; }
.pads button { pointer-events: auto; } .pads .gap { flex: 1; }
#note { position: absolute; top: 14px; left: 0; right: 0; text-align: center; margin: 0; font: 700 1.4rem var(--head); color: #fff; text-shadow: 0 0 8px #17202b, 0 0 14px #fa8f2b; pointer-events: none; opacity: 0; transition: opacity 0.5s; }
#note.show { opacity: 1; transition: none; }
@media (hover: hover) and (pointer: fine) { .pads { opacity: 0.55; } }
@media (max-width: 700px) { #scene { aspect-ratio: 4 / 5; } button.fire { min-width: 56px; min-height: 50px; } }
#minimap { position: absolute; top: 10px; right: 10px; width: 150px; height: 150px; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
@media (max-width: 700px) { #minimap { width: 100px; height: 100px; top: 8px; right: 8px; } }
main #scene { filter: saturate(1.15) contrast(1.04); }   /* warm light already: less push than the kit's bold-colour filter */
html.ccng-play #stage-wrap > #minimap { width: 110px; height: 110px; aspect-ratio: 1; border-radius: 0; top: 8px; right: 8px; left: auto; bottom: auto; }
