/* Verse Memorizer — scoped under .vm-wrap so it never leaks into your theme */

.vm-wrap {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  max-width: 380px;
  margin: 0 auto;
  background: #ffffff;
  color: #111;
  font-family: sans-serif, "Helvetica Neue", "Lucida Grande", Arial;
  padding: 14px 14px 40px;
}
.vm-wrap * { box-sizing: border-box; }

.vm-wrap .vm-title {
  font-weight: bold;
  font-size: 26px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.vm-wrap .vm-subtitle {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

.vm-wrap select {
  display: block;
  width: 100%;
  height: 40px;
  font-size: 15px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #111;
  padding: 0 8px;
}

.vm-wrap .statline {
  font-size: 14px;
  margin: 8px 0 12px;
}
.vm-wrap .statline .correct { color: darkgreen; font-weight: bold; }
.vm-wrap .statline .wrong { color: red; font-weight: bold; }
.vm-wrap .statline .sep { color: #999; margin: 0 4px; }

.vm-wrap .verse-display {
  font-size: 16px;
  line-height: 1.6;
  min-height: 42px;
  padding: 8px 0 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
}
.vm-wrap .verse-display .blank {
  display: inline-block;
  width: 34px;
  border-bottom: 2px solid #ccc;
  margin: 0 2px;
}

.vm-wrap .tile-btn {
  display: block;
  width: 100%;
  height: 64px;
  font-size: 20px;
  background: lightgray;
  color: #000;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: pointer;
}
.vm-wrap .tile-btn:active { background: #c7c7c7; }
.vm-wrap .tile-btn.correct { background: #b7f0c0; border-color: darkgreen; color: darkgreen; }
.vm-wrap .tile-btn.wrong { background: #f5b7b7; border-color: red; color: red; }
.vm-wrap .tile-btn.letters { font-size: 26px; font-weight: bold; }
.vm-wrap .tile-btn.placeholder {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}

.vm-wrap .win {
  text-align: center;
  padding: 18px 0;
  font-size: 18px;
  font-weight: bold;
  color: darkgreen;
}
.vm-wrap .win small {
  display: block;
  font-weight: normal;
  color: #555;
  font-size: 13px;
  margin-top: 6px;
}

.vm-wrap .mode-btn {
  display: block;
  width: 100%;
  height: 34px;
  font-size: 15px;
  background: black;
  color: white;
  border: none;
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: pointer;
}

.vm-wrap .action-row { display: flex; gap: 8px; margin-bottom: 8px; }
.vm-wrap .action-btn {
  flex: 1;
  height: 34px;
  font-size: 14px;
  background: #1a5fd6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.vm-wrap .scoreboard {
  background: black;
  color: white;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 14px;
  font-size: 14px;
}
.vm-wrap .scoreboard .head {
  padding: 8px 12px;
  font-weight: bold;
  background: black;
}
.vm-wrap .scoreboard .row {
  display: flex;
  justify-content: space-between;
  padding: 7px 12px;
  background: #1a5fd6;
  border-top: 1px solid black;
}
.vm-wrap .scoreboard .row .medal { margin-right: 4px; }
.vm-wrap .scoreboard .empty {
  padding: 8px 12px;
  background: #1a5fd6;
  font-size: 13px;
}

.vm-wrap .add-form {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
}
.vm-wrap .add-form.open { display: flex; }
.vm-wrap .add-form label { font-size: 11px; font-weight: bold; color: #777; text-transform: uppercase; }
.vm-wrap .add-form input, .vm-wrap .add-form textarea {
  font-size: 14px;
  padding: 7px 9px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}
.vm-wrap .add-form textarea { min-height: 70px; resize: vertical; }
