/* H5「我的-历史」Figma 45773:265397（好色综合站） */
: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-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 812px;
  pointer-events: none;
  overflow: hidden;
}
.mobile-profile-bg__base,
.mobile-profile-bg__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 812px;
  object-fit: cover;
  object-position: top center;
}
.mobile-profile-bg__overlay { opacity: .4; }
.mobile-profile-bg__deco {
  position: absolute;
  object-fit: contain;
}
/* 稿面 375 宽：右 137×115 @ x=319 y=303；左 138×123 @ x=-100 y=568 */
.mobile-profile-bg__deco--right {
  top: 303px;
  right: -81px;
  width: 137px;
  height: 115px;
}
.mobile-profile-bg__deco--left {
  top: 568px;
  left: -100px;
  width: 138px;
  height: 123px;
}
.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: 2px solid #ffc590; 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; color: rgba(255,255,255,.9); 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; }
/* H5 稿无会员文案；节点留给脚本，PC 模板继续显示。钱包标题、活动标题同样只留读屏文本 */
.mobile-profile-page .mobile-profile-user__member-tip,
.mobile-profile-wallet__title-label,
.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;
}
.mobile-profile-user__id-row { display: flex; gap: 4px; margin-top: 4px; color: rgba(255,255,255,.55); 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 {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
}
.mobile-profile-user__session[data-session-state="login"] {
  background: #e5365c;
  color: #fff;
}
.mobile-profile-user__session:disabled {
  cursor: default;
  opacity: .85;
}
.mobile-profile-user__session:focus-visible {
  outline: 2px solid #e5365c;
  outline-offset: 2px;
}

/* 资产四列 */
.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 #e5365c; 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: rgba(255,255,255,.7); font-size: 12px; line-height: 18px; }

/* 会员 / 金币双卡 Figma 49056:461371
   稿面帧重叠 3px，但斜切透明区之间约有 8px 黑底缝。
   负边距叠层会把缝透成另一张卡的紫底，看起来像粘死；改为 gap 露出页面底。 */
.mobile-profile-wallets { display: flex; gap: 8px; height: 66px; overflow: visible; }
.mobile-profile-wallet {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 66px;
  overflow: visible;
  color: #fff;
  text-decoration: none;
  background: none;
}
.mobile-profile-wallet--member { z-index: 1; }
.mobile-profile-wallet--coins { z-index: 0; }
/* 底图 177×66，相对 173 宽卡左右各探出 4px */
.mobile-profile-wallet__bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: calc(100% * 177 / 173);
  height: 66px;
  pointer-events: none;
}
.mobile-profile-wallet--coins .mobile-profile-wallet__bg { left: calc(100% * -4 / 173); }
.mobile-profile-wallet__copy {
  position: absolute;
  z-index: 3;
  left: 10px;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 78px);
}
.mobile-profile-wallet--coins .mobile-profile-wallet__copy { left: 22px; top: 10px; }
.mobile-profile-wallet__title {
  position: relative;
  display: block;
  width: 75px;
  height: 22px;
  margin: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
.mobile-profile-wallet__title > img {
  display: block;
  width: 75px;
  height: 22px;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
}
.mobile-profile-wallet small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  white-space: nowrap;
}
.mobile-profile-wallet small b { color: rgba(255,255,255,.55); font-weight: 400; }
.mobile-profile-wallet em {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}
.mobile-profile-wallet--member em { color: #9f71fe; }
.mobile-profile-wallet--coins em { color: #fb50aa; }
/* 会员：前景 59×53 @104,6；半透明背 96×88 @54,0 */
.mobile-profile-wallet__art {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 6px;
  width: 59px;
  height: 53px;
  object-fit: contain;
  pointer-events: none;
}
.mobile-profile-wallet__art--back {
  z-index: 1;
  right: 23px;
  top: -11px;
  width: 96px;
  height: 88px;
  opacity: .55;
}
.mobile-profile-wallet--coins .mobile-profile-wallet__art {
  right: 0;
  top: 9px;
  width: 67px;
  height: 48px;
}
.mobile-profile-wallet--coins .mobile-profile-wallet__art--back {
  right: -21px;
  top: -9px;
  width: 126px;
  height: 115px;
  opacity: .5;
}

/* 下载 APP Figma 51059:430751；回家的路 51059:35227 */
.mobile-profile-promo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-profile-download {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  background:
    linear-gradient(#1a110d, #1a110d) padding-box,
    linear-gradient(135deg, rgba(245, 216, 153, .68) 0%, rgba(255, 106, 0, 0) 42%, #a64500 100%) border-box;
  color: #fff;
  text-decoration: none;
  transition-property: transform, opacity;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
  -webkit-font-smoothing: antialiased;
}
.mobile-profile-download:active { transform: scale(.96); }
.mobile-profile-download:focus-visible { outline: 2px solid #e5365c; outline-offset: 3px; }
.mobile-profile-download__logo {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
}
.mobile-profile-download__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mobile-profile-download strong {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
}
.mobile-profile-download__brand {
  background: linear-gradient(180deg, #fff 0%, #dbe0eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.mobile-profile-download strong em {
  margin-left: 2px;
  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;
}
.mobile-profile-download small {
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.mobile-profile-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 32px;
  border: 1px solid #ff1262;
  border-radius: 100px;
  background: linear-gradient(90deg, #ff709b 0%, #ff1262 52%, #ff3e6b 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.mobile-profile-home-route {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
  transition-property: filter, transform;
  transition-duration: .2s;
  transition-timing-function: ease;
}
.mobile-profile-home-route img {
  display: block;
  width: 100%;
  height: auto;
}
.mobile-profile-home-route:active { transform: scale(.96); }
.mobile-profile-home-route:focus-visible { outline: 2px solid #e5365c; outline-offset: 3px; }
@media (hover: hover) { .mobile-profile-home-route:hover { filter: brightness(1.13); } }

/* 活动专区 Figma 51063:468178 */
.mobile-profile-activities {
  position: relative;
  min-height: 296px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background:
    linear-gradient(#1a110d, #1a110d) padding-box,
    linear-gradient(135deg, rgba(245, 216, 153, .68) 0%, rgba(255, 106, 0, 0) 42%, #a64500 100%) border-box;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}
.mobile-profile-activities h1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  font-size: 0;
  line-height: 0;
}
.mobile-profile-activities__title {
  display: block;
  width: 128px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}
.mobile-profile-activities a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #33201c 0%, #0f0a08 100%) padding-box,
    linear-gradient(to top left, rgba(245, 216, 153, .68) 0%, rgba(254, 87, 30, 0) 42%, #fe571e 100%) border-box;
  color: #ffe7bd;
  text-decoration: none;
  transition-property: transform, filter;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.mobile-profile-activities a:active { transform: scale(0.96); }
.mobile-profile-activities a::before,
.mobile-profile-activities a::after {
  content: none;
  position: absolute;
  left: 50%;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: translateX(-50%);
}
.mobile-profile-activities a:has(> img)::before { content: ""; }
.mobile-profile-activities__large { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mobile-profile-activities__large a { height: 130px; padding-bottom: 14px; }
/* 大卡：amber Star4 72×67 + 白星 64×59 */
.mobile-profile-activities__large a:has(> img)::before {
  top: 14px;
  width: 72px;
  height: 67px;
  opacity: .9;
  background-image: url("/static/images/mobile-profile-figma/activity-glow-star-amber-lg.png?v=20261020-h5-profile-1");
}
.mobile-profile-activities__large a:has(> img)::after {
  content: "";
  top: 18px;
  width: 64px;
  height: 59px;
  opacity: .85;
  background-image: url("/static/images/mobile-profile-figma/activity-glow-star-white-lg.png?v=20261020-h5-profile-1");
}
.mobile-profile-activities__large img {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 50%;
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: translateX(-50%);
}
.mobile-profile-activities b {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #fff 0%, #dd7c44 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.mobile-profile-badge {
  position: absolute;
  z-index: 3;
  top: -2px;
  left: 0;
  display: grid;
  width: 28px;
  height: 23px;
  place-items: center;
  padding: 0 6px 6px 0;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 12px;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 28px 23px;
}
.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.png?v=20261020-h5-profile-1"); }
.mobile-profile-badge--daily { background-image: url("/static/images/mobile-profile-badge-daily.png?v=20261020-h5-profile-1"); }
.mobile-profile-badge--recommended { background-image: url("/static/images/mobile-profile-badge-recommended.png?v=20261020-h5-profile-1"); }
.mobile-profile-activities__small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.mobile-profile-activities__small a {
  height: 96px;
  padding-bottom: 10px;
  background:
    linear-gradient(180deg, #33201c 0%, #0f0a08 100%) padding-box,
    linear-gradient(to top left, rgba(245, 216, 153, .5) 0%, rgba(254, 87, 30, 0) 42%, rgba(254, 87, 30, .5) 100%) border-box;
}
.mobile-profile-activities__small a:has(> img)::before {
  top: 8px;
  width: 50px;
  height: 47px;
  opacity: .9;
  background-image: url("/static/images/mobile-profile-figma/activity-glow-star-amber-sm.png?v=20261020-h5-profile-1");
}
.mobile-profile-activities__small a:has(> img)::after {
  content: "";
  top: 12px;
  width: 46px;
  height: 41px;
  opacity: .85;
  background-image: url("/static/images/mobile-profile-figma/activity-glow-star-white-sm.png?v=20261020-h5-profile-1");
}
.mobile-profile-activities__small img {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 50%;
  width: 52px;
  height: 52px;
  object-fit: contain;
  transform: translateX(-50%);
}
.mobile-profile-activities__small b {
  font-size: 12px;
  line-height: 18px;
}
.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; }

/* 历史 / 收藏 / 点赞；选中曲线见 haose-curve.css */
.mobile-profile-library { min-height: 342px; padding: 18px 12px; border-radius: 12px; background: #0e1012; }
.mobile-profile-library.has-pagination { padding-bottom: 0; }
.mobile-profile-library__tabs.mobile-channel-tabs {
  width: auto;
  gap: 28px;
  padding: 0;
}
.mobile-profile-library__tabs.mobile-channel-tabs button {
  padding: 0;
  color: #989898;
}
.mobile-profile-library__tabs.mobile-channel-tabs button.is-active {
  color: #fff;
  font-weight: 500;
}
.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 #989898;
  border-radius: 999px;
  background: transparent;
  color: #989898;
  font-size: 12px;
  font-weight: 500;
}
.mobile-profile-library__filters button.is-active {
  border-color: #e5365c;
  background: #e5365c;
  color: #fff;
}
.mobile-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; 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 #e5365c; outline-offset: 2px; }
.mobile-profile-card__action:disabled { cursor: wait; }
.mobile-profile-card__unlike .mobile-like-motion-graphic { width: 24px; height: 24px; flex: 0 0 24px; }
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame { width: 24px; height: 24px; }
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="1"],
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="2"] { height: 26px; }
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="0"],
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="1"],
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="2"],
.mobile-profile-card__unlike[data-mobile-like-motion] .mobile-like-motion-frame[data-mobile-like-frame="3"] {
  transform: translate(-50%, calc(-50% + 6px));
}
.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: 100px; height: 125px; 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 #e5365c; border-radius: 99px; background: transparent; color: #e5365c; font-size: 10px; }
