/* Start anywhere: the Tetris-style "drop a piece" board */
.drop-game {
  display: grid;
  grid-template-columns: minmax(0, 15rem) 1fr;
  gap: 2rem;
  align-items: start;
  margin: 1rem 0 1.5rem;
}
.drop-game[hidden] { display: none; }

.drop-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  padding: 6px;
  aspect-ratio: 10 / 14;
  background: var(--ink);
  border-radius: 0.4rem;
  box-shadow: 0 0.5rem 1.5rem rgba(31, 35, 40, 0.18);
}
.drop-cell { background: #2b3036; border-radius: 2px; }
.drop-cell.is-I { background: var(--accent); }
.drop-cell.is-O { background: #d9a03f; }
.drop-cell.is-T { background: #3f6e8f; }
.drop-cell.is-S { background: #5e8a5a; }
.drop-cell.is-L { background: #b8644a; }
.drop-cell.is-J { background: #7a5c96; }
.drop-cell.is-falling { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }

.drop-side { font-family: var(--sans); }
.drop-result { margin-top: 1.5rem; }
.drop-result:empty { display: none; }
.drop-result__label {
  font-family: var(--mono); font-size: 0.85rem; color: var(--accent);
  margin: 0 0 0.25rem;
}
.drop-result__title {
  font-size: 1.4rem; font-weight: 700; line-height: 1.25; margin: 0 0 0.5rem;
}
.drop-result__hook { font-family: var(--serif); color: var(--muted); margin: 0; }
.drop-count { font-size: 0.9rem; color: var(--muted); margin: 1.5rem 0 0; }
.drop-count:empty { display: none; }

.drop-list li.is-read h3::after {
  content: "read";
  margin-left: 0.6rem;
  padding: 0.05rem 0.5rem;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 400;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  vertical-align: middle;
}

@media (max-width: 40rem) {
  .drop-game { grid-template-columns: 1fr; gap: 1.25rem; }
  .drop-board { max-width: 12rem; }
}