* { box-sizing: border-box; }

.person-center-page > .mobile-tabbar { display: none; }

@media (min-width: 769px) {

.person-center-page { display: flex; min-width: 0; min-height: 100vh; flex-direction: column; margin: 0; background: var(--wydsp-background); color: rgba(255,255,255,.9); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.desktop-profile-main { width: min(1200px, calc(100% - 48px)); min-height: calc(100vh - 310px); flex: 1 0 auto; margin: 0 auto; padding: 24px 0; }
.desktop-profile-back { display: inline-flex; width: 100%; height: 36px; align-items: center; gap: 12px; padding: 0; margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 18px; line-height: 24px; text-decoration: none; }
.desktop-profile-back img { display: block; width: 24px; height: 24px; flex: 0 0 24px; filter: invert(1); opacity: .9; }
.desktop-profile-back b { font-weight: 500; }
.desktop-profile-back i { margin-left: -12px; color: rgba(255,255,255,.35); font-style: normal; font-size: 16px; line-height: 22px; }
.desktop-profile-back:focus-visible { border-radius: 6px; outline: 2px solid var(--wydsp-accent); outline-offset: -2px; }

.desktop-profile-user { position: relative; display: grid; min-height: 212px; grid-template-columns: 90px minmax(0,1fr) auto; grid-template-rows: 90px 50px; align-items: center; gap: 30px 18px; overflow: hidden; padding: 24px 24px 18px; border-radius: 12px; background: #0e1012; }
.desktop-profile-user::after { content: ""; position: absolute; top: 126px; right: 24px; left: 24px; height: 1px; background: rgba(255,255,255,.05); }
.desktop-profile-user .mobile-profile-user__avatar { position: relative; display: block; width: 90px; height: 90px; overflow: hidden; border: 0; border-radius: 50%; background: #444; }
.desktop-profile-user .mobile-profile-user__avatar > img:first-child { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.desktop-profile-user .mobile-profile-user__avatar > img[data-src] { object-fit: cover; }
.desktop-profile-user .mobile-profile-user__copy { min-width: 0; align-self: center; }
.desktop-profile-user .mobile-profile-user__name-row { display: flex; align-items: center; gap: 12px; }
.desktop-profile-user .mobile-profile-user__name-row strong { max-width: 360px; overflow: hidden; color: rgba(255,255,255,.9); font-size: 24px; font-weight: 400; line-height: 32px; text-overflow: ellipsis; white-space: nowrap; }
.desktop-profile-user .mobile-profile-user__membership { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; }
.desktop-profile-user .mobile-profile-user__vip { width: 32px; height: 32px; padding: 4px; opacity: 1; }
.desktop-profile-user .mobile-profile-user__member-tip { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.desktop-profile-user .mobile-profile-user__member-tip:empty { display: none; }
.desktop-profile-user .mobile-profile-user__id-row { display: flex; gap: 10px; margin-top: 6px; color: rgba(255,255,255,.55); font-size: 16px; line-height: 22px; }
.desktop-profile-user .mobile-profile-user__id-row button { height: 22px; padding: 2px 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.55); cursor: pointer; }
.desktop-profile-user .mobile-profile-user__session { display: inline-flex; width: 96px; height: 36px; box-sizing: border-box; align-items: center; justify-content: center; overflow: hidden; padding: 4px 20px; border: 0; border-radius: 18px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); font-size: 14px; font-weight: 400; line-height: 20px; white-space: nowrap; cursor: pointer; }
.desktop-profile-user .mobile-profile-user__session[data-session-state="login"] { background: var(--wydsp-accent); color: #fff; }
.desktop-profile-user .mobile-profile-user__session:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.desktop-profile-user .mobile-profile-stats { grid-column: 1 / -1; display: grid; height: 50px; grid-template-columns: repeat(4,1fr); align-self: stretch; color: inherit; text-decoration: none; cursor: pointer; }
.desktop-profile-user .mobile-profile-stats:focus-visible { outline: 2px solid var(--wydsp-accent); outline-offset: -2px; border-radius: 6px; }
.desktop-profile-user .mobile-profile-stats div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.desktop-profile-user .mobile-profile-stats strong { color: rgba(255,255,255,.9); font-size: 18px; font-weight: 500; line-height: 24px; }
.desktop-profile-user .mobile-profile-stats span { color: rgba(255,255,255,.7); font-size: 16px; line-height: 22px; }

.person-center-page .mobile-profile-wallets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 48px; }
.person-center-page .mobile-profile-wallet { position: relative; display: flex; min-width: 0; height: 80px; align-items: center; padding: 0 126px 0 30px; border-radius: 12px; color: #fff; text-decoration: none; }
.person-center-page .mobile-profile-wallet--member { background: linear-gradient(111deg,#cb2144,#cd4ea4); }
.person-center-page .mobile-profile-wallet--coins { background: linear-gradient(111deg,#b221cc,#ce58bd); }
.person-center-page .mobile-profile-wallet__copy { display: flex; min-width: 0; align-items: center; gap: 12px; }
.person-center-page .mobile-profile-wallet strong { flex: none; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 28px; font-weight: 700; line-height: 36px; white-space: nowrap; }
.person-center-page .mobile-profile-wallet small { min-width: 0; overflow: hidden; font-size: 18px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.person-center-page .mobile-profile-wallet small b { font-weight: 400; }
.person-center-page .mobile-profile-wallet__art { position: absolute; top: -30px; right: 30px; display: block; width: 80px; height: 80px; }
.person-center-page .mobile-profile-wallet__art img { display: block; width: 80px; height: 80px; object-fit: contain; }
.person-center-page .mobile-profile-wallet em { position: absolute; right: 36px; bottom: 20px; display: flex; min-width: 66px; height: 32px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 100px; background: #fff; color: #292929; font-size: 14px; font-style: normal; font-weight: 500; line-height: 20px; }
.person-center-page .mobile-profile-wallet--coins em { right: 36px; }
.person-center-page .mobile-profile-wallet:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.person-center-page .mobile-profile-download { display: grid; height: 72px; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 48px; padding: 16px 24px; border-radius: 12px; background: linear-gradient(180deg,#1f1f20,#151415); color: #fff; text-decoration: none; }
.person-center-page .mobile-profile-download > img { display: block; width: 40px; height: 40px; border-radius: 8px; }
.person-center-page .mobile-profile-download > .mobile-profile-download__copy { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.person-center-page .mobile-profile-download strong { font-size: 20px; font-weight: 400; line-height: 28px; }
.person-center-page .mobile-profile-download strong em { color: #f8c700; font-style: normal; }
.person-center-page .mobile-profile-download small { color: rgba(255,255,255,.55); font-size: 14px; line-height: 20px; }
.person-center-page .mobile-profile-download > b { display: flex; min-width: 90px; height: 32px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(255,210,95,.75); border-radius: 100px; background: linear-gradient(180deg,#fff 0%,#ffeab6 52.5%,#ffd25f 100%); box-shadow: 0 0 15px rgba(255,195,42,.47),0 0 20px rgba(255,195,42,.22); color: #4d3510; font-size: 14px; line-height: 20px; }
.person-center-page .mobile-profile-download:focus-visible { outline: 2px solid var(--wydsp-accent); outline-offset: 2px; }
.person-center-page .mobile-profile-activities { margin-top: 24px; padding: 24px; border-radius: 9px; background: #0e1113; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.person-center-page .mobile-profile-activities h1 { position: relative; display: block; width: 106.04px; height: 28px; margin: 0 auto 16px; background: linear-gradient(249deg,#fff 1.3%,#ebbe77 95%); background-clip: text; color: transparent; font-size: 18px; font-weight: 700; line-height: 28px; text-align: center; }
.person-center-page .mobile-profile-activities h1 i { position: absolute; display: block; background-position: center; background-repeat: no-repeat; }
.person-center-page .mobile-profile-activities h1 i:first-child { top: 14px; left: 0; width: 12.15px; height: 12.15px; background-image: url("/static/images/desktop-profile-figma/activity-title-star-left.svg"); background-size: 9.76px 9.76px; }
.person-center-page .mobile-profile-activities h1 i:last-child { top: 3px; right: 0; width: 14px; height: 14px; background-image: url("/static/images/desktop-profile-figma/activity-title-star-right.svg"); background-size: 14px 14px; }
.desktop-profile-activity-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.desktop-profile-activity-grid a { position: relative; display: flex; min-width: 0; height: 136px; flex-direction: column; align-items: center; gap: 16px; overflow: hidden; padding: 20px 8px 16px; border-radius: 12px; background: #1a1d1e; box-shadow: inset 0 0 0 1px #313335; color: #ffe7bd; text-decoration: none; }
.desktop-profile-activity-grid a.is-unavailable { opacity: .5; filter: grayscale(.45); cursor: not-allowed; }
.desktop-profile-activity-icon { display: block; width: 64px; height: 64px; flex: none; }
.desktop-profile-activity-icon img { display: block; width: 64px; height: 64px; object-fit: contain; }
.desktop-profile-activity-grid b { display: block; max-width: 100%; margin-top: auto; overflow: hidden; background: linear-gradient(164deg,#fff,#ddac44); background-clip: text; color: transparent; font-size: 14px; font-weight: 500; line-height: 20px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.person-center-page .mobile-profile-badge { position: absolute; z-index: 4; top: 0; left: 0; display: block; width: 28px; height: 20.5px; padding: 0; color: #fff; font-size: 8px; font-weight: 700; line-height: 12px; background-position: 0 0; background-repeat: no-repeat; transform: scale(1.5); transform-origin: top left; }
.person-center-page .mobile-profile-badge__text { position: absolute; top: .11px; left: 1.92px; display: block; transform: rotate(-18.19deg); transform-origin: center; white-space: nowrap; }
.person-center-page .mobile-profile-badge__text > span { font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; }
.person-center-page .mobile-profile-badge--hot { background-image: url("/static/images/wydsp/activity-badge-hot.svg"); }
.person-center-page .mobile-profile-badge--daily { background-image: url("/static/images/wydsp/activity-badge-daily.svg"); }
.person-center-page .mobile-profile-badge--recommended { background-image: url("/static/images/wydsp/activity-badge-recommended.svg"); }

.person-center-page .mobile-profile-library { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 404px; margin-top: 24px; padding: 0; align-content: start; }
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .person-center-page .mobile-profile-library__tabs button:not(.is-active):not(:disabled):not([aria-disabled="true"]):hover {
    color: var(--wydsp-accent, #fd2d55);
  }

  .person-center-page .mobile-profile-library__filters button:not(.is-active):not(:disabled):not([aria-disabled="true"]):hover,
  .person-center-page .mobile-profile-empty button:not(:disabled):not([aria-disabled="true"]):hover {
    color: #fff;
    background: rgba(253, 45, 85, .16);
    box-shadow: inset 0 0 0 1px var(--wydsp-accent, #fd2d55);
  }
}

.person-center-page .mobile-profile-library__tabs { display: flex; width: fit-content; gap: 12px; height: 40px; border-radius: 3px; background: #0e1012; }
.person-center-page .mobile-profile-library__tabs button { position: relative; min-width: 84px; height: 40px; padding: 0 24px; border: 0; background: none; color: rgba(255,255,255,.55); font-size: 18px; line-height: 24px; cursor: pointer; }
.person-center-page .mobile-profile-library__tabs button.is-active { color: rgba(255,255,255,.9); font-weight: 500; }
.person-center-page .mobile-profile-library__tabs button.is-active::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 16px; height: 3px; transform: translateX(-50%); border-radius: 12px; background: var(--wydsp-accent); }
.person-center-page .mobile-profile-library__filters { display: flex; gap: 12px; align-items: center; }
.person-center-page .mobile-profile-library__filters button { min-width: 80px; height: 36px; padding: 0 24px; border: 0; border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.55); font-size: 16px; font-weight: 500; line-height: 22px; cursor: pointer; }
.person-center-page .mobile-profile-library__filters button.is-active { background: var(--wydsp-accent); color: #fff; font-weight: 500; }
.person-center-page .mobile-profile-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 16px; margin-top: 32px; }
.person-center-page .mobile-profile-card { position: relative; }
.person-center-page .mobile-profile-card__action {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  appearance: none;
  background: rgba(3,6,8,.7);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.person-center-page .mobile-profile-card__action:hover {
  border-color: rgba(253,45,85,.62);
  background: rgba(10,12,14,.9);
  transform: translateY(-1px);
}
.person-center-page .mobile-profile-card__action:focus-visible { outline: 2px solid var(--wydsp-accent); outline-offset: 2px; }
.person-center-page .mobile-profile-card__action:disabled { cursor: wait; opacity: .65; }
.person-center-page .mobile-profile-card__unlike .mobile-like-motion-graphic { width: 38px; height: 38px; flex-basis: 38px; }
.person-center-page .mobile-profile-card__like-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.person-center-page .mobile-profile-card__unfavorite .favorite-motion--card { --favorite-motion-icon-size: 27px; }
.person-center-page .mobile-profile-loading { grid-column: 1 / -1; min-height: 228px; padding: 104px 0 0; color: rgba(255,255,255,.55); text-align: center; }
.person-center-page .mobile-profile-empty { grid-column: 1 / -1; display: flex; min-height: 268px; flex-direction: column; align-items: center; justify-content: center; margin: 48px 0; color: rgba(255,255,255,.9); text-align: center; }
.person-center-page .mobile-profile-empty[hidden],
.person-center-page .mobile-profile-loading[hidden],
.person-center-page .mobile-profile-grid[hidden] { display: none; }
.person-center-page .mobile-profile-empty img { display: block; width: 120px; height: 120px; object-fit: contain; }
.person-center-page .mobile-profile-empty strong { position: relative; margin-top: 18px; font-size: 16px; line-height: 22px; }
.person-center-page .mobile-profile-empty strong::before,
.person-center-page .mobile-profile-empty strong::after { content: ""; position: absolute; top: 8px; width: 6px; height: 6px; transform: rotate(45deg); background: #f2ca55; box-shadow: 9px -6px 0 -2px #fff; }
.person-center-page .mobile-profile-empty strong::before { left: -18px; }
.person-center-page .mobile-profile-empty strong::after { right: -18px; }
.person-center-page .mobile-profile-empty p { margin: 8px 0; color: rgba(255,255,255,.35); font-size: 14px; font-weight: 500; line-height: 20px; }
.person-center-page .mobile-profile-empty button { height: 32px; padding: 0 12px; border: .5px solid var(--wydsp-accent); border-radius: 999px; background: transparent; color: var(--wydsp-accent); font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer; }
.person-center-page .mobile-profile-empty button:focus-visible,
.person-center-page .mobile-profile-library button:focus-visible { outline: 2px solid var(--wydsp-accent); outline-offset: 2px; }
.person-center-page [data-mobile-pagination-dynamic] { grid-column: 1 / -1; justify-content: center; gap: 12px; margin-top: 32px; }
.person-center-page .mobile-pagination > .is-current { background: var(--wydsp-accent); border-color: var(--wydsp-accent); color: #fff; }
.person-center-page .toast-stack { color: #222; }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .person-center-page .mobile-profile-wallet { padding-left: 24px; }
  .person-center-page .mobile-profile-wallet__copy { flex-direction: column; align-items: flex-start; gap: 2px; }
  .person-center-page .mobile-profile-wallet strong { font-size: 24px; line-height: 30px; }
  .person-center-page .mobile-profile-wallet small { max-width: 100%; font-size: 16px; line-height: 22px; }
  .desktop-profile-activity-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .desktop-profile-user .mobile-profile-user__name-row { flex-wrap: wrap; gap: 4px 12px; }
  .desktop-profile-user .mobile-profile-user__name-row strong { max-width: 100%; }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .person-center-page .mobile-profile-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .person-center-page .mobile-profile-download > .mobile-profile-download__copy { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 768px) {
  .person-center-page { min-width: 320px; min-height: 100%; margin: 0; overflow-x: hidden; background: #010406; color: #f5f5f5; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
  .person-center-page .site-header,
  .person-center-page > .site-footer,
  .person-center-page .site-header__search-overlay,
  .person-center-page .desktop-profile-back,
  .person-center-page .to-top { display: none; }

  .desktop-profile-main {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 1511px;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    overflow: hidden;
    padding: 24px 16px 112px;
    background: #010406;
  }
  .desktop-profile-main::before,
  .desktop-profile-main::after {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    content: "";
    filter: blur(90px);
    pointer-events: none;
  }
  .desktop-profile-main::before { top: -120px; right: -110px; width: 250px; height: 250px; background: rgba(139,72,20,.34); }
  .desktop-profile-main::after { top: 410px; left: 20px; width: 330px; height: 310px; background: rgba(78,30,138,.24); }
  .desktop-profile-main > * { position: relative; z-index: 1; }

  .desktop-profile-user {
    display: grid;
    min-height: 122px;
    grid-template-columns: 60px minmax(0,1fr) auto;
    grid-template-rows: 60px 44px;
    align-items: center;
    gap: 18px 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  .desktop-profile-user::after { display: none; }
  .desktop-profile-user .mobile-profile-stats { grid-column: 1 / -1; width: 100%; }

  .desktop-profile-activity-grid {
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    gap: 10px 6px;
  }
  .desktop-profile-activity-grid > a:nth-child(-n + 3) { grid-column: span 4; height: 126px; padding-bottom: 11px; border-radius: 10px; }
  .desktop-profile-activity-grid > a:nth-child(n + 4) { grid-column: span 3; height: 96px; padding-bottom: 9px; border-radius: 10px; }
  .desktop-profile-activity-grid > a:nth-child(-n + 3) img { top: 10px; width: 78px; height: 78px; }
  .desktop-profile-activity-grid > a:nth-child(n + 4) img { top: 6px; width: 58px; height: 58px; }
  .desktop-profile-activity-grid > a:nth-child(n + 4) b { font-size: 12px; line-height: 18px; }

  .person-center-page > .mobile-tabbar { display: flex; }
}
