/* AR scan scween */
#ar-scan-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1208;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 1002;
  font-family: Arial, sans-serif;
}

/* Top bar with back arrow + counter */
#ar-scan-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

#ar-scan-back {
  position: absolute;
  left: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ar-scan-counter {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Camera circle wrap */
#ar-scan-camera-wrap {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(193, 121, 82, 0.6);
  margin: 1.5rem auto 1rem;
  flex-shrink: 0;
  background: #2a1a0e;
  position: relative;
}

/* Live camera feed inside circle */
#ar-scan-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hint text below circle */
#ar-scan-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 auto;
  letter-spacing: 0.03em;
}

/* Journal card (slides up from bottom) */
#ar-journal-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 1.5rem 1.5rem 2.5rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Journal header row */
#ar-journal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

#ar-journal-icon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  background: #f5f0e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#ar-journal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 2px;
}

#ar-journal-count {
  font-size: 0.78rem;
  color: #c17952;
  margin: 0;
}

/* Divider under header */
#ar-journal-divider {
  width: 40px;
  height: 2px;
  background: #c17952;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Collected label */
#ar-journal-collected-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7a6a55;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}

/* Collected exhibit tags */
#ar-journal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ar-journal-tag {
  background: #f5f0e8;
  color: #3a2a1a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

/* Empty state text when nothing collected yet :// */
.ar-journal-empty {
  font-size: 0.82rem;
  color: #b0a090;
  font-style: italic;
}