.pano-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 全景生成面板：更窄、更矮，只保留分辨率和张数 */
.node-panel.is-panorama .node-panel-inner {
  padding: 12px 14px 13px;
  gap: 10px;
}

.node-panel.is-panorama .np-prompt .np-text,
.node-panel.is-panorama .np-prompt .np-hl,
.node-panel.is-panorama .np-prompt .np-ph {
  font-size: 13px;
}

.node-panel.is-panorama .np-text {
  min-height: 84px;
  max-height: 170px;
}

.node-panel.is-panorama .np-pop {
  top: calc(100% + 8px);
  bottom: auto;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  padding: 10px;
}

.node-panel.is-panorama .field-groups {
  gap: 10px;
}

.node-panel.is-panorama .field-group {
  width: 100%;
}

.node-panel.is-panorama .seg-row {
  width: 100%;
}

.node-panel.is-panorama .seg {
  min-width: 0;
}

.node-panel.is-panorama .seg.active {
  background: color-mix(in srgb, var(--strong) 16%, var(--panel));
  color: var(--text);
}

.pano-body.is-empty {
  min-height: 168px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.pano-empty-icon {
  display: flex;
  color: var(--muted, #8b929e);
  opacity: .38;
}

.pano-empty-icon svg {
  width: 30px;
  height: 30px;
}

.pano-frame {
  position: relative;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-solid, #0b0c0e);
  cursor: zoom-in;
}

.pano-preview {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.pano-strip {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 1px 0;
  scrollbar-width: none;
}

.pano-strip::-webkit-scrollbar {
  display: none;
}

.pano-thumb {
  width: 64px;
  height: 32px;
  flex: 0 0 64px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--card-solid, #0b0c0e);
  opacity: .5;
  cursor: pointer;
  transition: opacity .12s var(--ease);
}

.pano-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pano-thumb:hover,
.pano-thumb.active {
  opacity: 1;
}

.pano-frame .pano-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 11px;
  pointer-events: none;
}

.pano-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  background: rgba(5, 6, 8, .9);
  backdrop-filter: blur(8px);
}

.pano-canvas,
.pano-flat {
  width: min(1500px, 94vw);
  height: min(78vh, 820px);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  touch-action: none;
  cursor: grab;
}

.pano-flat {
  object-fit: contain;
}

.pano-close {
  position: absolute;
  top: 18px;
  right: 22px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(20, 22, 26, .8);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.pano-hint {
  color: #9aa1ad;
  font-size: 12px;
}
