/* CCN Casual Games · Kirakira Hop · © Computational Classnotes · CC BY-NC-SA 4.0 */
#stage-wrap { position: relative; max-width: 560px; margin: 10px 0; }
#scene { width: 100%; aspect-ratio: 1 / 1; height: auto; display: block; border-radius: 12px; border: 3px solid var(--ink); background: var(--paper); 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: var(--ink); color: #fff; min-width: 64px; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; }
#note { position: absolute; top: 14px; left: 0; right: 0; text-align: center; margin: 0; font: 700 1.3rem var(--head); color: var(--ink); pointer-events: none; opacity: 0; transition: opacity 0.4s; }
#note.show { opacity: 1; transition: none; }

/* the creature's speech bubble, over it in the scene */
#bubble { position: absolute; transform: translate(-50%, -100%); margin: 0; padding: 0.25rem 0.6rem; background: #fff; color: #1b1b2e; border-radius: 1rem; font-weight: 700; font-size: 1rem; box-shadow: 0 2px 8px rgba(60, 30, 90, 0.25); pointer-events: none; white-space: nowrap; }
#bubble::after { content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
.chip.hearts { color: #e0457b; letter-spacing: 0.1em; }
/* Kirakira Hop is painted in bold warm colours of its own (29 November 2026): the kit's general boost (kit/ccng.css,
   saturate 1.6) would push them to orange and tint the creatures, so it is eased here, the contrast kept. */
main canvas#scene { filter: saturate(1.12) contrast(1.08); }
