.nadeshiko-bump-wrap {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  box-sizing: border-box;
  overflow: hidden;
}

.nadeshiko-bump-wrap * {
  box-sizing: border-box;
}

.nadeshiko-bump-wrap .bump-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.nadeshiko-bump-wrap .bump-title {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #111827;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}

.nadeshiko-bump-wrap .bump-status {
  min-height: 1.4em;
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px;
}

.nadeshiko-bump-wrap .bump-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.nadeshiko-bump-wrap .bump-controls button,
.nadeshiko-bump-wrap > .replay-bump-chart {
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  color: #ffffff;
  background: #1f2937;
  white-space: nowrap;
}

.nadeshiko-bump-wrap .bump-controls button:hover {
  opacity: .85;
}

.nadeshiko-bump-wrap .bump-controls button:disabled {
  cursor: wait;
  opacity: .52;
}

.nadeshiko-bump-wrap .bump-chart-scroll {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.nadeshiko-bump-wrap .nadeshiko-bump-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .nadeshiko-bump-wrap {
    margin: 22px 0;
    padding: 14px;
  }

  .nadeshiko-bump-wrap .bump-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }

  .nadeshiko-bump-wrap .bump-title {
    font-size: 17px;
  }

  .nadeshiko-bump-wrap .bump-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .nadeshiko-bump-wrap .bump-controls button {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nadeshiko-bump-wrap .nadeshiko-bump-svg {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .nadeshiko-bump-wrap {
    padding: 12px;
  }

  .nadeshiko-bump-wrap .bump-controls button {
    padding: 7px 12px;
    font-size: 12px;
  }
}
