#compare-content {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.graph {
    width: calc(100% - 16px);
    max-width: 1200px;

    height: 250px;

    padding: 15px;
    box-sizing: border-box;

    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.graph canvas{
    width: 100%; 
    height: 100%;
}

#compare-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#previous,
#back,
#next {
    padding: 10px 16px;
    cursor: pointer;
}

.compare-date {
    text-align: center;

    font-size: 34px;
    font-weight: 700;

    color: #2f2f2f;

    margin-bottom: 18px;
}

.compare-status {
  z-index: 1;
  width: fit-content;
  margin: 0 auto 18px auto;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 10px;

  overflow: hidden;
}
.compare-live-note,
.compare-subnote,
.compare-warning {
  width: fit-content;
  margin: 0 auto 18px auto;

  padding: 6px 12px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-live-note {
  width: fit-content;

  margin: 0 auto 18px auto;
  padding: 10px 16px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 12px;

  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.18);

  color: #8a1f1a;
  font-weight: 700;
}
.compare-subnote {
  background: rgba(255, 193, 7, 0.10);
  border: 1px solid rgba(255, 193, 7, 0.25);
  color: #7a5700;
}
.compare-warning {
  background: rgba(120, 120, 120, 0.08);
  border: 1px solid rgba(120, 120, 120, 0.18);
  color: #555;
}
.compare-live-dot {
  position: relative;
  width: 8px;
  height: 8px;

  background: #ff3b30;
  border-radius: 50%;

  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
  }

  100% {
    box-shadow: 0 0 0 12px rgba(255, 59, 48, 0);
  }
}

@media (max-width: 700px) {
  #compare-date{
    font-size: 26px;
  }
  .graph {
    width: calc(100% - 10px);
    padding: 10px;
  }
}