:root { color-scheme: dark; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
html, body { width: 100%; margin: 0; min-height: 100%; background: #010406; }
body { color: #f5f5f5; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.mobile-profile-page { min-width: 320px; overflow-x: hidden; }
.mobile-profile-shell { position: relative; width: min(100%, 480px); min-height: 100svh; margin: 0 auto; overflow: clip; background: #010406; }
.mobile-profile-glow { position: absolute; z-index: 0; max-width: none; pointer-events: none; }
.mobile-profile-glow--orange { top: -303.375px; right: -156.492px; transform: rotate(-73.56deg); }
.mobile-profile-glow--blue { top: -252.847px; left: -215.471px; transform: rotate(-178.72deg); }
.mobile-profile-main { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: calc(24px + env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom)); }
.mobile-profile-user { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; }
.mobile-profile-user__avatar { position: relative; width: 60px; height: 60px; overflow: hidden; border: 2px solid var(--wydsp-accent-soft); border-radius: 50%; background: #161719; }
.mobile-profile-user__avatar > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.mobile-profile-user__avatar img[data-image-state="loading"] { visibility: hidden; }
.mobile-profile-page[data-server-logged-in="true"]:not(.mobile-profile-identity-ready) #mobile-profile-name,
.mobile-profile-page[data-server-logged-in="true"]:not(.mobile-profile-identity-ready) #mobile-profile-id { visibility: hidden; }
.mobile-profile-user__copy { min-width: 0; }
.mobile-profile-user__name-row { display: flex; align-items: center; gap: 4px; min-width: 0; }
.mobile-profile-user__name-row strong { max-width: 92px; overflow: hidden; font-size: 16px; font-weight: 500; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-profile-user__vip { box-sizing: border-box; width: 24px; height: 24px; padding: 3px; }
.mobile-profile-user__member-tip { max-width: 82px; overflow: hidden; color: #777; font-size: 10px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-profile-user__id-row { display: flex; gap: 4px; margin-top: 4px; color: #8d8f92; font-size: 12px; line-height: 18px; }
.mobile-profile-user__id-row button { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; }
.mobile-profile-user__session { min-width: 74px; height: 28px; padding: 0 13px; border: 0; border-radius: 18px; background: rgba(255,255,255,.1); font-size: 12px; white-space: nowrap; }
.mobile-profile-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; height: 44px; color: inherit; text-decoration: none; }
.mobile-profile-stats:focus-visible { outline: 2px solid var(--wydsp-accent); outline-offset: -2px; }
.mobile-profile-stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-profile-stats strong { font-size: 16px; line-height: 22px; font-weight: 500; }
.mobile-profile-stats span { color: #aaaeb3; font-size: 12px; line-height: 18px; }
.mobile-profile-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; height: 96px; }
.mobile-profile-wallet { position: relative; height: 96px; overflow: hidden; color: #fff; text-decoration: none; }
.mobile-profile-wallet::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 70px; background: center / 100% 70px no-repeat; pointer-events: none; }
.mobile-profile-wallet--member::after { background-image: url("/static/images/wydsp/profile-member-card.svg"); }
.mobile-profile-wallet--coins::after { background-image: url("/static/images/wydsp/profile-wallet-card.svg"); }
.mobile-profile-wallet__art { position: absolute; z-index: 0; top: 1px; right: 0; display: block; width: 64px; height: 64px; }
.mobile-profile-wallet__art img { display: block; width: 64px; height: 64px; object-fit: contain; }
.mobile-profile-wallet--member .mobile-profile-wallet__art { right: -2px; }
.mobile-profile-wallet > .mobile-profile-wallet__copy { position: absolute; z-index: 3; left: 12px; top: 38px; display: flex; width: 72px; flex-direction: column; align-items: flex-start; gap: 4px; }
.mobile-profile-wallet strong { width: 100%; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 18px; line-height: 24px; text-align: center; white-space: nowrap; }
.mobile-profile-wallet small { font-size: 12px; line-height: 18px; }
.mobile-profile-wallet small b { font-weight: 400; }
.mobile-profile-wallet--coins .mobile-profile-wallet__copy small { display: flex; align-items: flex-start; width: 88px; white-space: nowrap; }
.mobile-profile-wallet--coins .mobile-profile-wallet__copy small b { min-width: 0; flex: 1; overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-profile-wallet--coins .mobile-profile-wallet__copy small b.is-long-value { font-size: 10px; }
.mobile-profile-wallet em { position: absolute; z-index: 4; right: 8px; bottom: 8px; min-width: 52px; height: 24px; padding: 3px 8px; border-radius: 99px; background: #fff; color: #292929; font-size: 12px; font-weight: 500; line-height: 18px; font-style: normal; text-align: center; }
.mobile-profile-download { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; height: 52px; padding: 6px 16px; border-radius: 12px; background: linear-gradient(#1f1f20, #151415); color: #fff; text-decoration: none; }
.mobile-profile-download > img { width: 40px; height: 40px; border-radius: 8px; }
.mobile-profile-home-route { display: block; align-self: center; width: min(311px, 100%); margin: -5px 0; border-radius: 22px; line-height: 0; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mobile-profile-home-route img { display: block; width: 100%; height: auto; }
.mobile-profile-home-route:active { transform: scale(.98); }
.mobile-profile-home-route:focus-visible { outline: 2px solid var(--wydsp-accent, #fd2d55); outline-offset: 3px; }
@media (hover: hover) { .mobile-profile-home-route:hover { filter: brightness(1.13); } }
.mobile-profile-download__copy { display: flex; flex-direction: column; min-width: 0; }
.mobile-profile-download strong { font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; color: transparent; background: linear-gradient(180deg, #fff 18.182%, #dbe0eb 84.091%); -webkit-background-clip: text; background-clip: text; }
.mobile-profile-download strong em { margin-left: 2px; color: transparent; font-style: normal; background: linear-gradient(180deg, var(--wydsp-accent-soft, #fe94a8), var(--wydsp-accent, #fd2d55)); -webkit-background-clip: text; background-clip: text; }
.mobile-profile-download small { color: rgba(255,255,255,.55); font-size: 12px; line-height: 18px; white-space: nowrap; }
.mobile-profile-download > b { min-width: 89px; height: 32px; padding: 5px 14px; border: 1px solid var(--wydsp-accent, #fd2d55); border-radius: 99px; background: var(--wydsp-accent, #fd2d55); box-shadow: 0 0 15px rgba(253,45,85,.47), 0 0 20px rgba(253,45,85,.22); color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; text-align: center; white-space: nowrap; }
.mobile-profile-home-route { display: block; align-self: center; width: min(311px, 100%); margin: -5px 0; border-radius: 22px; line-height: 0; text-decoration: none; transition: filter .2s ease, transform .2s ease; }
.mobile-profile-home-route img { display: block; width: 100%; height: auto; }
.mobile-profile-home-route:active { transform: scale(.98); }
.mobile-profile-home-route:focus-visible { outline: 2px solid var(--wydsp-accent, #fd2d55); outline-offset: 3px; }
.mobile-profile-home-route--text { width: auto; margin: 0; padding: 6px 12px; color: var(--wydsp-text-secondary); font-size: 12px; line-height: 18px; }
.mobile-profile-home-route--text:focus-visible { outline-color: var(--wydsp-accent); }
@media (hover: hover) { .mobile-profile-home-route:hover { filter: brightness(1.13); } }
.mobile-profile-activities { padding: 13px 12px; border: 0; border-radius: 9px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 0 5px rgba(0,0,0,.1); }
.mobile-profile-activities h1 { position: relative; width: 106px; height: 28px; margin: 0 auto 12px; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 18px; line-height: 28px; text-align: center; }
.mobile-profile-activities h1 span { display: inline-block; background: linear-gradient(249.15deg, #fff 1.34%, #fd2d55 94.95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-profile-activities__sparkle-left { position: absolute; top: 14px; left: 0; transform: rotate(-16.7deg); }
.mobile-profile-activities__sparkle-right { position: absolute; top: 3px; right: 0; }
.mobile-profile-activities a { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 0; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); color: rgba(255,255,255,.55); text-decoration: none; }
.mobile-profile-activities__large { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.mobile-profile-activities__large a { aspect-ratio: 100 / 130; min-height: 128px; gap: 12px; padding: 16px 4px; overflow: visible; }
.mobile-profile-activities__large img { display: block; width: 64px; height: 64px; object-fit: contain; }
.mobile-profile-activities b { position: relative; z-index: 1; max-width: 100%; font-size: 14px; font-weight: 400; line-height: 20px; text-align: center; overflow-wrap: anywhere; }
.mobile-profile-badge { position: absolute; z-index: 2; top: 0; left: 0; display: block; width: 28px; height: 20.5px; color: #fff; font-size: 8px; font-weight: 700; line-height: 12px; background-position: 0 0; background-repeat: no-repeat; }
.mobile-profile-badge__text { position: absolute; top: 6.11px; left: 9.92px; display: block; transform: translate(-50%, -50%) rotate(-18.19deg); transform-origin: center; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; white-space: nowrap; }
.mobile-profile-badge--hot { background-image: url("/static/images/wydsp/activity-badge-hot.svg"); }
.mobile-profile-badge--daily { background-image: url("/static/images/wydsp/activity-badge-daily.svg"); }
.mobile-profile-badge--recommended { background-image: url("/static/images/wydsp/activity-badge-recommended.svg"); }
.mobile-profile-activities__small { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-top: 12px; }
.mobile-profile-activities__small a { min-height: 96px; gap: 8px; padding: 7px 2px; }
.mobile-profile-activities__small img { display: block; width: 50px; height: 50px; object-fit: contain; }
.mobile-profile-activities__small b { font-size: 14px; line-height: 20px; }
.mobile-profile-activities a.is-unavailable { opacity: .5; filter: grayscale(.45); cursor: not-allowed; }
.mobile-profile-activities__large[hidden], .mobile-profile-activities__small[hidden] { display: none; }
.mobile-profile-library { min-height: 342px; padding: 18px 12px; border-radius: 12px; background: var(--wydsp-surface); }
.mobile-profile-library.has-pagination { padding-bottom: 0; }
.mobile-profile-library__tabs { display: flex; gap: 28px; height: 36px; }
.mobile-profile-library__tabs button { position: relative; padding: 0; border: 0; background: none; color: #777b80; font-size: 14px; }
.mobile-profile-library__tabs button.is-active { color: #f4f4f4; font-weight: 500; }
.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); }
.mobile-profile-library__filters { display: flex; gap: 12px; margin-top: 12px; }
.mobile-profile-library__filters button { width: 58px; height: 24px; padding: 0; border: 1px solid #656565; border-radius: 99px; background: transparent; color: #b4b5b7; font-size: 12px; }
.mobile-profile-library__filters button.is-active { border-color: var(--wydsp-accent); background: var(--wydsp-accent); color: #fff; font-weight: 500; }
.mobile-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 7px; margin-top: 18px; }
.mobile-profile-card { position: relative; }
.mobile-profile-grid .mobile-long-video-card { gap: 3.714px; }
.mobile-profile-grid .mobile-long-video-card__cover { border-radius: 5.571px; }
.mobile-profile-grid .mobile-long-video-card__shade { height: 27.857px; }
.mobile-profile-grid .mobile-long-video-card__meta { right: 7.429px; bottom: 4.643px; left: 7.429px; font-size: 9.29px; line-height: 14.857px; }
.mobile-profile-grid .mobile-long-video-card__title { min-height: 33.428px; font-size: 11.14px; line-height: 16.714px; }
.mobile-profile-card__action { position: absolute; z-index: 3; top: 2px; right: 2px; display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.42); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mobile-profile-card__action:focus-visible { outline: 2px solid var(--wydsp-accent); outline-offset: 2px; }
.mobile-profile-card__action:disabled { cursor: wait; }
.mobile-profile-card__unlike .mobile-like-motion-graphic { width: 32px; height: 32px; flex-basis: 32px; }
.mobile-profile-card__like-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mobile-profile-card__unfavorite .favorite-motion--card { --favorite-motion-icon-size: 24px; }
.mobile-profile-grid[hidden] { display: none; }
.mobile-profile-loading { min-height: 238px; padding-top: 104px; color: #777b80; font-size: 12px; text-align: center; }
.mobile-profile-loading[hidden] { display: none; }
.mobile-profile-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 238px; padding-top: 6px; text-align: center; }
.mobile-profile-empty[hidden] { display: none; }
.mobile-profile-empty > img { width: 120px; height: 120px; object-fit: contain; }
.mobile-profile-empty strong { margin-top: 8px; font-size: 14px; line-height: 20px; }
.mobile-profile-empty p { margin: 8px 0; color: #55595e; font-size: 12px; line-height: 18px; }
.mobile-profile-empty button { height: 24px; padding: 0 12px; border: .5px solid var(--wydsp-accent); border-radius: 99px; background: transparent; color: var(--wydsp-accent); font-size: 10px; }

@media (max-width: 350px) {
  .mobile-profile-main { padding-right: 12px; padding-left: 12px; }
  .mobile-profile-user { gap: 8px; }
  .mobile-profile-user__session { min-width: 64px; padding: 0 8px; }
  .mobile-profile-activities__large { gap: 5px; }
  .mobile-profile-activities__small { gap: 4px; }
  .mobile-profile-activities__small b { font-size: 12px; }
  .mobile-profile-wallet > .mobile-profile-wallet__copy { left: 8px; }
  .mobile-profile-wallet strong { font-size: 16px; }
  .mobile-profile-wallet em { right: 5px; padding-right: 5px; padding-left: 5px; min-width: 46px; }
  .mobile-profile-wallet--coins .mobile-profile-wallet__copy small { width: 70px; }
  .mobile-profile-download { gap: 8px; padding-right: 10px; padding-left: 10px; }
  .mobile-profile-download strong { font-size: 13px; }
  .mobile-profile-download small { font-size: 10px; }
  .mobile-profile-download > b { min-width: 74px; padding-right: 8px; padding-left: 8px; font-size: 12px; }
}
