/* ── Tester comment button + dialog (test mode only) ──────────────────────── */

#tester-comment-btn {
  position: fixed;
  top: 62px;
  right: 14px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(15, 118, 110, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.15s;
}
#tester-comment-btn:hover { background: rgba(15, 118, 110, 1); }

/* overlay */
#tester-comment-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#tester-comment-overlay.hidden { display: none; }

/* dialog */
#tester-comment-dialog {
  background: #1e2433;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
#tester-comment-dialog h3 {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
}
#tester-comment-dialog p.hint {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  margin: 0 0 14px 0;
}
#tester-comment-text {
  width: 100%;
  min-height: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #f8fafc;
  font-size: 13px;
  padding: 10px 12px;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}
#tester-comment-text:focus { border-color: rgba(15,118,110,0.7); }
#tester-comment-error {
  color: #f87171;
  font-size: 11px;
  margin: 6px 0 0;
  min-height: 16px;
}
.tester-comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-end;
}
.tester-comment-actions button {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}
.tester-comment-actions button:disabled { opacity: 0.5; cursor: default; }
#tester-comment-cancel {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}
#tester-comment-submit {
  background: #0f766e;
  color: #fff;
}
#tester-comment-submit:hover:not(:disabled) { background: #0d9488; }

/* success toast */
#tester-comment-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9600;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
#tester-comment-toast.show { opacity: 1; }
