.pvw-live-random-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(105deg, rgba(255, 244, 250, .96) 0%, rgba(255, 244, 250, .82) 38%, rgba(255, 255, 255, .2) 100%),
    var(--pvw-live-hero-bg) !important;
  background-size: cover !important;
  background-position: center !important;
}

.pvw-stats.pvw-live-stats-ready {
  overflow: hidden;
}

.pvw-stats.pvw-live-stats-ready .pvw-stat {
  min-width: 0;
}

.pvw-stats.pvw-live-stats-ready .pvw-stat-icon,
.pvw-stats.pvw-live-stats-ready .pvw-stat-icon svg {
  flex: 0 0 auto;
}

.pvw-stats.pvw-live-stats-ready strong,
.pvw-stats.pvw-live-stats-ready .pvw-stat span span {
  overflow-wrap: anywhere;
}

body.home main > .pvw-live-recommend,
body.home .pvw-category-strip + .pvw-live-recommend {
  display: none !important;
}

body.home .pvw-hero > .pvw-live-stats:not(.pvw-stats),
body.home .pvw-live-random-hero > .pvw-live-stats:not(.pvw-stats) {
  display: none !important;
}

.pvw-live-random-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 103, 172, .28), transparent 28%),
    radial-gradient(circle at 72% 32%, rgba(139, 121, 255, .22), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,238,247,.9));
  pointer-events: none;
}

.pvw-live-random-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% -10%;
  height: 48%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(255, 238, 247, .98));
  pointer-events: none;
}

.pvw-live-hero-source {
  position: relative;
  z-index: 2;
  max-width: min(380px, calc(100% - 36px));
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #7b3157;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,.7);
  box-shadow: 0 18px 46px rgba(190, 66, 124, .18);
  backdrop-filter: blur(16px);
}

.pvw-live-stats {
  display: grid !important;
}

.pvw-live-stat {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-areas: "icon value" "icon label";
  align-items: center;
  column-gap: 12px;
  padding: 0 18px;
  border-right: 1px solid rgba(230, 89, 151, .2);
}

.pvw-live-stat:last-child {
  border-right: 0;
}

.pvw-live-stat-icon {
  grid-area: icon;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ff4f9b;
  background: linear-gradient(145deg, #fff, #ffeef6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 22px rgba(255, 92, 162, .13);
}

.pvw-live-stat-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.pvw-live-stat strong {
  grid-area: value;
  color: #8c7987;
  font-size: 18px;
  line-height: 1.15;
}

.pvw-live-stat em {
  grid-area: label;
  margin-top: 5px;
  color: #8d7785;
  font-size: 12px;
  font-style: normal;
}

.pvw-live-category-panel {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 42px !important;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 111, 175, .14), transparent 30%),
    radial-gradient(circle at 86% 34%, rgba(129, 116, 255, .12), transparent 34%),
    rgba(255,255,255,.68) !important;
  box-shadow: 0 24px 70px rgba(216, 84, 145, .13);
  backdrop-filter: blur(20px);
}

.pvw-live-wallpapers-ready .pvw-masonry.is-loading {
  opacity: .55;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}

.pvw-live-wallpapers-ready .pvw-masonry {
  transition: opacity .22s ease, transform .22s ease;
}

.pvw-live-wallpapers-ready .pvw-round-action svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
}

.pvw-live-category {
  min-width: 0;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 18px;
  color: #332733;
  text-align: center;
  text-decoration: none;
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.pvw-live-category:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.54);
  box-shadow: 0 18px 34px rgba(213, 71, 137, .12);
}

.pvw-live-category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #ff4f9b;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(255, 91, 161, .14);
}

.pvw-live-category-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.pvw-live-category strong {
  max-width: 100%;
  overflow: hidden;
  color: #2f2630;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvw-live-category em {
  color: #937d8d;
  font-size: 12px;
  font-style: normal;
}

.pvw-live-recommend {
  margin: clamp(28px, 5vw, 56px) auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,244,250,.66)),
    radial-gradient(circle at 92% 8%, rgba(130, 121, 255, .13), transparent 26%);
  box-shadow: 0 24px 70px rgba(216, 84, 145, .12);
  backdrop-filter: blur(18px);
}

.pvw-home .pvw-live-recommend,
.home .pvw-live-recommend {
  width: min(1180px, calc(100% - 32px));
}

@media (min-width: 1080px) {
  .pvw-home .pvw-live-recommend,
  .home .pvw-live-recommend {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }

  .pvw-live-recommend-head {
    position: sticky;
    top: 92px;
    display: block;
    margin-bottom: 0;
  }

  .pvw-live-tabs {
    display: grid;
    margin-top: 22px;
    border-radius: 20px;
  }

  .pvw-live-tabs button {
    text-align: left;
  }
}

.pvw-live-recommend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.pvw-live-recommend-head span {
  color: #ff5a9f;
  font-size: 13px;
  font-weight: 800;
}

.pvw-live-recommend-head h2 {
  margin: 6px 0 0;
  color: #2b2330;
  font-size: clamp(22px, 3vw, 32px);
}

.pvw-live-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px rgba(238, 118, 172, .14);
}

.pvw-live-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #8d7785;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
  transition: color .24s ease, background .24s ease, box-shadow .24s ease;
}

.pvw-live-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #ff5ba3, #ff87bf);
  box-shadow: 0 12px 28px rgba(255, 91, 163, .28);
}

.pvw-live-tab-body {
  min-height: 220px;
  transition: opacity .2s ease;
}

.pvw-live-tab-body.is-loading {
  opacity: .55;
}

.pvw-live-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pvw-live-card {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 46px rgba(198, 72, 132, .12);
  transition: transform .28s ease, box-shadow .28s ease;
}

.pvw-live-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 62px rgba(198, 72, 132, .18);
}

.pvw-live-card-cover {
  display: block;
  min-height: 150px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 22% 22%, rgba(255,255,255,.8), transparent 22%),
    linear-gradient(135deg, #ffe8f2, #ece8ff);
  background-size: cover;
  background-position: center;
}

.pvw-live-card-body {
  padding: 14px;
}

.pvw-live-card-title {
  display: block;
  overflow: hidden;
  color: #332633;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvw-live-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
  color: #9b8492;
  font-size: 12px;
}

.pvw-live-favorite {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #ff4f9b;
  font-weight: 800;
  background: #fff0f7;
  cursor: pointer;
}

.pvw-live-favorite.is-active,
.pvw-live-favorite:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff5ba3, #ff88bf);
}

.pvw-live-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(255, 91, 163, .28);
  border-radius: 20px;
  color: #9a7187;
  font-weight: 700;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.92), transparent 22%),
    linear-gradient(135deg, #fff3f8, #f1edff);
}

.pvw-signin-center {
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto;
}

.pvw-signin-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.24), transparent 26%),
    linear-gradient(135deg, #ff5ba3, #af83ff);
  box-shadow: 0 26px 70px rgba(211, 82, 154, .28);
}

.pvw-signin-hero span {
  font-weight: 900;
  opacity: .82;
}

.pvw-signin-hero h1 {
  max-width: 650px;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
}

.pvw-signin-hero p {
  max-width: 560px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
}

.pvw-signin-button {
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  color: #ff4f9b;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 16px 34px rgba(89, 47, 97, .18);
  cursor: pointer;
}

.pvw-signin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.pvw-signin-card,
.pvw-signin-records {
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 46px rgba(198, 72, 132, .12);
}

.pvw-signin-card strong {
  display: block;
  color: #ff4f9b;
  font-size: 34px;
}

.pvw-signin-card span {
  color: #8d7785;
  font-weight: 700;
}

.pvw-signin-records {
  margin-top: 18px;
}

.pvw-signin-record-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pvw-signin-record-list span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #8a5570;
  background: #fff0f7;
}

@media (max-width: 980px) {
  .pvw-live-stats,
  .pvw-live-category-panel,
  .pvw-live-card-list,
  .pvw-signin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pvw-live-stat:nth-child(2) {
    border-right: 0;
  }

  .pvw-live-recommend-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .pvw-live-stats,
  .pvw-live-category-panel,
  .pvw-live-card-list,
  .pvw-signin-grid {
    grid-template-columns: 1fr;
  }

  .pvw-live-stats {
    padding: 16px;
  }

  .pvw-live-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(230, 89, 151, .18);
    padding: 13px 4px;
  }

  .pvw-live-stat:last-child {
    border-bottom: 0;
  }

  .pvw-live-category-panel {
    padding: 18px !important;
  }

  .pvw-live-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .pvw-live-tabs button {
    flex: 0 0 auto;
  }
}

@media (min-width: 1080px) {
  .pvw-home .pvw-live-recommend .pvw-live-recommend-head,
  .home .pvw-live-recommend .pvw-live-recommend-head {
    position: sticky;
    top: 92px;
    display: block;
    margin-bottom: 0;
  }

  .pvw-home .pvw-live-recommend .pvw-live-tabs,
  .home .pvw-live-recommend .pvw-live-tabs {
    display: grid;
    margin-top: 22px;
    border-radius: 20px;
  }

  .pvw-home .pvw-live-recommend .pvw-live-tabs button,
  .home .pvw-live-recommend .pvw-live-tabs button {
    width: 100%;
    text-align: left;
  }
}
