/* Djembe: one canvas fills the stage; the status line floats over it and three pads sit in the dock. */

.dj-canvas { cursor: pointer; background: var(--lapis-deep); direction: ltr; touch-action: none; -webkit-user-select: none; user-select: none; }

.dj-status {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none;
  text-align: center; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2;
  color: var(--w-cream); text-shadow: 0 2px 0 rgba(28, 16, 9, 0.7);
  transition: color 0.2s;
}
.dj-status.is-go { color: var(--w-ochre); }
.dj-status.is-bad { color: #FF8A66; }
.dj-status.is-side { right: auto; }

/* Dock pads: the three strokes as real buttons (and a legend for the drum's rings). */
body[data-game="djembe"] .fa-dock { direction: ltr; gap: 8px; }
.dj-pad {
  flex: 1 1 0; min-width: 0; max-width: 180px; min-height: 46px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--w-cream);
  background: var(--lapis-raise); box-shadow: inset 0 0 0 1px var(--hairline), 0 3px 0 var(--w-earth);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.dj-pad:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--hairline); }
.dj-pad:focus-visible { outline: 2px solid var(--w-cream); outline-offset: 2px; }
.dj-pad i { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(251, 239, 217, 0.85); }
.dj-pad[data-z="0"] i { background: var(--w-clay); }
.dj-pad[data-z="1"] i { background: var(--w-ochre); }
.dj-pad[data-z="2"] i { background: var(--w-sky); }

@media (max-width: 360px) {
  body[data-game="djembe"] .fa-bar { gap: 5px; }
  body[data-game="djembe"] .fa-title { font-size: 0.95rem; }
  .dj-status { font-size: 1rem; }
  .dj-pad { font-size: 0.86rem; gap: 6px; }
}

/* Short phones (320 x 568): a tighter start panel, so Play shows without scrolling. */
@media (max-height: 600px) {
  body[data-game="djembe"] .kit-start .fa-panel { padding: 14px 18px; }
  body[data-game="djembe"] .kit-start .fa-panel__art { margin: 0 0 6px; }
  body[data-game="djembe"] .kit-start .kit-art { max-width: 104px; border-radius: 12px; }
  body[data-game="djembe"] .kit-start .fa-panel__title { margin: 2px 0 4px; font-size: 1.5rem; }
  body[data-game="djembe"] .kit-start .fa-panel__text { margin-bottom: 10px; font-size: 0.88rem; line-height: 1.35; }
  body[data-game="djembe"] .kit-start .fa-panel__body { margin-bottom: 12px; }
  body[data-game="djembe"] .kit-start .fa-howto { gap: 5px; margin: 0; font-size: 0.88rem; line-height: 1.3; }
}
