body {
  background: #f6f3ee;
}

.camera-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.camera-hero {
  margin-bottom: 40px;
}

.camera-subtitle {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #7a5c26;
  margin-bottom: 6px;
}

.camera-title {
  font-size: 32px;
  letter-spacing: 0.2em;
  font-weight: 300;
  margin: 0 0 12px;
}

.camera-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

.camera-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(240px, 1fr);
  gap: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.camera-view {
  position: relative;
  background: #111;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.camera-view video,
.camera-view canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camera-canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.camera-canvas.active {
  opacity: 1;
}

.camera-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.camera-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.camera-button {
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #9b7a3a 0%, #6f5522 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(111, 85, 34, 0.25);
}

.camera-button.secondary {
  background: #fff;
  color: #6f5522;
  border: 1px solid #6f5522;
  box-shadow: none;
}

.camera-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.camera-status {
  font-size: 13px;
  color: #555;
  padding: 12px 14px;
  background: #f7f1e6;
  border-radius: 10px;
  border: 1px solid #eadfce;
}

.camera-status[data-tone="success"] {
  color: #315f2e;
  border-color: #bcd7b8;
  background: #eef6ed;
}

.camera-status[data-tone="error"] {
  color: #803333;
  border-color: #e2bdbd;
  background: #f9eeee;
}

.camera-result {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5d8c5;
  background: #fcfbf8;
}

.camera-result h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.camera-result a {
  color: #6f5522;
  text-decoration: none;
}

.camera-nearby {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px dashed #d9c9b1;
  background: #fbf7f1;
}

.camera-nearby-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.camera-nearby-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.camera-nearby-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0d2bc;
  background: #f2f2f2;
}

.camera-nearby-item a {
  color: #3b2b0f;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.camera-note {
  margin-top: 32px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid #eadfce;
}

.camera-note-title {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #6f5522;
}

.camera-note-list {
  margin: 0;
  padding-left: 16px;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .camera-panel {
    grid-template-columns: 1fr;
  }
  .camera-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .camera-page {
    padding: 120px 16px 60px;
  }
  .camera-title {
    font-size: 26px;
  }
  .camera-actions {
    flex-direction: column;
  }
}
