* { 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: #020506; 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 - 317px); flex: 1 0 auto; margin: 0 auto; padding: 24px 0; }
.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: 16px; background: linear-gradient(180deg, #1f1e1e 0%, #372501 100%); }
.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: #000; }
.desktop-profile-user .mobile-profile-user__avatar > img:first-child { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.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: 500; line-height: 32px; text-overflow: ellipsis; white-space: nowrap; }
/* 昵称旁 VIP 胶囊：未开通 49117:258408；已开通 49117:258066 / 45835:206779 */
.desktop-profile-user .mobile-profile-user__vip-badge {
  display: inline-flex;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 20px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 8px 2px 9px;
  border: 1px solid #5b5757;
  border-radius: 24px;
  background: #2f2728;
}
.desktop-profile-user .mobile-profile-user__vip { display: block; width: 10px; height: 7px; padding: 0; opacity: 1; }
.desktop-profile-user .mobile-profile-user__vip-label {
  color: #9d9ea8;
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}
.person-center-page.has-member .desktop-profile-user .mobile-profile-user__vip-label { color: #5f1c16; }
.person-center-page.has-member .desktop-profile-user .mobile-profile-user__vip-badge {
  width: auto;
  min-width: 68px;
  padding: 2px 8px 2px 9px;
  border: 0;
  background: linear-gradient(135deg, #fce4c5 0%, #9c6a36 100%);
}
.desktop-profile-user .mobile-profile-user__member-tip { 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: #303030; color: rgba(255,255,255,.55); font-size: 12px; line-height: 18px; 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: #ff5412; color: #000; }
.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 #e9b54b; 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: 600; line-height: 24px; }
.desktop-profile-user .mobile-profile-stats span { color: rgba(255,255,255,.7); font-size: 16px; line-height: 22px; }

/* 两年半 PC 45835:30821 会员/金币卡：背景用设计稿导出，文案和按钮叠在上面 */
.person-center-page .mobile-profile-wallets { display: grid; height: 106px; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.person-center-page .mobile-profile-wallet { position: relative; container-type: inline-size; display: block; height: 106px; overflow: visible; color: #fff; text-decoration: none; }
.person-center-page .mobile-profile-wallet__bg { position: absolute; z-index: 0; left: calc(100cqi * -14 / 592); top: calc(100cqi * -15 / 592); width: calc(100cqi * 620 / 592); height: calc(100cqi * 149 / 592); pointer-events: none; }
.person-center-page .mobile-profile-wallet--coins .mobile-profile-wallet__bg { top: calc(100cqi * -16 / 592); }
.person-center-page .mobile-profile-wallet__copy { position: absolute; z-index: 1; left: 32px; top: 44px; display: inline-flex; align-items: center; gap: 20px; white-space: nowrap; }
.person-center-page .mobile-profile-wallet__title { margin: 0; color: #fff; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 28px; font-weight: 700; line-height: 32px; }
.person-center-page .mobile-profile-wallet__desc { margin: 0; color: #fff; font-size: 18px; font-weight: 400; line-height: 24px; }
.person-center-page .mobile-profile-wallet__desc b { font-weight: 400; }
.person-center-page .mobile-profile-wallet__cta { position: absolute; z-index: 3; right: 35px; bottom: 8px; display: inline-flex; min-width: 66px; height: 32px; box-sizing: border-box; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 100px; color: #fff; font-size: 14px; font-weight: 500; font-style: normal; line-height: 20px; white-space: nowrap; }
.person-center-page .mobile-profile-wallet--member .mobile-profile-wallet__cta { background: #9f71fe; }
.person-center-page .mobile-profile-wallet--coins .mobile-profile-wallet__cta { background: #fb50aa; }
.person-center-page .mobile-profile-wallet:focus-visible { outline: 2px solid #ff5412; outline-offset: 2px; }

/* 两年半 PC 45831:22909 下载条 */
.person-center-page .mobile-profile-download { position: relative; display: grid; height: 72px; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 12px; margin-top: 18px; padding: 16px 130px 16px 24px; border-radius: 12px; background: linear-gradient(180deg, #1f1f20 0%, #151415 100%); color: #fff; text-decoration: none; overflow: hidden; }
.person-center-page .mobile-profile-download > img { display: block; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.person-center-page .mobile-profile-download > span { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person-center-page .mobile-profile-download strong { display: inline-flex; align-items: center; gap: 0; color: #fff; font-size: 20px; font-weight: 500; line-height: 28px; white-space: nowrap; }
.person-center-page .mobile-profile-download__title { background: linear-gradient(180deg, #fff 0%, #dbe0eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.person-center-page .mobile-profile-download strong em { background: linear-gradient(180deg, #ff9e77 0%, #fe5916 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-style: normal; }
.person-center-page .mobile-profile-download small { color: rgba(255,255,255,.55); font-size: 14px; line-height: 20px; white-space: nowrap; }
.person-center-page .mobile-profile-download > b { position: absolute; top: 20px; right: 24px; display: inline-flex; width: 90px; height: 32px; box-sizing: border-box; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid #ff5412; border-radius: 100px; background: linear-gradient(135deg, #ff9d70 0%, #ff5412 52%, #ff883e 100%); color: #292929; font-size: 14px; font-weight: 500; line-height: 20px; }
.person-center-page .mobile-profile-download:focus-visible { outline: 2px solid #ff5412; outline-offset: 2px; }

/* 两年半 PC 45831:22797 活动专区 */
.person-center-page .mobile-profile-activities { height: 202px; margin-top: 18px; overflow: hidden; padding: 1px 24px 24px; border: 0; border-radius: 9px; background: #100d1a; box-shadow: 0 0 5px rgba(0,0,0,.1); }
.person-center-page .mobile-profile-activities h1 { position: relative; display: block; width: 182px; height: 33px; margin: 12px auto 16px; font-size: 0; line-height: 0; text-align: center; }
.person-center-page .mobile-profile-activities h1 > img { display: block; width: 182px; height: 33px; margin: 0 auto; object-fit: contain; pointer-events: none; }
.person-center-page .mobile-profile-activities h1 > span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.desktop-profile-activity-grid { display: grid; height: 130px; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.desktop-profile-activity-grid a { position: relative; box-sizing: border-box; display: block; height: 130px; min-width: 0; overflow: hidden; isolation: isolate; border: 0; border-radius: 12px; background: linear-gradient(180deg,#241c33 0%,#0b080f 100%); color: #fff; text-decoration: none; }
/* 45831:23019 内描边 1px：右侧 #f5d899 20.4% → 41.83% 透明 → 左侧 #9177c1 30% */
.desktop-profile-activity-grid a::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; padding: 1px; background: linear-gradient(283.08deg, rgba(245,216,153,.204) 0%, rgba(145,119,193,0) 41.83%, rgba(145,119,193,.3) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.desktop-profile-activity-grid a.is-unavailable { opacity: .5; filter: grayscale(.45); cursor: not-allowed; }
.desktop-profile-activity-icon { position: absolute; z-index: 2; top: 17px; left: 50%; display: block; width: 64px; height: 64px; overflow: visible; transform: translateX(-50%); }
.desktop-profile-activity-icon img { display: block; width: 64px; height: 64px; max-width: none; object-fit: contain; }
.desktop-profile-activity-grid b { position: absolute; z-index: 3; right: 12px; bottom: 16px; left: 12px; overflow: hidden; background: linear-gradient(180deg,#fff 0%,#ddac44 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-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: 42px; height: 31px; padding: 0; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; background-position: 0 0; background-repeat: no-repeat; background-size: 42px 31px; }
.person-center-page .mobile-profile-badge__text { position: absolute; top: -1px; left: .67px; display: flex; width: 28.42px; height: 24.59px; align-items: center; justify-content: center; white-space: nowrap; }
.person-center-page .mobile-profile-badge__text > span { display: block; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; font-weight: 700; line-height: 18px; transform: rotate(-18.19deg); transform-origin: center; }
.person-center-page .mobile-profile-badge--hot { background-image: url("/static/images/mobile-profile-badge-hot.svg"); }
.person-center-page .mobile-profile-badge--daily { background-image: url("/static/images/mobile-profile-badge-daily.svg"); }
.person-center-page .mobile-profile-badge--recommended { background-image: url("/static/images/mobile-profile-badge-recommended.svg"); }

.person-center-page .mobile-profile-library { min-height: 404px; margin-top: 18px; padding: 24px; border-radius: 12px; background: #0e1012; }
.person-center-page .mobile-profile-library__tabs { display: flex; gap: 12px; height: 40px; }
.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: 600; }
/* 45829:15592 选中条 16×3，居中贴底，#FF5412 */
.person-center-page .mobile-profile-library__tabs .site-header__desktop-nav-item.is-active::before { content: none; }
.person-center-page .mobile-profile-library__tabs .site-header__desktop-nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 12px;
  background-color: #ff5412;
  background-image: none;
}
.person-center-page .mobile-profile-library__filters { display: flex; gap: 12px; margin-top: 20px; }
.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: #ff5412; color: #000; font-weight: 500; }
.person-center-page .mobile-profile-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px 18px; margin-top: 28px; }
.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(233,181,75,.62);
  background: rgba(10,12,14,.9);
  transform: translateY(-1px);
}
.person-center-page .mobile-profile-card__action:focus-visible { outline: 2px solid #e9b54b; outline-offset: 2px; }
.person-center-page .mobile-profile-card__action:disabled { cursor: wait; opacity: .65; }
/* 点赞与收藏图标同为 27px，对齐封面右上角操作视觉 */
.person-center-page .mobile-profile-card__unlike .mobile-like-motion-graphic { width: 27px; height: 27px; flex: 0 0 27px; }
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame { width: 27px; height: 27px; }
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="1"],
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="2"] { height: 30px; }
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="0"],
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="1"],
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="2"],
.person-center-page .mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="3"] {
  transform: translate(-50%, calc(-50% + 7px));
}
.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 { min-height: 228px; padding: 104px 0 0; color: rgba(255,255,255,.55); text-align: center; }
.person-center-page .mobile-profile-empty { display: flex; min-height: 228px; flex-direction: column; align-items: center; justify-content: flex-start; margin-top: 32px; 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; }
.desktop-search-empty__ip { display: block; width: 100px; height: 125px; 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: 0; border-radius: 999px; background: #ff5412; color: #000; 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 #e9b54b; outline-offset: 2px; }
.person-center-page .pc-pagination { margin-top: 24px; }
.person-center-page .mobile-profile-library:not(.has-pagination) > .pc-pagination { display: none; }
.person-center-page .toast-stack { color: #222; }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .desktop-profile-main { width: calc(100% - 48px); }
  .desktop-profile-activity-grid a { height: 124px; }
  .desktop-profile-activity-grid img { width: 75px; height: 75px; }
  .desktop-profile-activity-grid b { font-size: 13px; }
}

@media (min-width: 769px) and (max-width: 900px) {
  .person-center-page .mobile-profile-wallets { height: auto; grid-template-columns: minmax(0, 1fr); }
}

@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%; }

  /* 桌面模板窄屏：压缩钱包/下载，结构同 PC 稿 */
  .person-center-page .mobile-profile-wallets { height: auto; gap: 8px; }
  .person-center-page .mobile-profile-wallet { height: 84px; overflow: hidden; }
  .person-center-page .mobile-profile-wallet__bg,
  .person-center-page .mobile-profile-wallet--coins .mobile-profile-wallet__bg { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
  .person-center-page .mobile-profile-wallet__copy { left: 12px; top: 18px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .person-center-page .mobile-profile-wallet__title { font-size: 18px; line-height: 24px; }
  .person-center-page .mobile-profile-wallet__desc { font-size: 12px; line-height: 18px; }
  .person-center-page .mobile-profile-wallet__cta { right: 12px; bottom: 10px; min-width: 56px; height: 28px; padding: 4px 10px; font-size: 12px; }
  .person-center-page .mobile-profile-download { height: auto; min-height: 64px; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 12px 116px 12px 16px; }
  .person-center-page .mobile-profile-download > img { width: 40px; height: 40px; }
  .person-center-page .mobile-profile-download > span { flex-direction: column; align-items: flex-start; gap: 2px; }
  .person-center-page .mobile-profile-download strong { font-size: 16px; line-height: 22px; }
  .person-center-page .mobile-profile-download small { font-size: 12px; line-height: 18px; }
  .person-center-page .mobile-profile-download > b { top: 16px; right: 16px; width: 90px; height: 32px; }

  .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; }
}
