/* VOTRELEC - odd one out. The page shell, reveal and share box are in games.css. */
.vt-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.vt-row {
  padding: 16px 16px 14px; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--border);
}
.vt-row-head {
  display: flex; justify-content: space-between; margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
}
.vt-row-label { color: var(--text-faint); }
.vt-level { color: var(--accent-dim); }
.vt-level[data-level="3"], .vt-level[data-level="4"] { color: var(--accent); }

.vt-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.vt-tile {
  position: relative; overflow: hidden; min-height: 58px; padding: 10px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: 'Geist', sans-serif; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-light); border-radius: 4px;
  cursor: pointer; transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.vt-tile:not(:disabled):hover { border-color: var(--accent); transform: translateY(-1px); }
.vt-tile:disabled { cursor: default; }
.vt-word { position: relative; z-index: 1; overflow-wrap: anywhere; text-align: center; line-height: 1.2; }
.vt-score {
  position: relative; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-faint);
}
/* After a guess, each tile fills from the bottom with the model's belief that it is the intruder. */
.vt-row.is-done .vt-tile::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--score, 0%);
  background: var(--accent-soft); transition: height 0.6s ease;
}
.vt-tile.is-intruder { border-color: var(--accent); }
.vt-tile.is-intruder .vt-word { color: var(--accent); }
.vt-tile.is-right { background: rgba(127, 179, 154, 0.12); border-color: var(--green); }
.vt-tile.is-right .vt-word { color: var(--green); }
.vt-tile.is-wrong { border-color: #d88a6a; }
.vt-tile.is-wrong .vt-word { color: #d88a6a; text-decoration: line-through; }

.vt-row-result { margin-top: 10px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.vt-progress {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  color: var(--text-faint); margin-bottom: 8px;
}

@media (max-width: 640px) {
  .vt-row { padding: 12px 10px; }
  .vt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .vt-tile { min-height: 52px; font-size: 14px; }
}
