.traj-frame {
  position: relative;
  height: 430px;
  margin-top: 8px;
  border: 1px solid rgba(31, 78, 122, .14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, .98), rgba(247, 248, 250, .96)),
    linear-gradient(90deg, rgba(232, 112, 58, .08), transparent 34%, rgba(43, 108, 176, .08));
  overflow: hidden;
  box-shadow: 0 16px 54px rgba(31, 78, 122, .08);
}
.traj-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.traj-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 14px;
  margin-bottom: 8px;
}
.traj-year {
  position: static;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(231, 234, 238, .92);
  border-radius: 999px;
  padding: 5px 11px;
  backdrop-filter: blur(8px);
}
.traj-tip {
  position: absolute;
  right: 22px;
  top: 18px;
  max-width: min(340px, 52%);
  color: rgba(90, 98, 108, .78);
  font-size: 11px;
  line-height: 1.65;
  text-align: right;
}
.traj-controls {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(231, 234, 238, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(31, 78, 122, .06);
}
.traj-play {
  min-width: 54px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.traj-slider {
  flex: 1;
  accent-color: var(--blue);
}
.traj-empty {
  padding: 24px;
  color: var(--ink-faint);
}
@media (max-width: 560px) {
  .traj-frame {
    height: min(72vw, 310px);
    min-height: 260px;
    margin-top: 8px;
    border-radius: 14px;
  }
  .traj-toolbar {
    margin-top: 12px;
    margin-bottom: 8px;
  }
  .traj-year {
    font-size: 10px;
    padding: 4px 8px;
  }
  .traj-tip {
    display: none;
  }
  .traj-controls {
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
  }
  .traj-play {
    min-width: 44px;
    height: 28px;
    font-size: 10px;
  }
  .traj-slider {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .traj-canvas,
  .traj-frame,
  .traj-play,
  .traj-slider {
    transition: none !important;
    animation: none !important;
  }
}
