/* NSFW Nation — sharp adult chrome (load LAST). No pills, no blush pink. */

:root {
  --sb-r-ctrl: 0.2rem;
  --sb-r-chip: 0.15rem;
  --sb-r-card: 0.25rem;
  --sb-r-media: 0.2rem;
  --sb-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.55);
  --sb-stamp: 4px 4px 0 rgba(90, 0, 10, 0.55);
  --sb-red: #dc1426;
  --sb-red-deep: #8a0010;
  --sb-red-hot: #ff1f33;
  --sb-ink: #070708;
  --sb-panel: #121214;
  --sb-text: #f0eeec;
  --sb-muted: rgba(240, 238, 236, 0.55);
  --sb-line: rgba(255, 255, 255, 0.1);
  --sb-line-hot: rgba(220, 20, 38, 0.55);
}

/* ── Feed / cards ── */
.feed-card-grid > div,
.home-template-feed-card > div,
.home-template-feed-card--single > div,
.home-trending-feed-row {
  border-radius: var(--sb-r-card) !important;
  border: 1px solid var(--sb-line) !important;
  border-left: 3px solid var(--sb-red) !important;
  box-shadow: var(--sb-shadow), var(--sb-stamp) !important;
  background: linear-gradient(180deg, #161618 0%, #0e0e10 100%) !important;
  overflow: hidden !important;
}

.feed-card-grid .home-feed-media,
.home-image-card,
.home-image-card__media,
.home-creation-card,
.favorites-card {
  border-radius: var(--sb-r-media) !important;
}

.home-creation-card {
  border: 2px solid rgba(220, 20, 38, 0.5) !important;
  border-radius: 0.15rem !important;
  background: linear-gradient(180deg, #161418 0%, #0c0a0c 100%) !important;
  box-shadow:
    5px 5px 0 rgba(90, 0, 10, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
}

.home-creation-card__download {
  border-radius: 0.1rem !important;
  border: 2px solid rgba(220, 20, 38, 0.9) !important;
  background: linear-gradient(135deg, #ff1f33 0%, #dc1426 48%, #8a0010 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.5) !important;
}

.home-image-card {
  border: 1px solid var(--sb-line) !important;
  border-left: 2px solid rgba(220, 20, 38, 0.7) !important;
  box-shadow: var(--sb-shadow) !important;
  background: #0e0e10 !important;
}

.feed-card-grid .feed-ref-thumb,
.feed-card-grid .feed-ref-thumb-ring,
.feed-card-grid .home-feed-video-frame-thumb--single {
  border-radius: var(--sb-r-chip) !important;
  border: 1.5px solid var(--sb-red) !important;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.55) !important;
  background: var(--sb-ink) !important;
}

.feed-card-grid .home-feed-media-favorite-button,
.feed-card-grid .home-feed-heat-button--overlay,
.home-image-card__favorite,
.home-image-card__heat,
.home-image-card__badge,
.feed-card-coin-badge {
  border-radius: var(--sb-r-chip) !important;
}

.home-image-card__badge {
  background: var(--sb-red) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.feed-card-grid .home-feed-single-panel .home-feed-upload-button,
.feed-card-grid .home-feed-upload-button--generate,
.home-image-card .home-feed-upload-button--generate,
.home-feed-upload-button,
.home-feed-upload-button--generate {
  border-radius: var(--sb-r-ctrl) !important;
  background: var(--sb-red) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: var(--sb-stamp) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.feed-card-grid .home-feed-upload-button--generate:hover,
.home-image-card .home-feed-upload-button--generate:hover {
  background: var(--sb-red-hot) !important;
}

/* ── Catalog / tabs ── */
.home-catalog-pill,
.catalog-pill,
.home-primary-tab-row .home-tab-button {
  border-radius: var(--sb-r-ctrl) !important;
}

.home-catalog-pill--active,
.home-tab-button--active {
  background: rgba(220, 20, 38, 0.16) !important;
  color: var(--sb-text) !important;
  box-shadow: none !important;
  border: 1px solid var(--sb-line-hot) !important;
  border-bottom: 2px solid var(--sb-red) !important;
}

/* ── Buttons / chrome ── */
.home-login-entry-button,
#home-login-entry-button.home-login-entry-button,
.home-header-login-button,
.home-coins-button,
.home-menu-button {
  border-radius: var(--sb-r-ctrl) !important;
}

.home-login-entry-button:not(.home-top-hhp__entrar),
#home-login-entry-button.home-login-entry-button:not(.home-top-hhp__entrar),
.home-header-login-button:not(.home-top-hhp__entrar) {
  background: var(--sb-red) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 0.45rem 1.05rem !important;
  min-height: 2.15rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: var(--sb-stamp) !important;
}

.home-coins-button {
  border: 1px solid var(--sb-line-hot) !important;
  background: rgba(220, 20, 38, 0.12) !important;
  color: var(--sb-text) !important;
}

.home-menu-button {
  border: 1px solid var(--sb-line) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--sb-muted) !important;
}

/* ── Hub / posters ── */
.home-hub-spotlight,
.home-hub-poster,
.home-hub-experiences__card {
  border-radius: var(--sb-r-card) !important;
  border: 1px solid var(--sb-line) !important;
  border-left: 3px solid var(--sb-red) !important;
  box-shadow: var(--sb-shadow), var(--sb-stamp) !important;
}

.home-hub-section-title__accent {
  color: var(--sb-red) !important;
}

/* ── Bottom nav ── */
.home-bottom-nav {
  border-radius: 0 !important;
  background: linear-gradient(180deg, #121014 0%, #070506 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 2px solid rgba(220, 20, 38, 0.55) !important;
  box-shadow: 0 -0.65rem 1.8rem rgba(0, 0, 0, 0.55) !important;
}

.home-bottom-nav__item {
  border-radius: 0.1rem !important;
  color: rgba(240, 238, 236, 0.48) !important;
}

.home-bottom-nav__item--active {
  color: #fff !important;
}

.home-bottom-nav__item--active .home-bottom-nav__icon {
  color: #ff1f33 !important;
}

.home-bottom-nav__item--create .home-bottom-nav__icon {
  border-radius: 0.1rem !important;
  background: #dc1426 !important;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.55) !important;
  border: 2px solid #ff1f33 !important;
  color: #fff !important;
}

.home-bottom-nav__item--create .home-bottom-nav__label {
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* ── Modals ── */
.login-modal,
.recharge-modal,
.age-gate-modal,
.language-modal,
.feedback-modal,
.login-modal-panel,
.recharge-modal-panel,
.age-gate-modal-panel {
  border-radius: var(--sb-r-card) !important;
}

.home-feed-chip,
.tag-pill,
.feed-card-tag {
  border-radius: var(--sb-r-chip) !important;
  border: 1px solid var(--sb-line) !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

/* Kill soft pastel leftovers */
.home-desktop-sidebar,
.home-desktop-sidebar__item--create .home-desktop-sidebar__icon,
.swipey-marquee,
.swipey-hero,
.swipey-hero__cta,
.swipey-card,
.swipey-card__tag,
.swipey-catalog-search__input,
.home-catalog-pill {
  border-radius: var(--sb-r-ctrl) !important;
}

@media (min-width: 901px) {
  .home-desktop-sidebar {
    border-radius: 0.35rem !important;
  }

  .home-desktop-sidebar__item--create .home-desktop-sidebar__icon {
    border-radius: var(--sb-r-ctrl) !important;
    background: var(--sb-red) !important;
    box-shadow: var(--sb-stamp) !important;
  }

  .home-desktop-sidebar__item--active,
  .home-desktop-sidebar__item--active .home-desktop-sidebar__icon {
    color: var(--sb-red) !important;
  }

  .home-header-login-button:not(.home-top-hhp__entrar),
  .home-login-entry-button:not(.home-top-hhp__entrar),
  #home-login-entry-button.home-login-entry-button:not(.home-top-hhp__entrar) {
    border-radius: var(--sb-r-ctrl) !important;
    background: var(--sb-red) !important;
    box-shadow: var(--sb-stamp) !important;
  }
}
