/* ── Letter Rip ───────────────────────────────────────────────────────────
   The word being typed, spelled out: "LETTER" on top as the focus row,
   "RIP" below it as a lesser, secondary row — the same two-weight read as
   the game's own .lr-next-word sitting below .lr-cur-word. One letter in
   the top row is highlighted in the game's real --violet cur-highlight
   (per the Ink-on-Bright-Fill rule it takes #111827 ink, not the in-game's
   white) standing in for "the letter you're on right now," with a small
   dot to its row's right marking the cursor running past the word. */
.game-art--letterrip .lr2-letter {
  position: absolute;
  top: 45%;
  height: 24%;
  transform: translate(-50%, -50%);
  border-radius: 22%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: max(1px, 2cqmin) solid color-mix(in srgb, var(--muted) 45%, var(--border));
  color: var(--text);
  font-weight: 800;
  font-size: 10cqmin;
  line-height: 1;
  z-index: 2;
}
.game-art--letterrip .lr2-t1 { left: 9%; width: 13%; }
.game-art--letterrip .lr2-t2 { left: 23%; width: 13%; }
.game-art--letterrip .lr2-t3 { left: 37%; width: 13%; }
.game-art--letterrip .lr2-t4 { left: 51%; width: 13%; }
.game-art--letterrip .lr2-t5 { left: 65%; width: 13%; }
.game-art--letterrip .lr2-t6 { left: 79%; width: 13%; }
.game-art--letterrip .lr2-cur {
  background: var(--violet, #A855F7);
  border-color: var(--violet, #A855F7);
  color: #111827;
  z-index: 3;
}
/* The letters after the current one aren't typed yet — dim them to the same
   weight the lesser row below already uses, so only what's already typed
   (before lr2-cur) reads at full strength. */
.game-art--letterrip .lr2-t4,
.game-art--letterrip .lr2-t5,
.game-art--letterrip .lr2-t6 {
  opacity: .55;
}
.game-art--letterrip .lr2-dot {
  position: absolute;
  left: 91%;
  top: 45%;
  width: 8%;
  height: 8%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--violet, #A855F7);
  z-index: 2;
}
/* The lesser row: smaller, dimmer, no highlighted letter of its own — it's
   what's coming next, not what's happening now. */
.game-art--letterrip .lr2-bot {
  top: 72%;
  height: 18%;
  font-size: 8cqmin;
  opacity: .55;
}
.game-art--letterrip .lr2-b1 { left: 38%; width: 11%; }
.game-art--letterrip .lr2-b2 { left: 50%; width: 11%; }
.game-art--letterrip .lr2-b3 { left: 62%; width: 11%; }

@container ga-stage (max-width: 100px) {
  .game-art--letterrip .lr2-letter { font-size: 0; }
}
@container ga-stage (max-width: 70px) {
  .game-art--letterrip .lr2-bot { opacity: .35; }
}
