/*
 * v70 页面结构校正版
 * 仅修正：快捷入口、热门/最近浏览、充值、提现、任务、收入、邀请好友。
 * 保留现有深蓝金主题和轻量交互，不再叠加大面积模糊。
 */

:root {
  --v70-page: #050b18;
  --v70-card: rgba(255, 255, 255, .055);
  --v70-card-strong: rgba(255, 255, 255, .082);
  --v70-line: rgba(255, 255, 255, .105);
  --v70-text: rgba(255, 255, 255, .94);
  --v70-muted: rgba(255, 255, 255, .54);
  --v70-gold: #f2c84b;
  --v70-gold-soft: #f2d891;
  --v70-blue-button: #112d5b;
}

/* 快捷入口使用参考源码里的原图，图标本身不套第二层黑框。 */
html body .phone-shell .quick-reference-icon {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0;
  place-items: center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html body .phone-shell .quick-reference-icon > img {
  display: block;
  width: 50px !important;
  height: 50px !important;
  max-width: none;
  object-fit: contain;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: saturate(1.06) contrast(1.04) drop-shadow(0 7px 11px rgba(0, 0, 0, .42)) !important;
}

html body .phone-shell .quick-item > span:last-child {
  margin: 0 !important;
  color: var(--v70-text) !important;
  -webkit-text-fill-color: var(--v70-text) !important;
  font-size: 15px !important;
  font-weight: 520 !important;
  line-height: 20px !important;
}

/* 热门恢复原站的窄竖卡比例；媒体厂商卡保留更宽比例。 */
html body .phone-shell .hot-row {
  height: 145px !important;
  gap: 8px !important;
}

html body .phone-shell .hot-card {
  width: min(24vw, 103px) !important;
  min-width: min(24vw, 103px) !important;
  height: 145px !important;
  flex: 0 0 min(24vw, 103px) !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: 0 7px 15px rgba(0, 0, 0, .30) !important;
}

html body .phone-shell .media-row {
  height: min(34.933vw, 150px) !important;
}

html body .phone-shell .media-card {
  width: min(34.933vw, 150px) !important;
  min-width: min(34.933vw, 150px) !important;
  height: min(34.933vw, 150px) !important;
  flex-basis: min(34.933vw, 150px) !important;
  border-radius: 8px !important;
}

/* 首页最近浏览始终存在；有记录展示真卡片，无记录展示明确空态。 */
html body .phone-shell .recent-home-section {
  min-height: 78px;
}

html body .phone-shell .title-badge.recent {
  border: 0 !important;
  background: rgba(111, 76, 225, .22) !important;
}

html body .phone-shell .title-badge.recent img {
  width: 19px;
  height: 19px;
}

html body .phone-shell .recent-home-row[hidden],
html body .phone-shell .recent-home-empty[hidden] {
  display: none !important;
}

html body .phone-shell .recent-home-empty {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 11px;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid var(--v70-line);
  border-radius: 12px;
  color: var(--v70-text);
  text-align: left;
  background: linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(4, 12, 30, .36));
  box-shadow: none;
}

html body .phone-shell .recent-home-empty > span {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #bda6ff;
  font-size: 23px;
  background: rgba(111, 76, 225, .16);
}

html body .phone-shell .recent-home-empty > strong {
  align-self: end;
  color: var(--v70-text);
  font-size: 14px;
  line-height: 19px;
}

html body .phone-shell .recent-home-empty > small {
  align-self: start;
  color: var(--v70-muted) !important;
  font-size: 11px;
  line-height: 17px;
}

/* 五个独立页面共用同一套标题栏和页面底色。 */
html body .phone-shell .detail-overlay[data-page-layout="task"],
html body .phone-shell .detail-overlay[data-page-layout="income"],
html body .phone-shell .detail-overlay:has(.detail-page[data-generic-layout="money"].active),
html body .phone-shell .detail-overlay:has(.detail-page[data-generic-layout="invite"].active) {
  background:
    radial-gradient(circle at 84% 2%, rgba(219, 177, 63, .09), transparent 21%),
    linear-gradient(160deg, #071a3a 0%, #050b18 47%, #02050b 100%) !important;
}

html body .phone-shell .detail-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 8px 15px !important;
  border: 0 !important;
  background: rgba(3, 8, 18, .66) !important;
  box-shadow: none !important;
}

html body .phone-shell .detail-topbar > h1 {
  color: #f7f7f5 !important;
  -webkit-text-fill-color: #f7f7f5 !important;
  font-size: 20px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

html body .phone-shell #detailOverlay .detail-topbar h1 {
  color: #f7f7f5 !important;
  -webkit-text-fill-color: #f7f7f5 !important;
  text-shadow: none !important;
}

html body .phone-shell .detail-back,
html body .phone-shell .detail-record-button {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 50% !important;
  color: rgba(255, 255, 255, .86) !important;
  background: rgba(255, 255, 255, .075) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08) !important;
}

html body .phone-shell .detail-record-button {
  top: 10px !important;
  right: 15px !important;
}

html body .phone-shell .detail-overlay,
html body .phone-shell .detail-page,
html body .phone-shell #genericContent,
html body .phone-shell .money-center,
html body .phone-shell .money-tab-panel,
html body .phone-shell .money-tabs {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

html body .phone-shell .detail-page[data-generic-layout="money"] .generic-hero,
html body .phone-shell .detail-page[data-generic-layout="task"] .generic-hero,
html body .phone-shell .detail-page[data-generic-layout="income"] .generic-hero,
html body .phone-shell .detail-page[data-generic-layout="invite"] .generic-hero {
  display: none !important;
}

html body .phone-shell .detail-page[data-generic-layout="money"] #genericContent,
html body .phone-shell .detail-page[data-generic-layout="task"] #genericContent,
html body .phone-shell .detail-page[data-generic-layout="income"] #genericContent,
html body .phone-shell .detail-page[data-generic-layout="invite"] #genericContent {
  padding: 14px 15px 30px !important;
}

/* 旧任务样式曾故意隐藏标题栏；v70 恢复标准独立页标题与返回键。 */
html body .phone-shell #detailOverlay[data-page-layout="task"] .detail-topbar {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: 38px 1fr 38px !important;
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 10px 15px !important;
  overflow: visible !important;
  pointer-events: auto !important;
  background: rgba(3, 8, 18, .92) !important;
}

html body .phone-shell #detailOverlay[data-page-layout="task"] .detail-topbar h1 {
  display: block !important;
  grid-column: 2;
  margin: 0 !important;
  color: #f7f7f5 !important;
  -webkit-text-fill-color: #f7f7f5 !important;
  font-size: 20px !important;
  font-weight: 650 !important;
  text-align: center;
}

html body .phone-shell #detailOverlay[data-page-layout="task"] .detail-back {
  position: static !important;
  grid-column: 1;
  width: 38px !important;
  height: 38px !important;
  padding: 0 0 2px !important;
  pointer-events: auto !important;
}

html body .phone-shell #detailOverlay[data-page-layout="task"] .detail-page[data-detail="generic"] {
  padding-top: 0 !important;
}

html body .phone-shell #detailOverlay[data-page-layout="task"] #genericContent {
  padding: 14px 15px 30px !important;
}

/* 充值/提现：导航、内容、说明三层，避免又方又厚。 */
html body .phone-shell .money-center {
  width: 100% !important;
  max-width: 398px !important;
  margin: 0 auto !important;
  padding: 0 0 28px !important;
}

html body .phone-shell .money-tabs {
  height: 43px !important;
  margin: 0 0 14px !important;
  padding: 3px !important;
  border: 1px solid var(--v70-line) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: none !important;
}

html body .phone-shell .money-tabs button {
  height: 35px !important;
  border: 0 !important;
  border-radius: 18px !important;
  color: var(--v70-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .money-tabs button.active {
  color: var(--v70-gold-soft) !important;
  background: var(--v70-blue-button) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .10) !important;
}

html body .phone-shell .recharge-wallet-card,
html body .phone-shell .withdraw-wallet-overview,
html body .phone-shell .withdraw-form-card,
html body .phone-shell .money-aba-panel {
  border: 1px solid var(--v70-line) !important;
  border-radius: 17px !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(242, 200, 75, .10), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, .068), rgba(5, 15, 36, .72)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24) !important;
}

html body .phone-shell .recharge-wallet-card {
  padding: 16px 15px 18px !important;
}

html body .phone-shell .recharge-wallet-card header,
html body .phone-shell .withdraw-wallet-overview {
  min-height: 48px;
}

html body .phone-shell .withdraw-wallet-overview {
  padding: 14px 15px 15px !important;
}

html body .phone-shell .withdraw-wallet-overview > header {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html body .phone-shell .withdraw-wallet-overview > header > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

html body .phone-shell .withdraw-wallet-overview > header strong {
  color: #f7f7f5 !important;
  font-size: 15px;
}

html body .phone-shell .withdraw-wallet-overview > header button {
  min-width: 26px;
  height: 26px;
  padding: 0 9px;
  border: 0 !important;
  border-radius: 13px !important;
  color: var(--v70-gold-soft) !important;
  background: rgba(255, 255, 255, .075) !important;
  box-shadow: none !important;
}

html body .phone-shell .withdraw-wallet-overview > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 13px;
}

html body .phone-shell .withdraw-wallet-overview > div > span {
  display: grid;
  gap: 5px;
  text-align: center;
}

html body .phone-shell .withdraw-wallet-overview > div > span + span {
  border-left: 1px solid rgba(255, 255, 255, .10);
}

html body .phone-shell .withdraw-wallet-overview small {
  color: rgba(255, 255, 255, .56) !important;
  font-size: 11px;
}

html body .phone-shell .withdraw-wallet-overview > div strong {
  color: #24e78d !important;
  font-size: 16px;
}

html body .phone-shell .recharge-wallet-card h2,
html body .phone-shell .withdraw-form-card label > span {
  color: var(--v70-text) !important;
}

html body .phone-shell .recharge-wallet-card code {
  display: block !important;
  width: 100% !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 11px !important;
  color: var(--v70-gold-soft) !important;
  font-size: 12px !important;
  line-height: 19px !important;
  overflow-wrap: anywhere;
  background: rgba(0, 0, 0, .22) !important;
}

html body .phone-shell .demo-qr {
  width: 176px !important;
  height: 176px !important;
  margin: 15px auto 12px !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .32) !important;
}

html body .phone-shell .recharge-copy-action,
html body .phone-shell .generic-action {
  min-height: 44px !important;
  border: 1px solid rgba(242, 216, 145, .20) !important;
  border-radius: 22px !important;
  color: var(--v70-gold-soft) !important;
  background: var(--v70-blue-button) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .10) !important;
}

html body .phone-shell .withdraw-form-card {
  margin-top: 12px !important;
  padding: 15px !important;
}

html body .phone-shell .money-input {
  min-height: 47px !important;
  border: 1px solid rgba(255, 255, 255, .105) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, .20) !important;
  box-shadow: none !important;
}

html body .phone-shell .money-input input {
  color: var(--v70-text) !important;
}

html body .phone-shell .money-rules {
  margin-top: 14px !important;
  padding: 14px 15px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .038) !important;
  box-shadow: none !important;
}

html body .phone-shell .money-rules li {
  color: var(--v70-muted) !important;
  line-height: 1.58 !important;
}

/* 任务/收入：保留参考源码的卡片结构，去掉后期叠出来的厚框。 */
html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-card {
  border: 1px solid var(--v70-line) !important;
  border-radius: 15px !important;
  background:
    radial-gradient(circle at 94% 100%, rgba(83, 63, 123, .19), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .066), rgba(9, 8, 17, .72)) !important;
  box-shadow: 0 12px 27px rgba(0, 0, 0, .25) !important;
}

html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card .top_box {
  min-height: 80px !important;
  padding: 12px 14px !important;
  border-bottom: 0 !important;
  background: rgba(0, 0, 0, .16) !important;
}

html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card .bottom_box {
  padding: 12px 14px 14px !important;
  background: rgba(255, 255, 255, .025) !important;
}

html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card .title,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-card-head > strong,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-settlement-head > strong {
  color: var(--v70-text) !important;
  -webkit-text-fill-color: var(--v70-text) !important;
}

html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card .des,
html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card .txt {
  color: var(--v70-muted) !important;
  -webkit-text-fill-color: var(--v70-muted) !important;
}

html body .phone-shell .detail-page[data-generic-layout="task"] .jb-task-card .circle span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .24) !important;
}

html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-card {
  padding: 18px 16px !important;
}

html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-stat-grid > span {
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: none !important;
}

html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-card-head > strong,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-settlement-head > strong,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-rows button > span,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-invite-link strong,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-other-share > span {
  color: #f7f7f5 !important;
  -webkit-text-fill-color: #f7f7f5 !important;
}

html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-card-head > span,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-settlement-head > button,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-other-share > button {
  color: #16b8e8 !important;
  -webkit-text-fill-color: #16b8e8 !important;
}

html body .phone-shell .detail-page[data-generic-layout="income"] .income-royal-stat-grid small,
html body .phone-shell .detail-page[data-generic-layout="income"] .income-invite-link small {
  color: rgba(255, 255, 255, .58) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .58) !important;
}

/* 邀请好友：复原参考源码的一体插画 + 四个分享条 + 两项数据。 */
html body .phone-shell .invite-rebate-title {
  width: 100%;
  padding: 5px 9px 0;
  color: var(--v70-text);
  -webkit-text-fill-color: var(--v70-text) !important;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.45;
}

html body .phone-shell .invite-rebate-title em {
  color: #18df8c !important;
  -webkit-text-fill-color: #18df8c !important;
  font-style: normal;
}

html body .phone-shell .invite-source-card {
  width: min(78.667vw, 337px);
  min-height: min(92.267vw, 395px);
  margin: -20px auto 0;
  padding: min(49.067vw, 210px) min(10.667vw, 46px) 14px;
  border: 0 !important;
  background: url('./original/img/img_邀请好友.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
}

html body .phone-shell .invite-source-card > h3 {
  margin: 9px 0 8px;
  color: var(--v70-text) !important;
  -webkit-text-fill-color: var(--v70-text) !important;
  font-size: 14px;
  font-weight: 650;
}

html body .phone-shell .invite-source-card .invite-share-panel {
  display: grid !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .invite-source-card .invite-share-panel button {
  min-height: 51px !important;
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 0 15px !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: var(--v70-text) !important;
  background: rgba(241, 229, 255, .12) !important;
  box-shadow: none !important;
}

html body .phone-shell .invite-source-card .invite-share-panel button > i {
  width: 30px !important;
  height: 30px !important;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
}

html body .phone-shell .invite-source-card .invite-share-panel button > i svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

html body .phone-shell .invite-source-card .invite-share-panel button > span {
  color: var(--v70-text) !important;
  -webkit-text-fill-color: var(--v70-text) !important;
  font-size: 15px;
  font-weight: 620;
}

html body .phone-shell .detail-page[data-generic-layout="invite"] .invite-stat-grid {
  width: calc(100% - 10px) !important;
  min-height: 102px !important;
  display: grid !important;
  grid-template-columns: 1fr 1px 1fr !important;
  align-items: center !important;
  margin: 8px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: rgba(241, 229, 255, .095) !important;
  box-shadow: none !important;
}

html body .phone-shell .detail-page[data-generic-layout="invite"] .invite-stat-grid > i {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, .16);
}

html body .phone-shell .detail-page[data-generic-layout="invite"] .invite-stat-grid article {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  border: 0 !important;
  background: transparent !important;
}

html body .phone-shell .detail-page[data-generic-layout="invite"] .invite-stat-grid strong {
  color: var(--v70-text) !important;
  -webkit-text-fill-color: var(--v70-text) !important;
  font-size: 21px !important;
}

html body .phone-shell .detail-page[data-generic-layout="invite"] .invite-stat-grid small {
  color: rgba(255, 255, 255, .62) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .62) !important;
  font-size: 13px !important;
}

html::after {
  content: "SF_UI_LOCK_v71_agent_center_visible" !important;
}

/* v71 · 代理中心固定显示在“我的”首屏快捷区，避免入口藏在长列表下方。 */
html body .phone-shell .mine-menu-grid .mine-agent-entry i {
  color: #ffe59a !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, .28), transparent 32%),
    linear-gradient(145deg, rgba(209, 157, 58, .38), rgba(16, 59, 118, .56)) !important;
}

html body .phone-shell .mine-menu-grid .mine-agent-entry i svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .phone-shell .mine-menu-grid .mine-agent-entry span {
  color: #ffe7a3 !important;
  -webkit-text-fill-color: #ffe7a3 !important;
  font-weight: 720 !important;
}

@media (max-width: 360px) {
  html body .phone-shell .invite-source-card {
    padding-top: 172px;
  }

  html body .phone-shell .invite-source-card .invite-share-panel button {
    min-height: 46px !important;
  }
}

/* v72 · 对齐参考站的信息密度与交互节奏，保留“环球包网”原创蓝金视觉。 */
html::after {
  content: "SF_UI_LOCK_v75_direct_game_entry" !important;
}

html body .phone-shell #recentHomeSection {
  display: none !important;
}

html body .phone-shell .home-content {
  background:
    radial-gradient(circle at 94% 0%, rgba(36, 116, 149, .08), transparent 26%),
    linear-gradient(180deg, rgba(2, 12, 24, .05), rgba(2, 8, 18, .26)) !important;
}

html body .phone-shell .notice {
  overflow: hidden !important;
  border-color: rgba(112, 207, 220, .12) !important;
  background: rgba(4, 20, 36, .86) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035) !important;
}

html body .phone-shell .notice > div {
  min-width: 0 !important;
  overflow: hidden !important;
}

html body .phone-shell .notice > div > b {
  width: max-content !important;
  display: inline-block !important;
  white-space: nowrap !important;
  padding-left: 100% !important;
  color: rgba(229, 239, 241, .78) !important;
  -webkit-text-fill-color: rgba(229, 239, 241, .78) !important;
  animation: v72-notice-marquee 28s linear infinite !important;
  will-change: transform !important;
}

@keyframes v72-notice-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

html body .phone-shell .notice > button {
  flex: 0 0 auto !important;
  color: #efd795 !important;
  -webkit-text-fill-color: #efd795 !important;
}

html body .phone-shell .category-strip {
  min-height: 67px !important;
  padding: 5px 7px 3px !important;
  border-color: rgba(111, 211, 211, .11) !important;
  border-radius: 11px !important;
  background: rgba(4, 20, 36, .74) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035) !important;
}

html body .phone-shell .category {
  min-width: 55px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: rgba(215, 229, 233, .57) !important;
  -webkit-text-fill-color: rgba(215, 229, 233, .57) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .category.active {
  color: #f0d58d !important;
  -webkit-text-fill-color: #f0d58d !important;
  background: linear-gradient(180deg, rgba(36, 93, 107, .34), rgba(7, 39, 59, .18)) !important;
  box-shadow: inset 0 -2px rgba(226, 190, 98, .78) !important;
}

html body .phone-shell .category img,
html body .phone-shell .category .home-tab-icon {
  width: 26px !important;
  height: 26px !important;
  opacity: .76 !important;
}

html body .phone-shell .category.active img,
html body .phone-shell .category.active .home-tab-icon {
  opacity: 1 !important;
}

html body .phone-shell .lobby-section {
  margin-top: 13px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .section-title {
  min-height: 32px !important;
  gap: 7px !important;
}

html body .phone-shell .section-title strong {
  color: rgba(244, 246, 241, .91) !important;
  -webkit-text-fill-color: rgba(244, 246, 241, .91) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
}

html body .phone-shell .section-nav-buttons button {
  border-color: rgba(113, 211, 208, .12) !important;
  color: rgba(228, 238, 238, .56) !important;
  background: rgba(6, 28, 47, .76) !important;
  box-shadow: none !important;
}

html body .phone-shell .horizontal-row {
  width: calc(100% + 11px) !important;
  margin-right: -11px !important;
  padding-right: 30px !important;
  scroll-padding-inline: 0 30px !important;
}

html body .phone-shell .hot-row {
  height: 140px !important;
  gap: 7px !important;
}

html body .phone-shell .hot-card {
  width: clamp(76px, 20.2vw, 87px) !important;
  min-width: clamp(76px, 20.2vw, 87px) !important;
  height: 140px !important;
  flex: 0 0 clamp(76px, 20.2vw, 87px) !important;
  border-radius: 8px !important;
  box-shadow: 0 7px 16px rgba(0, 4, 14, .34) !important;
}

html body .phone-shell .media-row {
  height: clamp(112px, 29.4vw, 126px) !important;
  gap: 8px !important;
}

html body .phone-shell .media-card {
  width: clamp(112px, 29.4vw, 126px) !important;
  min-width: clamp(112px, 29.4vw, 126px) !important;
  height: clamp(112px, 29.4vw, 126px) !important;
  flex: 0 0 clamp(112px, 29.4vw, 126px) !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #07182a !important;
  box-shadow: 0 8px 18px rgba(0, 4, 14, .30) !important;
}

html body .phone-shell .hot-card img,
html body .phone-shell .media-card img {
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), filter 140ms ease !important;
}

html body .phone-shell .activity-list {
  gap: 10px !important;
  padding: 7px 10px 91px !important;
}

html body .phone-shell .activity-list .activity-card,
html body .phone-shell .activity-list .activity-card.gpt-activity {
  border-color: rgba(104, 211, 207, .13) !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 8px 19px rgba(0, 4, 16, .29) !important;
}

html body .phone-shell .activity-list .activity-card .activity-copy > b {
  height: 21px !important;
  border-radius: 7px !important;
  background: rgba(7, 43, 64, .76) !important;
  box-shadow: none !important;
}

html body .phone-shell .bottom-nav {
  height: 59px !important;
  min-height: 59px !important;
  padding: 3px 7px calc(3px + env(safe-area-inset-bottom)) !important;
  border-color: rgba(109, 211, 207, .12) !important;
  background: rgba(3, 17, 31, .975) !important;
  box-shadow: 0 -8px 24px rgba(0, 5, 15, .28), inset 0 1px rgba(255, 255, 255, .035) !important;
  backdrop-filter: blur(15px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(120%) !important;
}

html body .phone-shell .bottom-nav button {
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: rgba(211, 227, 230, .52) !important;
  -webkit-text-fill-color: rgba(211, 227, 230, .52) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .bottom-nav button.active {
  color: #efd58c !important;
  -webkit-text-fill-color: #efd58c !important;
  background: linear-gradient(180deg, rgba(37, 100, 110, .20), rgba(6, 35, 53, .08)) !important;
  box-shadow: inset 0 -2px rgba(223, 185, 89, .74) !important;
}

html body .member-auth-layer {
  padding: 17px !important;
  background: rgba(1, 7, 15, .82) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
}

html body .member-auth-card {
  position: relative !important;
  width: min(342px, calc(100vw - 34px)) !important;
  overflow: visible !important;
  padding: 24px 21px 18px !important;
  border: 1px solid rgba(101, 211, 205, .18) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(54, 181, 177, .13), transparent 31%),
    radial-gradient(circle at 12% 0%, rgba(205, 160, 61, .09), transparent 28%),
    linear-gradient(155deg, #09213a, #041325 56%, #020b16) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 30px 78px rgba(0, 4, 14, .66) !important;
}

html body .member-auth-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 3 !important;
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(121, 210, 211, .13) !important;
  border-radius: 50% !important;
  color: rgba(231, 240, 241, .66) !important;
  -webkit-text-fill-color: rgba(231, 240, 241, .66) !important;
  background: rgba(2, 13, 25, .62) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

html body .member-auth-card > header {
  margin-bottom: 10px !important;
}

html body .member-auth-card > header strong {
  color: #f0d795 !important;
  -webkit-text-fill-color: #f0d795 !important;
}

html body .member-auth-welcome {
  display: block !important;
  margin: 0 0 14px !important;
  color: rgba(219, 235, 237, .58) !important;
  -webkit-text-fill-color: rgba(219, 235, 237, .58) !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
}

html body .member-auth-card > nav {
  height: 40px !important;
  border: 1px solid rgba(103, 209, 207, .10) !important;
  background: rgba(2, 15, 28, .62) !important;
}

html body .member-auth-card > nav button.active {
  color: #f0d795 !important;
  -webkit-text-fill-color: #f0d795 !important;
  background: linear-gradient(135deg, rgba(31, 108, 117, .54), rgba(9, 48, 71, .70)) !important;
  box-shadow: inset 0 0 0 1px rgba(94, 215, 207, .12) !important;
}

html body .member-auth-card label {
  color: rgba(226, 237, 239, .68) !important;
  -webkit-text-fill-color: rgba(226, 237, 239, .68) !important;
}

html body .member-auth-card input {
  border-color: rgba(102, 210, 207, .15) !important;
  color: #f5f7f2 !important;
  -webkit-text-fill-color: #f5f7f2 !important;
  background: rgba(1, 10, 20, .57) !important;
}

html body .member-auth-card input:focus {
  border-color: rgba(99, 217, 209, .48) !important;
  box-shadow: 0 0 0 3px rgba(67, 215, 200, .08) !important;
}

html body .member-auth-card form > button {
  color: #f8e9b6 !important;
  -webkit-text-fill-color: #f8e9b6 !important;
  background: linear-gradient(135deg, #15727d, #0b4c68 58%, #173f62) !important;
  border-color: rgba(111, 221, 212, .24) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 9px 20px rgba(0, 7, 17, .25) !important;
}

html body .member-auth-options {
  min-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body .member-auth-options label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 10px !important;
}

html body .member-auth-options input {
  width: 14px !important;
  height: 14px !important;
  accent-color: #d8b861 !important;
}

html body .member-auth-options button {
  padding: 4px 0 !important;
  border: 0 !important;
  color: #e7ce8a !important;
  -webkit-text-fill-color: #e7ce8a !important;
  background: transparent !important;
  font-size: 10px !important;
}

html body .member-auth-social {
  display: grid !important;
  gap: 10px !important;
  margin-top: 15px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(106, 207, 207, .10) !important;
  text-align: center !important;
}

html body .member-auth-social > span {
  color: rgba(215, 230, 232, .46) !important;
  -webkit-text-fill-color: rgba(215, 230, 232, .46) !important;
  font-size: 9px !important;
}

html body .member-auth-social > div {
  display: flex !important;
  justify-content: center !important;
  gap: 14px !important;
}

html body .member-auth-social button {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 50% !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #2aabee !important;
  box-shadow: 0 7px 17px rgba(0, 4, 14, .24) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

html body .member-auth-social button[data-auth-social="facebook"] {
  background: #1877f2 !important;
}

html body .member-auth-social button[data-auth-social="google"] {
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  background: #fff !important;
}

html body .member-auth-card > footer {
  margin-top: 12px !important;
  color: rgba(213, 228, 230, .35) !important;
  -webkit-text-fill-color: rgba(213, 228, 230, .35) !important;
}

html body button:active,
html body [role="button"]:active,
html body .clickable:active {
  transform: translateY(.5px) scale(.995) !important;
  filter: brightness(1.07) saturate(1.02) !important;
  transition-duration: 32ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html body .phone-shell .notice > div > b {
    width: auto !important;
    padding-left: 0 !important;
    animation: none !important;
  }
}

/* v74 · 游戏卡片只做横向滑动，禁止手势带动页面上下位移。 */
html body .phone-shell .hot-row,
html body .phone-shell .media-row,
html body .phone-shell .horizontal-row {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  touch-action: pan-x !important;
  overscroll-behavior-x: contain !important;
  overscroll-behavior-y: none !important;
}

html body .phone-shell .horizontal-row > * {
  touch-action: pan-x !important;
}

html body .phone-shell .horizontal-row .hot-card:active,
html body .phone-shell .horizontal-row .media-card:active,
html body .phone-shell .horizontal-row .source-card:active,
html body .phone-shell .horizontal-row .clickable:active {
  transform: none !important;
}
