.jwell-3d-section {
  --background: light-dark(#f7f9fc, #0b1420);
  --foreground: light-dark(#1e3145, #e4edf8);
  --blue: light-dark(#148ce5, #39b3ff);
  --red: light-dark(#df586d, #ff7087);
  --border: light-dark(#cedbe6, #3a5064);
  width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 3.6458vw, 70px) 0;
  box-sizing: border-box;
  color: var(--foreground);
  color-scheme: light dark;
  font:
    16px/1.6 "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    sans-serif;
}

.jwell-3d-section,
.jwell-3d-section * {
  box-sizing: border-box;
}

.jwell-3d-section .cdu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 auto 20px;
}

.jwell-3d-section h3 {
  margin: 0;
  color: #000;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.4;
}

.jwell-3d-section .btn {
  display: inline-block;
  width: 300px;
  height: 55px;
  line-height: 55px;
  color: #fff;
  background: var(--color-primary);
  font-size: 18px;
  text-align: center;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
}

.jwell-3d-section .btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.jwell-3d-section .btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.jwell-3d-section .cdu-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--background);
  touch-action: none;
  cursor: grab;
}

.jwell-3d-section .cdu-viewport:active {
  cursor: grabbing;
}

.jwell-3d-section canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.jwell-3d-section .cdu-labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.jwell-3d-section .cdu-label {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--foreground);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    0 1px 5px var(--background),
    0 1px 5px var(--background);
}

.jwell-3d-section .cdu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
  padding-top: 7px;
}

.jwell-3d-section .cdu-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  pointer-events: none;
  color: #fff;
}

.jwell-3d-section .cdu-loading[hidden] {
  display: none;
}

.jwell-3d-section .text-muted {
  color: #000 !important;
}

.jwell-3d-section .text-small {
  font-size: 13px;
}
@media screen and (max-width: 1580px) {
  .jwell-3d-section h3 {
    font-size: 34px;
  }
  .jwell-3d-section .cdu-toolbar .btn {
    width: 220px;
    height: 50px;
    line-height: 50px;
    font-size: 17px;
  }
}
@media screen and (max-width: 1280px) {
  .jwell-3d-section h3 {
    font-size: 32px;
  }
}
@media screen and (max-width: 960px) {
  .jwell-3d-section h3 {
    font-size: 26px;
  }
}
@media screen and (max-width: 768px) {
  .jwell-3d-section {
    padding: 24px 16px;
  }
  .jwell-3d-section .cdu-toolbar .btn {
    width: 180px;
    height: 36px;
    line-height: 36px;
    font-size: 15px;
  }
}

@media screen and (max-width: 576px) {
  .jwell-3d-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .jwell-3d-section h3 {
    max-width: 100%;
    font-size: 20px;
  }
  .jwell-3d-section .cdu-toolbar {
    justify-content: center;
  }
  .jwell-3d-section .cdu-viewport {
    aspect-ratio: 4 / 3;
  }

  .jwell-3d-section .cdu-label {
    font-size: 11px;
  }
  .jwell-3d-section .cdu-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .jwell-3d-section .cdu-toolbar {
    margin: 0 auto 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jwell-3d-section .btn {
    transition: none;
  }
}
