: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: 100%; min-height: 1511px; margin: 0; overflow: hidden; background: #010406; }
.mobile-profile-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.mobile-profile-glow--orange { top: -120px; right: -110px; width: 250px; height: 250px; background: rgba(139, 72, 20, .34); }
.mobile-profile-glow--violet { top: 410px; left: 20px; width: 330px; height: 310px; background: rgba(78, 30, 138, .24); }
.mobile-profile-main { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px 16px 112px; }
.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: 0; border-radius: 50%; background: #161719; }
.mobile-profile-user__avatar.is-guest { border: 2px solid #ff3f7c; }
.mobile-profile-user__avatar > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.mobile-profile-user__avatar > img:first-child[src*="placeholder.png"] { transform: scale(1.45); }
.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; 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, 1fr); height: 44px; color: inherit; text-decoration: none; }
.mobile-profile-stats:focus-visible { outline: 2px solid #f8de72; 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: repeat(2, minmax(0, 1fr)); align-items: start; gap: 7px; }
.mobile-profile-wallet { position: relative; display: block; width: 100%; aspect-ratio: 168 / 101; overflow: hidden; color: #fff; text-decoration: none; container-type: inline-size; }
.mobile-profile-wallet--member { aspect-ratio: 168 / 99; }
.mobile-profile-wallet__figma { display: block; width: 100%; height: 100%; object-fit: fill; }
.mobile-profile-wallet__a11y { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mobile-profile-wallet__balance { position: absolute; z-index: 2; top: 41.5%; left: 25%; display: block; max-width: 34%; overflow: hidden; color: rgba(255,255,255,.9); font-size: 5.95cqw; font-weight: 400; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.mobile-profile-wallet--member em { position: absolute; z-index: 2; left: 7.15%; bottom: 10%; display: flex; width: 36%; height: 22%; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; background: linear-gradient(180deg, #c078ff 0%, #7730e9 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,.42), 0 0 6px rgba(153,70,255,.82); color: #fff; font-size: 5.95cqw; font-style: normal; font-weight: 600; line-height: 1; white-space: nowrap; }
.mobile-profile-activities { display: flex; min-height: 296px; flex-direction: column; gap: 12px; align-items: center; justify-content: center; padding: 12px; overflow: hidden; border: 1px solid rgba(245,216,153,.68); border-radius: 9px; background: #100d1a; box-shadow: 0 0 5px rgba(0,0,0,.1); }
.mobile-profile-activities h1 { position: relative; height: 28px; margin: 0; padding: 0 17px; background: linear-gradient(249deg, #fff 1.34%, #ebbe77 94.95%); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 18px; line-height: 28px; text-align: center; white-space: nowrap; }
.mobile-profile-activities h1 i { position: absolute; display: block; background-position: center; background-repeat: no-repeat; background-size: contain; }
.mobile-profile-activities h1 i:first-child { bottom: -1px; left: 0; width: 12px; height: 12px; background-image: url("/static/images/desktop-profile-figma/activity-title-star-left.svg"); transform: rotate(-16.7deg); }
.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"); }
.mobile-profile-activities a { position: relative; display: block; overflow: hidden; border: 0; background: transparent; color: #ffe7bd; text-decoration: none; }
.mobile-profile-activities__large { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.mobile-profile-activities__large a { aspect-ratio: 100.671 / 125; border-radius: 10px; }
.mobile-profile-activity-visual { position: absolute; inset: 0; display: block; background-position: center; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.mobile-profile-activities [data-activity-href="/activity/lucky"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/lucky.png"); }
.mobile-profile-activities [data-activity-href="/activity/daily"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/daily.png"); }
.mobile-profile-activities [data-activity-href="/activity/ticket"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/ticket.png"); }
.mobile-profile-activities [data-activity-href="/activity/rebate"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/rebate.png"); }
.mobile-profile-activities [data-activity-href="/activity/coin-store/"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/coin-store.png"); }
.mobile-profile-activities [data-activity-href="/activity/task-wall/"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/task-wall.png"); }
.mobile-profile-activities [data-activity-href="/activity/comment-photo/"] .mobile-profile-activity-visual { background-image: url("/static/images/mobile-profile-activities-figma/comment-photo.png"); }
.mobile-profile-activities .mobile-profile-activity-api-icon, .mobile-profile-activities .mobile-profile-badge { display: none; }
.mobile-profile-activities b { position: absolute; z-index: 1; right: 4px; bottom: 10px; left: 4px; overflow: hidden; background: linear-gradient(166deg, #fff 0%, #ddac44 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 12px; font-weight: 500; line-height: 17px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mobile-profile-badge { position: absolute; z-index: 2; top: 0; left: 0; width: 42px; height: 32px; place-items: center; padding: 0 11px 9px 0; color: #fff; font-size: 10px; font-weight: 600; line-height: 12px; background-position: 0 0; background-repeat: no-repeat; background-size: 42px 32px; }
.mobile-profile-badge__text { display: block; transform: rotate(-15deg); transform-origin: center; white-space: nowrap; }
.mobile-profile-badge--hot { background-image: url("/static/images/mobile-profile-badge-hot.svg"); }
.mobile-profile-badge--daily { background-image: url("/static/images/mobile-profile-badge-daily.svg"); }
.mobile-profile-badge--recommended { background-image: url("/static/images/mobile-profile-badge-recommended.svg"); }
.mobile-profile-activities__small { display: grid; width: 100%; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.mobile-profile-activities__small a { aspect-ratio: 74.417 / 95; border-radius: 9px; }
.mobile-profile-activities__small b { bottom: 7px; font-size: 10px; line-height: 15px; }
.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: #0d0f11; }
.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: #ff3f7c; }
.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: #ff3f7c; background: #ff3f7c; color: #fff; font-weight: 500; }
.mobile-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 8px; margin-top: 12px; }
.mobile-profile-card { position: relative; }
.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 #e9b54b; 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; width: 170px; min-height: 216px; flex-direction: column; align-items: center; margin: 18px auto 0; text-align: center; }
.mobile-profile-empty[hidden] { display: none; }
.mobile-profile-empty__art { position: relative; display: block; width: 120px; height: 120px; flex: 0 0 120px; overflow: hidden; }
.mobile-profile-empty__art img { position: absolute; top: 0; left: -26.34px; display: block; width: 160px; height: 120px; max-width: none; }
.mobile-profile-empty__body { display: flex; width: 170px; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; }
.mobile-profile-empty strong { display: flex; align-items: center; justify-content: center; gap: 8px; color: #f4f4f4; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.mobile-profile-empty strong::before, .mobile-profile-empty strong::after { content: ""; display: block; width: 10px; height: 10px; flex: 0 0 10px; background: center / contain no-repeat; }
.mobile-profile-empty strong::before { background-image: url("/static/images/desktop-profile-figma/activity-title-star-left.svg"); }
.mobile-profile-empty strong::after { background-image: url("/static/images/desktop-profile-figma/activity-title-star-right.svg"); }
.mobile-profile-empty p { margin: 0; color: #777b80; font-size: 12px; line-height: 18px; white-space: nowrap; }
.mobile-profile-empty button { width: 64px; height: 24px; padding: 0; border: .5px solid #ff3f7c; border-radius: 99px; background: transparent; color: #ff3f7c; font-size: 10px; line-height: 16px; }
.mobile-profile-empty button:focus-visible { outline: 2px solid #ff3f7c; outline-offset: 2px; }

.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 #ff3595; outline-offset: 3px; }
@media (hover: hover) { .mobile-profile-home-route:hover { filter: brightness(1.13); } }
