.native-segmented a {
  display: grid;
  place-items: center;
  height: 38px;
  border-radius: 11px;
  color: #858b97;
  font-size: 12px;
}

.native-segmented a.active {
  background: #fff;
  color: #111318;
  font-weight: 800;
}

.native-login-prompt {
  display: grid;
  justify-items: center;
  padding: 70px 20px;
  text-align: center;
}

.native-login-prompt h2 {
  margin: 18px 0 0;
  font-size: 18px;
}

.native-login-prompt p {
  max-width: 320px;
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.native-login-prompt .primary-button {
  min-width: 150px;
  height: 42px;
  border-radius: 13px;
}

.page-user-favs .favorites-page {
  padding-right: 14px;
  padding-left: 14px;
}

.page-user-favs .native-segmented {
  position: sticky;
  z-index: 8;
  top: calc(var(--safe-top) + 8px);
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(18, 20, 27, .88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-user-favs .favorites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}

.page-user-favs .favorite-card {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.page-user-favs .favorite-card__link {
  display: block;
  width: 100%;
  padding: 0;
  color: #fff;
  text-decoration: none;
}

.page-user-favs .favorite-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 20 / 29;
  border-radius: 14px;
  background: var(--surface-3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.page-user-favs .favorite-card__poster::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .42));
  content: "";
  pointer-events: none;
}

.page-user-favs .favorite-card__poster img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform .24s ease;
}

.page-user-favs .follow-remove {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(9, 10, 14, .58);
  color: #ff4f80;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .2);
  font-size: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-user-favs .favorite-card__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  padding: 10px 2px 0;
}

.page-user-favs .favorite-card__copy strong {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #f7f8fb;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-user-favs .favorite-card__copy small,
.page-user-favs .favorite-card__copy em {
  min-width: 0;
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

.page-user-favs .favorite-card__copy small {
  overflow: hidden;
  color: #858b98;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-user-favs .favorite-card__copy em {
  color: #d7dae2;
  text-align: right;
  white-space: nowrap;
}

.page-user-favs .native-fav-empty {
  display: grid;
  grid-column: 1 / -1;
  min-height: 54vh;
  place-items: center;
  padding: 40px 20px;
  border: 1px dashed rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: rgba(255, 255, 255, .018);
}

.page-user-favs .native-user-pagination {
  margin-top: 24px;
}

@media (hover: hover) {
  .page-user-favs .favorite-card__link:hover .favorite-card__poster img {
    transform: scale(1.035);
  }

  .page-user-favs .favorite-card__link:hover .favorite-card__copy strong {
    color: #fff;
  }
}

@media (min-width: 560px) {
  .page-user-favs .favorites-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .page-user-favs .favorites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }
}

@media (min-width: 820px) {
  .page-user-favs .favorites-page {
    padding-top: 20px;
  }

  .page-user-favs .native-segmented {
    max-width: 420px;
    margin-right: auto;
    margin-bottom: 24px;
    margin-left: auto;
  }

  .page-user-favs .favorites-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 18px;
  }
}

@media (max-width: 359px) {
  .page-user-favs .favorites-grid {
    column-gap: 10px;
  }

  .page-user-favs .favorite-card__copy em {
    display: none;
  }

  .page-user-favs .favorite-card__copy small {
    grid-column: 1 / -1;
  }
}

.follow-main img {
  width: 70px;
  height: 94px;
  border-radius: 11px;
  object-fit: cover;
  background: var(--surface-3);
}

.follow-main > span {
  min-width: 0;
  align-self: center;
}

.follow-main strong,
.follow-main small,
.follow-main em {
  display: block;
}

.follow-main strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.follow-main small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}

.follow-main em {
  margin-top: 12px;
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
}

.profile-card {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  text-decoration: none;
}

body.spa-profile .profile-main {
  max-width: 760px;
}

.native-avatar-image {
  object-fit: cover;
}

.vip-card a {
  flex: 0 0 auto;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--gold);
  color: #181207;
  font-size: 10px;
  font-weight: 800;
}

.vip-card strong em {
  display: inline-block;
  margin-left: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}

.native-account-summary {
  margin: 14px 0 26px;
}

.native-account-summary a,
.native-account-summary button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 13px 16px;
  border: 1px solid rgba(119, 92, 231, .3);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(119, 92, 231, .18), rgba(26, 29, 38, .94));
  color: #fff;
  font: inherit;
  text-align: left;
}

.native-account-summary button {
  cursor: pointer;
}

.native-account-summary a > span,
.native-account-summary button > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(119, 92, 231, .32);
  color: #d8d0ff;
  font-size: 17px;
  font-weight: 900;
}

.native-account-summary strong,
.native-account-summary small {
  display: block;
}

.native-account-summary strong {
  font-size: 20px;
  line-height: 1.15;
}

.native-account-summary strong small {
  margin-bottom: 5px;
  color: #a9a0d7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.native-account-summary strong b {
  color: #a9a0d7;
  font-size: 8px;
  letter-spacing: .08em;
}

.native-account-summary em {
  color: #9b9fac;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.native-account-summary i {
  color: #858a96;
  font-style: normal;
}

.profile-services__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.profile-services__heading small,
.profile-services__heading h2 {
  display: block;
}

.profile-services__heading small {
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.profile-services__heading h2 {
  margin: 5px 0 0;
  font-size: 18px;
}

.profile-services__heading > span {
  color: var(--muted);
  font-size: 9px;
}

.profile-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-service-grid a {
  position: relative;
  min-height: 126px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: #fff;
  text-decoration: none;
}

.profile-service-grid a > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-3);
  font-size: 16px;
}

.profile-service-grid b,
.profile-service-grid small {
  display: block;
}

.profile-service-grid b {
  margin-top: 14px;
  font-size: 14px;
}

.profile-service-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.profile-service-grid i {
  position: absolute;
  top: 19px;
  right: 17px;
  color: #777d88;
  font-style: normal;
}

.profile-service-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 104px;
}

.profile-service-grid a:active {
  transform: scale(.985);
  background: var(--surface-2);
}

.profile-services + .native-logout,
.profile-services + .version-text {
  margin-top: 26px;
}

@media (max-width: 359px) {
  .native-account-summary a,
  .native-account-summary button {
    grid-template-columns: 40px minmax(0, 1fr) 10px;
  }

  .native-account-summary em,
  .profile-services__heading > span {
    display: none;
  }

  .profile-service-grid a {
    min-height: 120px;
    padding: 15px;
  }
}

.profile-stats a,
.profile-stats button {
  padding: 16px 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: #fff;
  font: inherit;
  text-align: center;
}

.profile-stats button {
  width: 100%;
  cursor: pointer;
}

.profile-stats strong,
.profile-stats small {
  display: block;
}

.profile-stats strong {
  font-size: 19px;
}

.profile-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.menu-list a {
  display: grid;
  grid-template-columns: 32px 1fr auto 12px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: #fff;
  text-align: left;
}

.menu-list a > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface-3);
}

.menu-list b {
  font-size: 13px;
}

.menu-list small {
  color: var(--muted);
  font-size: 9px;
}

.menu-list i {
  color: #777d88;
  font-style: normal;
}

.native-logout {
  display: grid;
  place-items: center;
  height: 44px;
  margin-top: 18px;
  border: 1px solid rgba(241, 66, 114, .35);
  border-radius: 13px;
  background: rgba(241, 66, 114, .08);
  color: #ff86a7;
  font-size: 12px;
}

.native-user-pagination .mac-paging {
  margin: 25px 0;
}

body.native-user-points-open {
  overflow: hidden;
}

.native-user-points {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.native-user-points.is-open {
  visibility: visible;
  opacity: 1;
}

.native-user-points__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

.native-user-points__sheet {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #171923, #0e1016 48%);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, .48);
  transform: translateY(24px);
  transition: transform .24s ease;
}

.native-user-points.is-open .native-user-points__sheet {
  transform: translateY(0);
}

.native-user-points__handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.native-user-points__sheet header,
.native-user-points__section-head,
.native-user-points__balance,
.native-user-points__result p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.native-user-points__sheet header small {
  color: #7d8491;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.native-user-points__sheet header h2 {
  margin: 3px 0 0;
  font-size: 20px;
}

.native-user-points__sheet header > button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #222530;
  color: #fff;
  font-size: 22px;
}

.native-user-points__balance {
  align-items: flex-end;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 205, 103, .2);
  border-radius: 20px;
  background: radial-gradient(circle at 95% 5%, rgba(255, 210, 111, .2), transparent 42%), linear-gradient(140deg, #242017, #17171c 70%);
}

.native-user-points__balance span,
.native-user-points__balance strong {
  display: block;
}

.native-user-points__balance span {
  color: #b6aa8b;
  font-size: 10px;
}

.native-user-points__balance strong {
  margin-top: 5px;
  color: #f7ddb0;
  font-size: 10px;
  letter-spacing: .08em;
}

.native-user-points__balance strong b {
  margin-right: 6px;
  color: #fff;
  font-size: 30px;
  letter-spacing: 0;
}

.native-user-points__balance i {
  max-width: 150px;
  color: #8e8a80;
  font-size: 9px;
  font-style: normal;
  line-height: 1.6;
  text-align: right;
}

.native-user-points__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.native-user-points__summary > div {
  padding: 13px 8px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  background: #181a22;
  text-align: center;
}

.native-user-points__summary span,
.native-user-points__summary strong {
  display: block;
}

.native-user-points__summary span {
  color: #7e8592;
  font-size: 8px;
}

.native-user-points__summary strong {
  margin-top: 5px;
  font-size: 10px;
}

.native-user-points__section-head {
  margin-top: 20px;
}

.native-user-points__section-head strong,
.native-user-points__section-head small {
  display: block;
}

.native-user-points__section-head strong {
  font-size: 13px;
}

.native-user-points__section-head small {
  margin-top: 4px;
  color: #7f8693;
  font-size: 9px;
}

.native-user-points__section-head a {
  color: #c4b5ff;
  font-size: 9px;
}

.native-user-points__chooser {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: #181a22;
}

.native-user-points__chooser label {
  display: block;
  color: #9299a5;
  font-size: 9px;
}

.native-user-points__chooser > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  margin-top: 10px;
}

.native-user-points__chooser button,
.native-user-points__chooser input[type="number"] {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #222530;
  color: #fff;
  text-align: center;
}

.native-user-points__chooser input[type="number"] {
  width: 100%;
  font-size: 16px;
  font-weight: 800;
}

.native-user-points__chooser input[type="range"] {
  width: 100%;
  margin-top: 14px;
  accent-color: #8065ea;
}

.native-user-points__result {
  margin-top: 10px;
  padding: 3px 14px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  background: #15171e;
}

.native-user-points__result p {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
  font-size: 10px;
}

.native-user-points__result p:first-child {
  border-top: 0;
}

.native-user-points__result span {
  color: #858c98;
}

.native-user-points__result b {
  color: #c7b9ff;
}

.native-user-points__message {
  min-height: 18px;
  margin: 9px 0 0;
  color: #ff8daa;
  font-size: 10px;
  text-align: center;
}

.native-user-points__message.is-success {
  color: #63d995;
}

.native-user-points__actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
}

.native-user-points__actions button,
.native-user-points__actions a {
  display: grid;
  place-items: center;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #8065ea, #6046c8);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.native-user-points__actions button:disabled {
  background: #292c35;
  color: #747b87;
}

.native-user-points__note {
  margin: 10px 0 0;
  color: #696f7a;
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 900px) {
  .native-user-points {
    align-items: center;
  }

  .native-user-points__sheet {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    border-radius: 26px;
  }
}
