.nsx-content-page {
  padding-block: 18px 56px;
}

.nsx-content-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-bottom: 14px;
  color: var(--nsx-muted);
  font-size: 12px;
}

.nsx-content-breadcrumb a:hover,
.nsx-related-heading a:hover {
  color: var(--nsx-accent);
}

.nsx-content-breadcrumb span:last-child {
  overflow: hidden;
  color: #d6d7db;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nsx-content-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-bottom: 14px;
}

.nsx-model-avatar {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--nsx-line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #62666f 0 17%, transparent 18%),
    radial-gradient(circle at 50% 108%, #62666f 0 43%, transparent 44%),
    #292c32;
}

.nsx-model-avatar img {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.nsx-model-avatar img[hidden] {
  display: none;
}

.nsx-model-avatar img.is-fallback {
  transform: none;
}

.nsx-content-heading h1 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(27px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.nsx-content-layout {
  display: block;
}

.nsx-player-card {
  border: 1px solid var(--nsx-line);
  border-radius: 5px;
  background: var(--nsx-panel);
}

.nsx-player-card {
  min-width: 0;
  overflow: hidden;
  background: #050608;
}

.nsx-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050608;
}

.nsx-embed-frame iframe,
.nsx-embed-frame embed,
.nsx-embed-frame object,
.nsx-embed-frame video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border: 0;
}

.nsx-player-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px;
  border-top: 1px solid var(--nsx-line);
  background: #111317;
}

.nsx-player-action,
.nsx-player-action-buttons {
  display: flex;
  align-items: center;
}

.nsx-player-action {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.nsx-player-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nsx-player-action--likes {
  gap: 6px;
  padding: 6px 8px;
  color: #f2f3f5;
}

.nsx-player-action--likes:hover {
  color: var(--nsx-accent);
}

.nsx-player-action--likes svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nsx-player-action--likes strong {
  font-size: 13px;
}

.nsx-player-action-buttons {
  gap: 6px;
}

.nsx-player-action--button {
  justify-content: center;
  padding: 8px 13px;
  border-color: #333740;
  background: #24272e;
  color: #fff;
}

.nsx-player-action--button:hover {
  border-color: var(--nsx-accent);
  background: var(--nsx-accent);
  color: #fff;
}

.nsx-player-action--button:last-child {
  border-color: #8641d6;
  background: #7b36cb;
}

.nsx-player-action--button:last-child:hover {
  border-color: #9858e2;
  background: #8c49d9;
}

.nsx-content-note {
  color: var(--nsx-muted);
  font-size: 12px;
}

.nsx-related {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--nsx-line);
}

.nsx-related-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nsx-related-heading h2 {
  margin: 0;
  font-size: 24px;
}

.nsx-related-heading a {
  color: var(--nsx-muted);
  font-size: 12px;
  font-weight: 650;
}

.nsx-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .nsx-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .nsx-content-page {
    padding-block: 14px 42px;
  }

  .nsx-content-heading h1 {
    font-size: 27px;
  }

  .nsx-content-heading {
    gap: 10px;
  }

  .nsx-model-avatar {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .nsx-player-actions {
    gap: 6px;
    min-height: 46px;
    padding: 5px 6px;
  }

  .nsx-player-action--likes {
    padding-inline: 6px;
  }

  .nsx-player-action-buttons {
    min-width: 0;
  }

  .nsx-player-action--button {
    padding-inline: 9px;
    font-size: 11px;
  }

  .nsx-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .nsx-player-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .nsx-player-action--likes {
    min-height: 30px;
  }

  .nsx-player-action-buttons {
    width: 100%;
  }

  .nsx-player-action--button {
    flex: 1 1 50%;
  }
}
