.world-panel {
  overflow: hidden;
  background: white;
  margin-bottom: 18px;
}
.world-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}
.world-heading h3 {
  font-size: 21px;
}
.world-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.world-clock {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--violet-soft);
  color: var(--violet);
  border-radius: 13px;
  padding: 9px 14px;
  font-variant-numeric: tabular-nums;
}
.world-view {
  position: relative;
  background: #eae7f3;
  isolation: isolate;
}
.world-scene {
  height: 520px;
  width: 100%;
  overflow: hidden;
}
.world-scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.world-hud {
  position: absolute;
  top: 17px;
  left: 20px;
  display: flex;
  gap: 7px;
  align-items: center;
  pointer-events: none;
}
.world-open {
  color: var(--good);
  background: #e7f5eef2;
  border: 1px solid #ffffff70;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
}
.world-open.closed {
  background: #fcece9ed;
  color: #9f4142;
}
.world-moment {
  font-size: 11px;
  color: #655877;
  padding: 6px 10px;
  border: 1px solid #ffffff90;
  background: #ffffffe0;
  border-radius: 9px;
}
.world-camera-tools {
  position: absolute;
  right: 19px;
  top: 17px;
  display: flex;
  gap: 6px;
}
.world-camera-tools button {
  border: 1px solid #ffffffa0;
  background: #fffffff0;
  color: #514363;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 9px #40314b0a;
}
.world-camera-tools button[aria-pressed="true"] {
  background: #5746c8;
  color: white;
  border-color: #5746c8;
}
.world-drag {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #685a78;
  background: #fff9;
  padding: 5px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.world-pick {
  position: absolute;
  bottom: 48px;
  left: 20px;
  min-width: 200px;
  background: #fffef7f0;
  color: #393047;
  border: 1px solid white;
  box-shadow: 0 7px 24px #31233a18;
  border-radius: 13px;
  padding: 12px 15px;
  pointer-events: none;
}
.world-pick b {
  font-size: 13px;
  display: block;
}
.world-pick span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.world-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 24px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfafc;
}
.world-stats > div {
  min-width: 0;
}
.world-stats span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.world-stats b {
  font-size: 23px;
  letter-spacing: -0.04em;
  display: block;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.world-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px 9px;
}
.world-play {
  border: 0;
  background: var(--violet);
  color: white;
  border-radius: 12px;
  min-height: 42px;
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 650;
  min-width: 105px;
}
.world-seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--violet-soft);
}
.world-seg button {
  border: 0;
  min-height: 35px;
  font-size: 12px;
  background: none;
  color: #77698d;
  border-radius: 9px;
  padding: 6px 12px;
}
.world-seg button[aria-pressed="true"] {
  background: white;
  color: var(--violet);
  box-shadow: 0 1px 5px #493b6510;
  font-weight: 650;
}
.world-timeline {
  padding: 16px 24px 0;
}
.world-timeline label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.world-timeline label span {
  font-weight: 650;
  color: var(--violet);
}
.world-timeline input {
  padding: 0;
  min-height: 24px;
  height: 26px;
  background: transparent;
  border: none;
  accent-color: var(--violet);
  cursor: pointer;
}
.world-time-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin: 3px 0 16px;
}
.world-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 7px 24px 21px;
  font-size: 11px;
  color: var(--muted);
}
.world-caption > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.world-caption button {
  border: 0;
  padding: 8px 0;
  background: none;
  color: var(--violet);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.world-caption p {
  width: 100%;
  font-size: 11px;
  color: #8c809c;
  line-height: 1.6;
}
.world-diamond {
  display: inline-block;
  width: 8px;
  height: 12px;
  background: #75cba0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.world-loading {
  padding: 45px;
  color: var(--violet);
  text-align: center;
}
.world-demo {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 0 0 18px;
  text-align: left;
  border: 1px solid #ded5f2;
  background: #eeeafa;
  border-radius: 18px;
  padding: 20px 23px;
}
.world-demo > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 13px;
  color: var(--violet);
}
.world-demo b {
  display: block;
  font-size: 14px;
}
.world-demo small {
  display: block;
  font-size: 12px;
  color: #796c8e;
  margin-top: 5px;
}
.world-demo > .ico {
  margin-left: auto;
  width: 18px;
  color: var(--violet);
}
@media (max-width: 800px) {
  .world-scene {
    height: 460px;
  }
  .world-heading {
    padding: 20px;
  }
  .world-stats {
    padding: 17px 20px;
  }
  .world-controls {
    padding-inline: 20px;
  }
  .world-timeline {
    padding-inline: 20px;
  }
  .world-caption {
    padding-inline: 20px;
  }
}
@media (max-width: 600px) {
  .world-heading {
    padding: 18px 16px;
  }
  .world-heading h3 {
    font-size: 19px;
  }
  .world-heading p {
    font-size: 12px;
    max-width: 210px;
  }
  .world-clock {
    font-size: 19px;
    padding: 8px 10px;
  }
  .world-scene {
    height: 380px;
  }
  .world-hud {
    top: 12px;
    left: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .world-open,
  .world-moment {
    font-size: 10px;
    padding: 5px 8px;
  }
  .world-camera-tools {
    top: 12px;
    right: 12px;
    gap: 4px;
  }
  .world-camera-tools button {
    font-size: 11px;
    padding: 5px 9px;
    min-height: 32px;
  }
  .world-camera-tools button:first-child {
    font-size: 10px;
  }
  .world-drag {
    font-size: 10px;
    bottom: 14px;
  }
  .world-stats {
    gap: 9px;
    padding: 16px 14px;
  }
  .world-stats span {
    font-size: 10px;
    line-height: 1.4;
    min-height: 28px;
  }
  .world-stats b {
    font-size: 17px;
  }
  .world-controls {
    gap: 9px;
    padding: 16px 14px 8px;
  }
  .world-play {
    font-size: 12px;
    min-height: 42px;
    padding: 9px 13px;
    min-width: 93px;
  }
  .world-seg button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .world-timeline {
    padding: 14px 14px 0;
  }
  .world-caption {
    padding: 5px 14px 18px;
  }
  .world-caption p {
    font-size: 11px;
  }
  .world-pick {
    left: 12px;
    bottom: 44px;
    min-width: 0;
    width: calc(100% - 24px);
    padding: 10px 12px;
  }
  .world-demo {
    padding: 17px 14px;
    gap: 11px;
  }
  .world-demo b {
    font-size: 13px;
  }
  .world-demo small {
    font-size: 11px;
  }
  .world-demo > span {
    width: 34px;
    height: 34px;
  }
  .world-time-ticks {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .world-scene {
    height: 360px;
  }
  .world-stats b {
    font-size: 15px;
  }
  .world-stats span {
    font-size: 9px;
  }
  .world-moment {
    max-width: 126px;
    font-size: 9px;
  }
  .world-camera-tools button:first-child {
    max-width: 65px;
    line-height: 1.1;
  }
  .world-clock {
    font-size: 16px;
  }
  .world-heading h3 {
    font-size: 17px;
  }
}
.world-heading h3 {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 500;
}
.world-main-revenue {
  display: block;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.055em;
  color: var(--violet);
  margin: 7px 0 9px;
  font-variant-numeric: tabular-nums;
}
.world-heading p {
  font-size: 13px;
  color: #726680;
}
.world-address {
  position: absolute;
  left: 20px;
  bottom: 18px;
  max-width: min(340px, 63%);
  background: #375790;
  color: white;
  border: 2px solid #f3f5fc;
  border-radius: 9px;
  box-shadow: 0 4px 12px #1f315833;
  padding: 10px 14px;
  pointer-events: none;
}
.world-address b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}
.world-address small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.02em;
  margin-top: 4px;
  color: #e3ecff;
}
.world-drag {
  left: auto;
  right: 17px;
  transform: none;
  bottom: 18px;
  font-size: 10px;
}
.world-pick {
  bottom: 90px;
}
.world-camera-tools button {
  font-size: 16px;
  min-width: 35px;
}
.world-scene {
  height: 540px;
}
@media (max-width: 600px) {
  .world-main-revenue {
    font-size: 34px;
  }
  .world-heading p {
    font-size: 12px;
  }
  .world-heading h3 {
    font-size: 12px;
  }
  .world-clock {
    align-self: flex-start;
    margin-top: 5px;
  }
  .world-scene {
    height: 400px;
  }
  .world-address {
    left: 12px;
    bottom: 14px;
    padding: 8px 10px;
    max-width: 64%;
  }
  .world-address b {
    font-size: 12px;
  }
  .world-address small {
    font-size: 9px;
  }
  .world-drag {
    right: 8px;
    bottom: 16px;
    max-width: 28%;
    font-size: 9px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  .world-pick {
    bottom: 90px;
  }
  .world-camera-tools button {
    min-width: 31px;
    font-size: 16px;
  }
}
