body[data-camera-editor] .particle-panel,
body[data-camera-editor] [data-panel-open],
body[data-camera-editor] .choreography-timeline {
  display: none !important;
}

body[data-camera-editor] .choreography-study__canvas {
  cursor: grab;
}

body[data-camera-editor="dragging"] .choreography-study__canvas {
  cursor: grabbing;
}

.camera-path-editor {
  position: fixed;
  z-index: 2147483600;
  top: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(330px, 1fr) auto minmax(320px, 0.8fr);
  gap: 22px;
  width: min(1480px, calc(100vw - 96px));
  min-height: 118px;
  padding: 18px 20px;
  color: #1c1713;
  border: 1px solid rgb(72 59 48 / 19%);
  border-radius: 18px;
  background: rgb(250 246 241 / 90%);
  box-shadow: 0 18px 70px rgb(75 55 38 / 16%);
  font-family: Inter, Pretendard, "Noto Sans KR", Arial, sans-serif;
  backdrop-filter: blur(18px) saturate(118%);
  transform: translateX(-50%);
}

.camera-path-editor__identity {
  align-self: center;
  min-width: 0;
}

.camera-path-editor__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: #75685d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.camera-path-editor__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7906c;
  box-shadow: 0 0 0 5px rgb(183 144 108 / 14%);
}

.camera-path-editor[data-state="ready"] .camera-path-editor__status-dot {
  background: #637c60;
  box-shadow: 0 0 0 5px rgb(99 124 96 / 14%);
}

.camera-path-editor[data-state="recording"] .camera-path-editor__status-dot {
  background: #c56342;
  box-shadow: 0 0 0 5px rgb(197 99 66 / 16%);
}

.camera-path-editor__title {
  margin: 0;
  font-size: clamp(20px, 1.25vw, 29px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.camera-path-editor__help {
  margin: 8px 0 0;
  color: #74695f;
  font-size: 12px;
  line-height: 1.55;
}

.camera-path-editor__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(102px, 1fr));
  gap: 8px;
  align-content: center;
  width: 390px;
}

.camera-path-editor__button {
  min-height: 38px;
  padding: 0 13px;
  color: #2c241e;
  border: 1px solid rgb(70 56 45 / 18%);
  border-radius: 9px;
  background: rgb(255 255 255 / 55%);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.camera-path-editor__button:hover {
  border-color: rgb(70 56 45 / 38%);
  background: rgb(255 255 255 / 90%);
}

.camera-path-editor__button:active {
  transform: translateY(1px);
}

.camera-path-editor__button--primary {
  color: #fbf7f2;
  border-color: #29221d;
  background: #29221d;
}

.camera-path-editor__button--primary:hover {
  border-color: #463a31;
  background: #463a31;
}

.camera-path-editor__maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-self: stretch;
  min-width: 0;
}

.camera-path-editor__map {
  position: relative;
  overflow: hidden;
  min-width: 150px;
  min-height: 80px;
  border: 1px solid rgb(70 56 45 / 12%);
  border-radius: 11px;
  background:
    linear-gradient(rgb(99 83 70 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(99 83 70 / 5%) 1px, transparent 1px),
    rgb(255 255 255 / 38%);
  background-size: 18px 18px;
}

.camera-path-editor__map span {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 10px;
  color: #81756b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.camera-path-editor__map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.camera-path-editor__path-line {
  fill: none;
  stroke: #6d5542;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.camera-path-editor__path-point {
  fill: #f8f1e9;
  stroke: #6d5542;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.camera-path-editor__path-point--current {
  fill: #b85f42;
  stroke: #b85f42;
}

@media (max-width: 1500px) {
  .camera-path-editor {
    grid-template-columns: minmax(280px, 1fr) auto;
  }

  .camera-path-editor__maps {
    display: none;
  }
}
