.o-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 34rem;
  height: 32px;
  z-index: 9999999999;
  overflow: hidden;
  font-size: 1.125rem;
  display: none;
  opacity: 0;
}

.o-container {
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #b56bf8;
  border: 1px solid #b56bf8;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.o-close {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid #b56bf8;
  flex-shrink: 0;
}

.o-close:hover .o-close-icon svg {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.o-close-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: space-between;
}

.o-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1rem;
  flex: 1;
  min-height: 0;
}

.o-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;

  /* hide native scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.o-content::-webkit-scrollbar {
  display: none;
}

.o-content-scroll {
  position: relative;
  border-left: 1px solid #b56bf8;
  padding: 0;
}

.o-content-scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0.25rem;
  height: 8rem;
  border-radius: 100rem;
  opacity: 0;
  background-color: #b56bf8;
  will-change: transform, height, opacity;
}

.o-content-inner {
  padding: 1rem;
  border: 1px solid #b56bf8;
}

.o-content-inner p {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.o-content-inner p:last-of-type {
  margin-bottom: 0;
}

.o-content-inner.o-first h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.o-content-inner.o-first p {
  font-size: 1.5rem;
}

.o-content-graphic-container {
    display: grid;
    grid-template-columns: minmax(50%, 1fr) 1fr;
    gap: 0.75rem;
    border: 1px solid #b56bf8;
    padding: 1rem;
}

.o-content-graphic {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    background-image: 
    url(/public/detail/detail-top-left.svg),
    url(/public/detail/detail-top-middle.svg),
    url(/public/detail/detail-top-right.svg),
    url(/public/detail/detail-middle-left.svg),
    url(/public/detail/detail-middle-right.svg),
    url(/public/detail/detail-bottom-left.svg),
    url(/public/detail/detail-bottom-middle.svg),
    url(/public/detail/detail-bottom-right.svg);
  background-position:
    top left,
    top center,
    top right,
    center left,
    center right,
    bottom left,
    bottom center,
    bottom right;
  background-repeat: no-repeat;
}

.o-content-metric-container {
    padding: 1rem;;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.variant-1 {
    background-image: 
    url(/public/detail/metric-detail-top-1.svg),
    url(/public/detail/metric-detail-bottom-1.svg);
  background-position:
    top center,
    bottom center;
  background-repeat: no-repeat;
  background-size: contain;
}

.variant-2 {
    background-image: 
    url(/public/detail/metric-detail-top-2.svg),
    url(/public/detail/metric-detail-bottom-2.svg);
  background-position:
    top center,
    bottom center;
  background-repeat: no-repeat;
  background-size: contain;
}

.o-content-graphic img {
  width: 100%;
  object-fit: contain;
  max-width: 10rem;
  max-height: 7rem;
}

@media (min-width: 768px) {

    .o-container {
        background-color: rgba(0,0,0,0.4);
    }
  .o-wrapper {
    padding: 2rem;
  }
}