/* style.css */
html, body {
  margin: 0;
  padding: 0;
  background: #0b0d12;
  overflow: hidden;
}

canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  touch-action: manipulation;
}

/* Top HUD: logo only */
#hudTop{
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 20;
  pointer-events: none;
}

#logo{
  display: block;
  height: 34px;
  margin: 0 auto;
  opacity: 0.92;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}

/* Verse overlay UI */
.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10;
}

.hidden { display: none; }

.card {
  width: min(540px, calc(100vw - 28px));
  border-radius: 18px;
  background: rgba(20, 24, 32, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 16px;
  color: rgba(255,255,255,0.90);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.cardTitle {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
}

.cardSub {
  font-size: 13px;
  font-weight: 650;
  color: rgba(255,255,255,0.68);
  margin-bottom: 10px;
}

.resultRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.resultText {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
}

.scrollBox {
  height: 200px;
  overflow: auto;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px;
  line-height: 1.45;
  -webkit-overflow-scrolling: touch;
}

.verseText {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  white-space: pre-wrap;
}

.unlockRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.spacer { flex: 1; }

.hint {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
}

.hint.right {
  text-align: right;
  min-width: 140px;
}

.btn {
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  background: rgba(255,255,255,0.92);
  color: rgba(0,0,0,0.85);
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btnSecondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 850;
  cursor: pointer;
}

.rightBtn { min-width: 140px; }
.hiddenBtn { display: none; }

.shareStatus {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  min-height: 16px;
}
