/* Fill the gaps: drag mı/mi/mu/mü into the questions (js/tasks/fill.js).
   Shared task classes (.pill, .task-note) and the shake / pill-in keyframes
   stay in base.css; everything fill-only lives here. */

.fill-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55em;
  margin-top: 1.6em;
}
.fill-row {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  color: var(--cream);
}
.fill-gap {
  min-width: 2.2em;
  text-align: center;
  color: var(--lavender);
  border-bottom: 1px dashed rgba(154, 147, 184, 0.6);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.fill-gap.done {
  color: #74B0FF;
  text-shadow: 0 0 12px rgba(116, 176, 255, 0.6);
  border-bottom-color: transparent;
}
.fill-gap.no { animation: shake 0.4s ease; }
.fill-mark { color: var(--cream); }
/* The suffix tiles fly on a fixed court over everything; only they take taps,
   so the counter and map stay reachable through it. */
.fill-court {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.fill-court .fill-tile {
  position: absolute;
  left: 0; top: 0;
  pointer-events: auto;
  will-change: transform;
  box-shadow: 0 0 14px rgba(116, 176, 255, 0.35);
  /* The rAF owns the transform, so the pill entrance animation (which holds
     translateY(0) via `forwards` and would pin every tile to the corner)
     must not run here. Gentle corners, not full pills. */
  animation: none;
  opacity: 1;
  border-radius: 9px;
}
.fill-tile {
  font-family: var(--serif);
  color: #74B0FF;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.fill-tile.caught { cursor: grabbing; box-shadow: 0 0 20px 3px rgba(116, 176, 255, 0.7); }
.fill-tile.nudge { animation: shake 0.4s ease; }
