:root {
  --rebate-pink: #d91460;
  --rebate-pink-dark: #ad0d48;
  --rebate-pink-soft: #fff0f6;
  --rebate-gold: #ffb02e;
  --rebate-text: #1e0025;
  --rebate-muted: #66545d;
  --rebate-line: #f0e8ec;
}

body.activity-page[data-activity-key="rebate"] {
  color: var(--rebate-text);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body.activity-page[data-activity-key="rebate"] .activity-shell {
  width: 100%;
  padding: 0;
}

body.activity-page[data-activity-key="rebate"] .activity-shell > .activity-hero,
body.activity-page[data-activity-key="rebate"] .activity-shell > .activity-grid,
body.activity-page[data-activity-key="rebate"] .activity-shell > .activity-detail,
body.activity-page[data-activity-key="rebate"] .activity-shell > #activity-assets {
  display: none !important;
}

.rebate-experience {
  position: relative;
  box-sizing: border-box;
  min-height: 917px;
  padding-bottom: 48px;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.rebate-experience::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 391px;
  background: #ff9cc4 url("/static/images/figma-rebate/7f4052b7b05cf37155ee7ff7cabd1a36f851ca39.png") center top / max(100%, 1920px) auto no-repeat;
}

.rebate-experience > * {
  position: relative;
  z-index: 1;
}

.rebate-mobile-header { display: none; }

.rebate-experience > .activity-desktop-breadcrumb {
  --activity-desktop-breadcrumb-color: #fff;
  position: absolute;
  z-index: 3;
  top: 32px;
  left: max(24px, calc((100% - 1200px) / 2));
}

.rebate-experience > .lucky-rule-tab {
  display: none;
}

.rebate-experience > .activity-assets-bar {
  position: absolute;
  z-index: 4;
  top: 124px;
  left: max(24px, calc((100% - 1200px) / 2 + 40px));
  transform: none;
}

.rebate-hero {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  height: 339px;
  margin: 96px auto 0;
  overflow: hidden;
}

.rebate-hero::before {
  content: "";
  position: absolute;
  top: -86px;
  right: -88px;
  width: 776px;
  height: 437px;
  background: url("/static/images/figma-rebate/889dd98ca7713c30ba8dde07c56ac50fbc0a9acf.png") center / contain no-repeat;
  pointer-events: none;
}

.rebate-hero::after { display: none; }

.rebate-hero__copy {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 577px;
  height: 339px;
  text-align: center;
}

.rebate-hero__copy h2 {
  width: 577px;
  height: 339px;
  margin: 0;
  overflow: hidden;
  background: url("/static/images/figma-rebate/45402-12354.png") center / 100% 100% no-repeat;
  clip-path: inset(0);
  color: transparent;
  text-indent: -9999px;
}

.rebate-hero__copy button,
.rebate-invite-sheet__actions button {
  min-height: 38px;
  padding: 0 24px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #cf145a, var(--rebate-pink-dark));
  box-shadow: 0 8px 18px rgba(220, 20, 95, .22);
  font-weight: 600;
  cursor: pointer;
}

.rebate-hero__copy button { margin-top: 18px; }

.rebate-hero__copy .rebate-hero__invite {
  position: absolute;
  top: 262px;
  left: 79px;
  display: grid;
  width: 407px;
  min-height: 60px;
  margin: 0;
  padding: 7px 12px;
  grid-template-columns: 47px minmax(0, 1fr) 102px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, #fc5b80, #fc5464);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .4);
  text-align: left;
}

.rebate-hero__invite > i {
  display: grid;
  width: 47px;
  height: 46px;
  place-items: center;
}
.rebate-hero__invite > i img { width: 47px; height: 46px; object-fit: contain; }

.rebate-hero__invite > span { display: flex; min-width: 0; flex-direction: column; }
.rebate-hero__invite > span strong { color: #fff; font-size: 16px; font-weight: 500; line-height: 22px; }
.rebate-hero__invite > span small { color: #fff; font-size: 14px; line-height: 20px; white-space: nowrap; }
.rebate-hero__invite > b {
  display: grid;
  height: 40px;
  place-items: center;
  color: #d72f00;
  border-radius: 100px;
  background: linear-gradient(180deg, #fedb89, #fed96a);
  box-shadow: inset -1px -1px 1px #fca542, inset 1.5px 1.75px 4px #ffe9af;
  font-size: 16px;
  font-weight: 500;
}
.rebate-hero__invite:disabled { cursor: wait; opacity: 1; }
.rebate-hero__invite:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.rebate-dashboard {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  margin: 24px auto 0;
  grid-template-columns: minmax(0, 598fr) minmax(0, 590fr);
  gap: 12px;
}

.rebate-card {
  overflow: hidden;
  color: var(--rebate-text);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff 58%, #fff1f7);
  box-shadow: 0 0 8px rgba(250, 202, 255, .6);
}

.rebate-card h2 {
  position: relative;
  margin: 0;
  height: 28px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 28px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  text-align: center;
}

.rebate-income h2 { background-image: url("/static/images/figma-rebate/45406-12572.png"); }
.rebate-team h2 { background-image: url("/static/images/figma-rebate/45406-12595.png"); }

.rebate-income { height: 158px; padding: 12px 16px 16px; }
.rebate-income > div { display: grid; margin-top: 16px; grid-template-columns: 1fr 1px 1fr; align-items: stretch; }
.rebate-income p { display: flex; margin: 0; flex-direction: column; }
.rebate-income p + p { padding-left: 0; }
.rebate-income span { color: var(--rebate-muted); font-size: 14px; line-height: 20px; }
.rebate-income strong { color: #24111b; font: 700 20px/28px DIN, Arial, sans-serif; }
.rebate-income small { color: var(--rebate-muted); font-size: 12px; line-height: 18px; }
.rebate-income i { width: 1px; background: var(--rebate-line); }

.rebate-team { height: 158px; padding: 12px; }
.rebate-team__heading { display: flex; margin-top: 10px; align-items: center; justify-content: space-between; }
.rebate-team__heading strong { font-size: 14px; line-height: 20px; }
.rebate-team__heading button,
.rebate-records header button {
  padding: 3px 0;
  color: var(--rebate-muted);
  border: 0;
  background: none;
  font-size: 12px;
  cursor: pointer;
}
.rebate-team__heading span,
.rebate-records header span { font-size: 18px; vertical-align: -1px; }

.rebate-team__levels { display: grid; height: 64px; margin-top: 10px; overflow: hidden; grid-template-columns: repeat(3, 1fr); border-radius: 12px; background: #f7f7f7; }
.rebate-team__levels button {
  display: flex;
  min-width: 0;
  padding: 8px 10px 6px;
  flex-direction: column;
  align-items: center;
  color: var(--rebate-text);
  border: 0;
  border-right: 1px solid var(--rebate-line);
  background: none;
  text-align: center;
  cursor: pointer;
}
.rebate-team__levels button:last-child { border-right: 0; }
.rebate-team__levels span { color: #0008; font-size: 12px; line-height: 18px; white-space: nowrap; }
.rebate-team__levels strong { color: #ff1678; font: 700 18px/24px DIN, Arial, sans-serif; }

.rebate-records { grid-column: 1 / -1; min-height: 240px; padding: 13px 24px 20px; }
.rebate-records header { display: flex; align-items: center; justify-content: space-between; }
.rebate-records header h2 { flex: 1; height: 22px; background: none; color: #1e0025; font-size: 14px; line-height: 20px; text-align: left; text-indent: 0; }
.rebate-records__list { display: grid; margin-top: 12px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rebate-records__list[hidden] { display: none; }

@media (min-width: 769px) and (max-width: 1247px) {
  .rebate-hero,
  .rebate-dashboard { width: calc(100% - 48px); }
  .rebate-experience > .activity-assets-bar { left: 64px; }
  .rebate-hero::before { right: -12%; }
}

.rebate-overview__record,
.rebate-list-row {
  display: grid;
  min-width: 0;
  min-height: 56px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-rows: 22px 18px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--rebate-line);
}

.rebate-list-row__avatar {
  width: 36px;
  height: 36px;
  grid-row: 1 / 3;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd3e5, #ff88b7);
  object-fit: cover;
}

.rebate-list-row strong { overflow: hidden; color: #2a1720; font-size: 14px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.rebate-list-row small { color: var(--rebate-muted); font-size: 12px; line-height: 18px; }
.rebate-list-row__amount { grid-column: 3; grid-row: 1 / 3; color: var(--rebate-pink-dark); font-size: 15px; font-weight: 600; text-align: right; }
.rebate-list-row__amount > strong { overflow: visible; color: inherit; font: inherit; text-overflow: clip; }
.rebate-list-row__amount small { display: block; color: var(--rebate-muted); font-weight: 400; }
.rebate-list-row__yuan { display: none; font-style: normal; font-weight: 400; }
.rebate-list-row--team .rebate-list-row__amount { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rebate-list-row--team .rebate-list-row__amount small { display: inline; color: #3f3338; font-size: 12px; }
.rebate-empty { margin: 54px 0 0; color: var(--rebate-muted); font-size: 13px; text-align: center; }
.rebate-mobile-invite { display: none; }

.rebate-records { padding: 16px 12px 8px; border: 0; background: #fff; }
.rebate-records header h2 { color: #000000e5; font-size: 16px; font-weight: 500; line-height: 22px; }
.rebate-records header button { padding: 0; color: #0000008c; font-size: 14px; line-height: 20px; }
.rebate-records__list .rebate-list-row--record {
  min-height: 53px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  grid-template-rows: 20px 20px;
  column-gap: 12px;
  row-gap: 4px;
  padding: 4px 0;
  border-bottom-color: #0000000d;
}
.rebate-records__list .rebate-list-row--record:last-child { min-height: 52px; border-bottom: 0; }
.rebate-list-row--record > strong { grid-column: 2; grid-row: 1; color: #000000e5; font-weight: 500; }
.rebate-list-row--record > small { grid-column: 2; grid-row: 2; overflow: hidden; color: #0000008c; text-overflow: ellipsis; white-space: nowrap; }
.rebate-records__list .rebate-list-row--record > small { font-size: 14px; line-height: 20px; }
.rebate-list-row--record .rebate-list-row__amount { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: #f81e7b; font-size: 16px; font-weight: 500; line-height: 22px; white-space: nowrap; }
.rebate-list-row--record .rebate-list-row__amount small { display: inline; color: #000000e5; font-size: 14px; line-height: 20px; }

@media (min-width: 769px) {
  .rebate-experience { background: #fafafa; }
  .rebate-income, .rebate-team { background: linear-gradient(180deg, #ff75ab4d, #ffffff00 42.086%), #fff; }
  .rebate-income > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rebate-income i { display: none; }
  .rebate-income span { margin-bottom: 12px; color: #0000008c; }
  .rebate-income strong { color: #000000e5; }
  .rebate-income small { color: #0000008c; font-size: 14px; line-height: 20px; }
  .rebate-team__heading { margin-top: 8px; }
  .rebate-team__heading strong { color: #000000e5; font-size: 16px; font-weight: 500; line-height: 22px; }
  .rebate-team__heading button { padding: 0; color: #0000008c; font-size: 14px; line-height: 20px; }
  .rebate-team__levels button { border-right: 0; }
  .rebate-team__levels span { font-size: 14px; line-height: 20px; }
}

.rebate-sheet {
  width: 440px;
  max-width: calc(100vw - 48px);
  max-height: min(592px, calc(100vh - 80px));
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--rebate-text);
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.rebate-sheet::backdrop { background: rgba(0, 0, 0, .64); backdrop-filter: blur(6px); }
.rebate-sheet > header { display: grid; height: 56px; grid-template-columns: 44px 1fr 44px; align-items: center; border-bottom: 1px solid var(--rebate-line); }
.rebate-sheet > header h2 { margin: 0; font-size: 18px; line-height: 24px; text-align: center; }
.rebate-sheet > header button { display: block; visibility: hidden; border: 0; background: none; font-size: 28px; }
.rebate-team-sheet { width: 388px; height: 468px; }
.rebate-record-sheet { width: 388px; height: 356px; }
.rebate-team-sheet > header,
.rebate-record-sheet > header { height: 64px; border-bottom: 0; }
.rebate-sheet > nav { display: grid; height: 48px; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rebate-line); }
.rebate-sheet > nav button { position: relative; padding: 0 0 10px; color: #777078; border: 0; background: none; font-size: 13px; cursor: pointer; }
.rebate-sheet > nav button span { color: #777078; font-weight: 400; }
.rebate-sheet > nav button[aria-pressed="true"] { color: #2a1720; font-weight: 500; }
.rebate-sheet > nav button[aria-pressed="true"]::after { content: ""; position: absolute; bottom: 8px; left: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--rebate-pink); transform: translateX(-50%); }
.rebate-sheet__list { max-height: 356px; padding: 0 22px 16px; overflow: auto; scrollbar-color: #d8d8d8 transparent; scrollbar-width: thin; }
.rebate-record-sheet .rebate-sheet__list { max-height: 292px; }
.rebate-sheet__list .rebate-list-row { min-height: 67px; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-rows: 22px 18px; padding: 7px 0; }
.rebate-sheet__list .rebate-list-row__avatar { width: 34px; height: 34px; }
.rebate-sheet__list::-webkit-scrollbar { width: 3px; }
.rebate-sheet__list::-webkit-scrollbar-thumb { border-radius: 3px; background: #d8d8d8; }
.rebate-sheet__empty { margin: 70px 0; color: var(--rebate-muted); font-size: 13px; text-align: center; }
.rebate-sheet__outside-close { position: absolute; top: auto; right: auto; bottom: -52px; left: calc(50% - 14px); width: 28px; height: 28px; padding: 0 0 2px; color: #fff; border: 1.5px solid rgba(255,255,255,.92); border-radius: 50%; background: rgba(0,0,0,.14); font-size: 20px; line-height: 24px; cursor: pointer; }

@media (min-width: 769px) {
  .rebate-team-sheet,
  .rebate-record-sheet {
    position: fixed;
    right: 0;
    bottom: auto;
    left: 0;
    width: 440px;
    max-width: calc(100vw - 48px);
    overflow: visible;
    color: rgba(0, 0, 0, .9);
    border-radius: 12px;
    box-shadow: none;
  }

  .rebate-team-sheet { top: max(24px, calc(50% - 371px)); height: 532px; }
  .rebate-record-sheet { top: max(24px, calc(50% - 307.5px)); height: 405px; }
  .rebate-team-sheet:focus,
  .rebate-record-sheet:focus { outline: none; }

  .rebate-team-sheet > header,
  .rebate-record-sheet > header {
    box-sizing: border-box;
    display: grid;
    height: 72px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: start;
    border-bottom: 0;
  }

  .rebate-record-sheet > header { border-bottom: 1px solid rgba(0, 0, 0, .05); }

  .rebate-team-sheet > header h2,
  .rebate-record-sheet > header h2 {
    box-sizing: border-box;
    height: 60px;
    padding-top: 32px;
    color: rgba(0, 0, 0, .9);
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
  }

  .rebate-team-sheet > nav {
    position: relative;
    box-sizing: border-box;
    display: flex;
    width: auto;
    height: 53px;
    margin: 0 24px;
    padding: 0 0 12px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    overflow: visible;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
  }

  .rebate-team-sheet > nav button {
    position: relative;
    box-sizing: border-box;
    display: flex;
    width: auto;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, .55);
    border: 0;
    background: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;
  }

  .rebate-team-sheet > nav button span { color: inherit; font-weight: inherit; }
  .rebate-team-sheet > nav button[aria-pressed="true"] { color: #292929; font-weight: 500; }
  .rebate-team-sheet > nav button[aria-pressed="true"]::after {
    bottom: 0;
    width: 16px;
    height: 3px;
    border-radius: 12px;
    background: #f21184;
  }

  .rebate-team-sheet .rebate-sheet__list,
  .rebate-record-sheet .rebate-sheet__list {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(0, 0, 0, .1) transparent;
    scrollbar-width: thin;
  }

  .rebate-team-sheet .rebate-sheet__list {
    height: 372px;
    max-height: 372px;
    margin-top: 11px;
    padding-bottom: 0;
  }

  .rebate-record-sheet .rebate-sheet__list {
    height: 297px;
    max-height: 297px;
    margin-top: 12px;
    padding-bottom: 0;
  }

  .rebate-team-sheet .rebate-sheet__list .rebate-list-row,
  .rebate-record-sheet .rebate-sheet__list .rebate-list-row {
    box-sizing: border-box;
    width: 100%;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    grid-template-rows: 20px 20px;
    column-gap: 12px;
    row-gap: 4px;
    border-bottom-color: rgba(0, 0, 0, .05);
  }

  .rebate-team-sheet .rebate-sheet__list .rebate-list-row {
    min-height: 68px;
    flex: 0 0 68px;
    padding: 12px 0;
  }

  .rebate-record-sheet .rebate-sheet__list .rebate-list-row {
    min-height: 53px;
    flex: 0 0 53px;
    padding: 4px 0;
  }

  .rebate-team-sheet .rebate-sheet__list .rebate-list-row__avatar,
  .rebate-record-sheet .rebate-sheet__list .rebate-list-row__avatar { width: 36px; height: 36px; }

  .rebate-team-sheet .rebate-list-row > strong,
  .rebate-record-sheet .rebate-list-row > strong {
    color: rgba(0, 0, 0, .9);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }

  .rebate-team-sheet .rebate-list-row > small,
  .rebate-record-sheet .rebate-list-row > small {
    color: rgba(0, 0, 0, .55);
    font-size: 14px;
    line-height: 20px;
  }

  .rebate-team-sheet .rebate-list-row__amount {
    color: #f81e7b;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
  }

  .rebate-team-sheet .rebate-list-row__amount small {
    color: rgba(0, 0, 0, .9);
    font-size: 14px;
    line-height: 20px;
  }

  .rebate-record-sheet .rebate-list-row__amount {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 22px 20px;
    align-items: center;
    justify-content: end;
    column-gap: 4px;
    color: #f81e7b;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
  }

  .rebate-record-sheet .rebate-list-row__amount > strong { grid-column: 1; grid-row: 1; }
  .rebate-record-sheet .rebate-list-row__amount > small {
    display: block;
    grid-column: 2;
    grid-row: 1;
    color: rgba(0, 0, 0, .9);
    font-size: 14px;
    line-height: 20px;
  }

  .rebate-record-sheet .rebate-list-row__yuan {
    display: block;
    grid-column: 1 / 3;
    grid-row: 2;
    color: rgba(0, 0, 0, .35);
    font-size: 14px;
    line-height: 20px;
    text-align: right;
  }

  .rebate-team-sheet .rebate-sheet__empty,
  .rebate-record-sheet .rebate-sheet__empty {
    position: absolute;
    right: 24px;
    left: 24px;
    margin: 0;
    color: rgba(0, 0, 0, .55);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .rebate-team-sheet .rebate-sheet__empty { top: 306px; }
  .rebate-record-sheet .rebate-sheet__empty { top: 222px; }

  .rebate-team-sheet .rebate-sheet__outside-close,
  .rebate-record-sheet .rebate-sheet__outside-close {
    bottom: -60px;
    left: calc(50% - 18px);
    display: block;
    width: 36px;
    height: 36px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 0;
  }

  .rebate-team-sheet .rebate-sheet__outside-close img,
  .rebate-record-sheet .rebate-sheet__outside-close img { display: block; width: 36px; height: 36px; }
}

.rebate-poster {
  width: 300px;
  margin: 20px auto 12px;
  padding: 0 18px 16px;
  overflow: hidden;
  color: #641139;
  border-radius: 12px;
  background: #ffe5ef;
  text-align: center;
}
.rebate-poster__art { height: 138px; margin: 0 -18px 8px; background: url("/static/images/figma-rebate/7c709432e79d85c34112971424a591a5f29a0fa1.png") center 58% / cover no-repeat; }
.rebate-poster h3 { margin: 0; font-size: 24px; }
.rebate-poster p { margin: 3px 0 10px; color: #71384f; font-size: 12px; }
.rebate-poster__qr { width: 116px; height: 116px; margin: 0 auto 8px; padding: 4px; background: #fff; }
.rebate-poster__qr img,
.rebate-poster__qr canvas { width: 108px !important; height: 108px !important; }
.rebate-poster small { color: #71384f; }
.rebate-invite-sheet__link { display: block; width: 300px; height: 34px; margin: 0 auto 12px; padding: 0 10px; color: #5f4652; border: 1px solid #eddbe3; border-radius: 6px; background: #fff; font-size: 12px; }
.rebate-invite-sheet__actions { display: flex; margin: 0 24px 22px; justify-content: center; gap: 10px; }
.rebate-invite-sheet__actions button:disabled { cursor: not-allowed; opacity: .55; }
.rebate-invite-sheet__actions [data-save-rebate-poster],
.rebate-invite-sheet__actions [data-share-rebate] { color: var(--rebate-pink-dark); border: 1px solid #f7b1ce; background: #fff; box-shadow: none; }

@media (max-width: 768px) {
  body.activity-page[data-activity-key="rebate"]:has(.rebate-sheet[open]) { overflow: hidden; }
  body.activity-page[data-activity-key="rebate"] { --rebate-mobile-header-height: var(--activity-mobile-nav-height); background: #ffcde1; }
  body.activity-page[data-activity-key="rebate"] .activity-shell { padding: 0 0 calc(76px + env(safe-area-inset-bottom)); }
  .rebate-experience { width: var(--activity-mobile-canvas-width); min-height: min(289.333333vw, 2083.2px); margin: 0 auto; padding: 0 0 calc(86px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #ffd2e4 0, #ffd2e4 min(110.133333vw, 792.96px), #ffcde1 100%); }
  .rebate-experience::before { height: min(137.866667vw, 992.64px); background: #ffd3e3 url("/static/images/figma-rebate/rebate-mobile-scene.png") center top / 100% auto no-repeat; }
  .rebate-experience::after { content: ""; position: absolute; z-index: 0; top: min(110.133333vw, 792.96px); right: 0; left: 0; height: min(179.2vw, 1290.24px); border: 0; border-top: 1px solid rgba(255,255,255,.42); border-radius: min(6.4vw, 46.08px) min(6.4vw, 46.08px) 0 0; background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,220,235,.62) 56%, #ffcde1 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.38); backdrop-filter: blur(5px); pointer-events: none; }
  body.activity-page[data-activity-key="rebate"] .rebate-mobile-header { position: fixed; z-index: 130; top: 0; left: 50vw; display: grid; box-sizing: border-box; width: var(--activity-mobile-canvas-width); height: var(--rebate-mobile-header-height); padding: var(--activity-mobile-safe-top) max(0px, var(--activity-mobile-safe-right)) 0 max(0px, var(--activity-mobile-safe-left)); grid-template-columns: 44px 1fr 44px; align-items: end; color: #292929; background: #ffd3e3 url("/static/images/figma-rebate/rebate-mobile-scene.png") center top / 100% auto no-repeat; transform: translateX(-50%); isolation: isolate; overflow: hidden; }
  .rebate-mobile-header a,
  .rebate-mobile-header button { color: #292929; border: 0; background: transparent; font-size: 13px; text-align: center; text-decoration: none; }
  .activity-page .rebate-mobile-header > .rebate-mobile-header__back { display: grid; width: 44px; height: 48px; min-width: 44px; min-height: 48px; margin: 0; align-self: end; justify-self: start; border-radius: 0; place-items: center; background: transparent; }
  .activity-page .rebate-mobile-header > .rebate-mobile-header__back::before { display: none; }
  body.activity-page[data-activity-key="rebate"] .rebate-mobile-header__back img { display: block; width: 24px; height: 24px; filter: invert(1); }
  .rebate-mobile-header h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  body.activity-page[data-activity-key="rebate"] .rebate-mobile-header button { grid-column: 3; min-width: 44px; min-height: 48px; visibility: visible; }
  body.activity-page[data-activity-key="rebate"] .rebate-experience > .lucky-rule-tab { display: none; }
  .rebate-experience > .activity-desktop-breadcrumb { display: none; }
  .rebate-experience > .activity-assets-bar { position: absolute; z-index: 4; top: var(--rebate-mobile-header-height); left: 50%; margin: 0; transform: translateX(-50%); }
  .rebate-hero { width: 100%; height: min(115.466667vw, 831.36px); margin: 0; overflow: visible; border-radius: 0; box-shadow: none; }
  .rebate-hero::before { display: none; }
  .rebate-hero__copy { top: min(26.4vw, 190.08px); left: 0; width: 100%; height: auto; aspect-ratio: auto; }
  .rebate-hero__copy h2 { display: flex; width: 100%; height: auto; margin: 0; flex-direction: column; align-items: center; background: none; clip-path: none; color: #1e0025; text-indent: 0; }
  .rebate-hero__copy h2 > span { display: flex; align-items: center; gap: 5px; font-size: 27px; font-weight: 800; line-height: 35px; letter-spacing: 1px; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
  .rebate-hero__copy h2 > span i { color: #ffc928; font-size: 10px; font-style: normal; line-height: 1; text-shadow: none; }
  .rebate-hero__copy h2 > strong { display: flex; margin-top: -1px; align-items: baseline; justify-content: center; line-height: 1; letter-spacing: -2px; white-space: nowrap; }
  .rebate-hero__copy h2 b { color: #f81e7b; font-size: 42px; font-weight: 900; line-height: 52px; }
  .rebate-hero__copy h2 em { color: transparent; background: linear-gradient(180deg, #ff9b08 0%, #fa541c 56%, #ef1e28 100%); background-clip: text; -webkit-background-clip: text; font-size: 56px; font-style: normal; font-weight: 900; line-height: 58px; letter-spacing: -3px; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 rgba(255,255,255,.45)); }
  .rebate-hero__copy .rebate-hero__invite { display: none; }
  .rebate-dashboard { position: relative; z-index: 2; display: flex; width: calc(100% - 32px); max-width: 688px; margin: 0 auto; flex-direction: column; gap: 12px; }
  .rebate-card { width: 100%; min-width: 0; border: 1px solid rgba(255,255,255,.96); border-radius: 12px; background: linear-gradient(180deg, #fff, #fff 58%, #fff1f7); box-shadow: 0 0 12px #facaff; }
  .rebate-income { height: 144px; padding: 13px 16px 16px; }
  .rebate-income > div { margin-top: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rebate-income i { display: none; }
  .rebate-income p + p { padding-left: 16px; }
  .rebate-team { height: 158px; padding: 12px 10px; }
  .rebate-team__heading { margin: 8px 4px 0; }
  .rebate-team__levels button { align-items: center; padding: 2px 4px 0; text-align: center; }
  .rebate-team__levels { height: 64px; margin-top: 10px; }
  .rebate-team__levels strong { font-size: 18px; }
  .rebate-records { min-height: 240px; padding: 16px 12px; border: 0; background: #fff; }
  .rebate-records header h2 { height: 20px; font-size: 14px; line-height: 20px; }
  .rebate-records header button { font-size: 12px; }
  .rebate-records__list { display: grid; margin-top: 12px; }
  .rebate-records__list .rebate-list-row--record { min-height: 51px; grid-template-rows: 20px 18px; }
  .rebate-records__list .rebate-list-row--record:last-child { min-height: 50px; }
  .rebate-records__list .rebate-list-row--record > small,
  .rebate-list-row--record .rebate-list-row__amount small { font-size: 12px; line-height: 18px; }
  .rebate-records__list .rebate-list-row:nth-child(n+4) { display: none; }
  .rebate-empty { margin-top: 48px; }
  .rebate-mobile-invite { position: fixed; z-index: 210; right: auto; bottom: 0; left: 50vw; display: grid; width: var(--activity-mobile-canvas-width); height: calc(60px + env(safe-area-inset-bottom)); grid-template-columns: 47px minmax(0, 1fr) 102px; align-items: center; padding: 10px 16px calc(6px + env(safe-area-inset-bottom)); gap: 12px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, #fc5b80, #fc5464); box-shadow: inset 0 2px 2px rgba(255,255,255,.4); transform: translateX(-50%); }
  .rebate-mobile-invite__icon { display: block; width: 47px; height: 46px; background: url("/static/images/figma-rebate/1137fa664f441c240fbde775c6c420692a6720ac.png") center / contain no-repeat; }
  .rebate-mobile-invite__poster { display: flex; min-width: 0; margin: 0; padding: 0 0 0 8px; flex-direction: column; align-items: flex-start; border: 0; background: transparent; text-align: left; }
  .rebate-mobile-invite strong { color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; }
  .rebate-mobile-invite small { color: #fff; font-size: 10px; line-height: 16px; white-space: nowrap; }
  .rebate-mobile-invite > [data-copy-rebate-invite] { height: 40px; color: #d72f00; border: 0; border-radius: 100px; background: linear-gradient(180deg, #fedb89, #fed96a); box-shadow: inset -1px -1px 1px #fca542, inset 1.5px 1.75px 4px #ffe9af; font-size: 16px; font-weight: 500; }
  .rebate-mobile-invite > [data-copy-rebate-invite]:disabled { color: #d72f00; opacity: 1; }

  .rebate-sheet { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; overflow: hidden; border-radius: 0; box-shadow: none; }
  .rebate-sheet::backdrop { background: transparent; }
  .rebate-sheet > header { position: relative; z-index: 2; height: 48px; grid-template-columns: 56px minmax(0, 1fr) 56px; background: #fff; }
  .rebate-team-sheet > header,
  .rebate-record-sheet > header { border-bottom: 0; }
  .rebate-sheet > header h2 { color: rgb(0 0 0 / 90%); font-size: 18px; font-weight: 600; line-height: 24px; }
  .rebate-sheet > header button { visibility: visible; color: #2a1720; cursor: pointer; }
  .rebate-sheet > header .mobile-page-back { display: flex; width: 24px; height: 24px; min-width: 24px; min-height: 24px; margin-left: 16px; padding: 0; justify-self: start; border-radius: 0; background: transparent; }
  .rebate-sheet > header .mobile-page-back img { width: 24px; height: 24px; filter: invert(1); }
  .rebate-sheet > header .mobile-page-back:focus-visible { outline-color: #f21184; }
  .rebate-team-sheet,
  .rebate-record-sheet { color: rgb(0 0 0 / 90%); background: #fbfbfb; }
  .rebate-team-sheet > nav { height: 36px; border-bottom: 0; background: #fff; }
  .rebate-team-sheet > nav button { padding: 0 12px; color: rgb(0 0 0 / 55%); font-size: 14px; line-height: 20px; }
  .rebate-team-sheet > nav button span { color: inherit; font-weight: inherit; }
  .rebate-team-sheet > nav button[aria-pressed="true"] { color: rgb(0 0 0 / 90%); font-weight: 500; }
  .rebate-team-sheet > nav button[aria-pressed="true"]::after { bottom: 0; height: 3px; background: #f21184; }
  .rebate-sheet__list { display: flex; max-height: calc(100dvh - 84px); padding: 12px 16px 24px; flex-direction: column; gap: 8px; overflow-x: hidden; overflow-y: auto; }
  .rebate-sheet__list .rebate-list-row { box-sizing: border-box; min-height: 60px; flex: 0 0 60px; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-rows: 20px 18px; column-gap: 12px; row-gap: 4px; padding: 12px 0; border-bottom-color: rgb(0 0 0 / 5%); }
  .rebate-sheet__list .rebate-list-row__avatar { width: 36px; height: 36px; }
  .rebate-sheet__list .rebate-list-row > strong { color: rgb(0 0 0 / 90%); font-weight: 500; }
  .rebate-sheet__list .rebate-list-row > small { color: rgb(0 0 0 / 55%); }
  .rebate-team-sheet .rebate-list-row__amount { color: #f81e7b; font-size: 16px; font-weight: 500; line-height: 22px; }
  .rebate-team-sheet .rebate-list-row__amount small { color: rgb(0 0 0 / 90%); }
  .rebate-record-sheet .rebate-sheet__list { max-height: calc(100dvh - 48px); }
  .rebate-record-sheet .rebate-sheet__list .rebate-list-row { min-height: 44px; flex-basis: 44px; grid-template-columns: 36px minmax(0, 1fr) auto; padding: 4px 0; }
  .rebate-record-sheet .rebate-list-row__amount { display: grid; grid-template-columns: auto auto; grid-template-rows: 22px 18px; align-items: center; justify-content: end; column-gap: 4px; color: #f81e7b; font-size: 16px; font-weight: 500; line-height: 22px; }
  .rebate-record-sheet .rebate-list-row__amount > strong { grid-column: 1; grid-row: 1; }
  .rebate-record-sheet .rebate-list-row__amount > small { display: block; grid-column: 2; grid-row: 1; color: rgb(0 0 0 / 90%); font-size: 12px; line-height: 18px; }
  .rebate-record-sheet .rebate-list-row__yuan { display: block; grid-column: 1 / 3; grid-row: 2; color: rgb(0 0 0 / 35%); font-size: 12px; line-height: 18px; text-align: right; }
  .rebate-sheet__empty { margin: 64px 16px 0; color: rgb(0 0 0 / 55%); font-size: 14px; }
  .rebate-sheet__outside-close { display: none; }
  .rebate-poster { margin-top: 14px; }
  .rebate-invite-sheet__actions { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .rebate-hero__copy button,
  .rebate-invite-sheet__actions button { scroll-behavior: auto; }
}
