@font-face {
  font-family: "Onest Story Preview";
  src: url("/landing/assets/perfumy/stories-ui/onest-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Onest Story Preview";
  src: url("/landing/assets/perfumy/stories-ui/onest-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.pf-story-frame {
  --pf-story-surface: #fff;
  --pf-story-inverse: #0d0d12;
  --pf-story-muted: #eceff3;
  --pf-story-scrim: #1f1f1f3d;
  --pf-story-glass: #ffffff57;
  --pf-story-gradient: linear-gradient(180deg, #0b96ed 0%, #f9e605 100%);
  position: relative;
  isolation: isolate;
  width: clamp(8.5rem, 8.929vw + 6.714rem, 14.75rem);
  overflow: hidden;
  border-radius: 1rem;
  container-type: inline-size;
  line-height: 0;
}

.pf-story-chrome,
.pf-story-chrome * {
  box-sizing: border-box;
}

.pf-story-chrome {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  color: var(--pf-story-surface);
  font-family: "Onest Story Preview", ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  line-height: normal;
}

.pf-story-gradient {
  position: absolute;
  z-index: -1;
  right: 0;
  left: 0;
}

.pf-story-gradient-top {
  top: 0;
  height: 46.933cqw;
  background: linear-gradient(to bottom, #0d0d124d, transparent);
}

.pf-story-gradient-bottom {
  bottom: 0;
  height: 68.267cqw;
  background: linear-gradient(to top, #0d0d1280, transparent);
}

.pf-story-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2.133cqw;
  padding: 2.133cqw;
}

.pf-story-segments {
  display: flex;
  width: 100%;
  gap: 1.067cqw;
}

.pf-story-segment {
  height: 1.067cqw;
  flex: 1;
  border-radius: 8.533cqw;
  background: var(--pf-story-glass);
}

.pf-story-segment[data-state="done"] {
  background: var(--pf-story-surface);
}

.pf-story-author,
.pf-story-author-main,
.pf-story-actions,
.pf-story-control,
.pf-story-avatar-ring,
.pf-story-avatar,
.pf-story-perfume {
  display: inline-flex;
  align-items: center;
}

.pf-story-author {
  justify-content: space-between;
  gap: 2.133cqw;
}

.pf-story-author-main {
  min-width: 0;
  gap: 2.133cqw;
}

.pf-story-avatar-ring {
  position: relative;
  width: 14.933cqw;
  height: 14.933cqw;
  flex: none;
  justify-content: center;
  border-radius: 50%;
  background: var(--pf-story-gradient);
  padding: .267cqw;
}

.pf-story-avatar-ring::before {
  position: absolute;
  width: 14.4cqw;
  height: 14.4cqw;
  border-radius: 50%;
  background: var(--pf-story-surface);
  content: "";
}

.pf-story-avatar {
  position: relative;
  width: 13.867cqw;
  height: 13.867cqw;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--pf-story-muted);
  color: var(--pf-story-inverse);
  font-size: 4.8cqw;
  font-weight: 500;
  line-height: 1;
}

.pf-story-avatar-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.pf-story-author-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .267cqw;
}

.pf-story-handle {
  overflow: hidden;
  max-width: 34cqw;
  font-size: 3.733cqw;
  font-weight: 500;
  letter-spacing: .053cqw;
  line-height: 5.333cqw;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf-story-age {
  font-size: 2.667cqw;
  font-weight: 400;
  letter-spacing: .053cqw;
  line-height: 3.733cqw;
  white-space: nowrap;
}

.pf-story-actions {
  flex: none;
  gap: 2.133cqw;
}

.pf-story-control {
  width: 11.733cqw;
  height: 11.733cqw;
  justify-content: center;
  border: .267cqw solid var(--pf-story-surface);
  border-radius: 50%;
  background: var(--pf-story-scrim);
  -webkit-backdrop-filter: blur(.533cqw);
  backdrop-filter: blur(.533cqw);
}

.pf-story-control svg,
.pf-story-perfume svg {
  width: 5.333cqw;
  height: 5.333cqw;
}

.pf-story-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2cqw;
  padding: 0 4.267cqw 8.533cqw;
}

.pf-story-caption {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  font-size: 4.267cqw;
  font-weight: 400;
  letter-spacing: .053cqw;
  line-height: 5.867cqw;
  text-align: center;
  text-shadow: 0 .267cqw .533cqw var(--pf-story-scrim);
}

.pf-story-perfume {
  max-width: 100%;
  height: 11.733cqw;
  gap: 1.067cqw;
  border-radius: 8.533cqw;
  background: var(--pf-story-surface);
  padding: 0 4.267cqw 0 3.2cqw;
  color: var(--pf-story-inverse);
  font-size: 4.267cqw;
  font-weight: 500;
  letter-spacing: .053cqw;
  line-height: 5.867cqw;
}

.pf-story-perfume-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@supports not (container-type: inline-size) {
  .pf-story-chrome {
    display: none;
  }
}
