/* Ember coach (shared by all Ember puzzle games). Colours come from the game's own CSS variables, with fallbacks. */
.ecoach { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.ecoach-block { position: absolute; inset: 0; pointer-events: auto; }
.ecoach.ecoach-waiting .ecoach-block { pointer-events: none; }           /* the player taps the spotlit thing */
.ecoach.ecoach-center .ecoach-block { background: rgb(0 0 0 / .55); }
.ecoach-hole { position: absolute; border-radius: 12px; box-shadow: 0 0 0 9999px rgb(0 0 0 / .55), 0 0 0 3px var(--accent2, #ffc35c);
  animation: ecoach-glow 1s ease-in-out infinite alternate; pointer-events: none; transition: left .2s, top .2s, width .2s, height .2s; }
@keyframes ecoach-glow { to { box-shadow: 0 0 0 9999px rgb(0 0 0 / .55), 0 0 0 5px var(--accent2, #ffc35c), 0 0 18px 6px rgb(255 195 92 / .5); } }
.ecoach-bubble { position: absolute; pointer-events: auto; background: var(--panel, #241a14); color: var(--text, #fff6ea);
  border: 2px solid var(--accent2, #ffc35c); border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 28px rgb(0 0 0 / .45);
  font: 600 15px/1.35 var(--font, system-ui, sans-serif); max-width: calc(100vw - 24px); box-sizing: border-box; }
.ecoach.ecoach-center .ecoach-bubble { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, calc(100vw - 32px)); text-align: center; }
.ecoach-pop { animation: ecoach-pop .22s ease-out; }
.ecoach.ecoach-center .ecoach-pop { animation: ecoach-popc .22s ease-out; }
@keyframes ecoach-pop { from { opacity: 0; transform: translateY(6px); } }
@keyframes ecoach-popc { from { opacity: 0; transform: translate(-50%, -46%); } }
.ecoach-title { font-weight: 800; font-size: 17px; margin: 0 0 4px; }
.ecoach-icon { display: block; font-size: 38px; line-height: 1.1; margin: 0 0 6px; }
.ecoach.ecoach-center .ecoach-icon { font-size: 46px; }
.ecoach-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ecoach-count { opacity: .65; font-size: 12px; }
.ecoach-skip { margin-left: auto; background: none; border: 0; color: inherit; opacity: .7; text-decoration: underline; font: inherit; font-size: 12.5px; padding: 6px 2px; cursor: pointer; box-shadow: none; }
.ecoach-next { background: var(--accent2, #ffc35c); color: var(--on-accent, #241a14); border: 0; border-radius: 10px; padding: 8px 16px; font: 800 15px var(--font, system-ui, sans-serif); cursor: pointer; }
.ecoach.ecoach-center .ecoach-row { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .ecoach-hole, .ecoach-pop { animation: none; } }

/* low card (13 Nov): sits at the bottom so it never covers the top of a sheet (shop's Ember Pass card) */
.ecoach.ecoach-center.ecoach-low .ecoach-bubble { top: auto; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); }
.ecoach.ecoach-center.ecoach-low .ecoach-pop { animation: none; }
