:root {
  --assets-pink: #ff22ae;
  --assets-pink-deep: #e5005c;
  --assets-text: #292929;
  --assets-muted: #989898;
}

* { box-sizing: border-box; }

body.desktop-assets-figma {
  background: #fdebf5;
}

.assets-stage { position: relative; min-width: 1180px; height: 917px; overflow: hidden; background: #fdebf5; color: var(--assets-text); font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.assets-stage a { color: inherit; text-decoration: none; }
.assets-stage button,
.assets-stage input { font: inherit; }
.assets-stage__background { position: absolute; inset: 0 0 auto; width: 100%; height: 652px; object-fit: cover; object-position: 50% 48%; }
.assets-stage__art { position: absolute; z-index: 2; top: -17px; left: calc(50% + 221px); width: 378px; height: 460px; object-fit: contain; }
.assets-stage__inner { position: relative; z-index: 3; width: 1200px; height: 100%; margin: 0 auto; }

.assets-breadcrumb { display: flex; position: absolute; top: 32px; left: 0; height: 40px; align-items: center; gap: 6px; color: #fff; font-size: 18px; line-height: 24px; }
.assets-breadcrumb a { display: inline-flex; align-items: center; gap: 18px; font-weight: 600; }
.assets-breadcrumb img { width: 24px; height: 24px; }
.assets-breadcrumb strong { font-weight: 600; }

.assets-hero-title { position: absolute; top: 68px; left: 2px; width: 519px; height: 250px; overflow: hidden; }
.assets-hero-title img { position: absolute; top: -26.08%; left: -5.36%; width: 109.37%; height: 151.23%; max-width: none; object-fit: fill; }

.assets-ticker {
  display: flex;
  position: absolute;
  top: 340px;
  left: 0;
  width: 498px;
  height: 51px;
  padding: 6px 13px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  border-radius: 25px;
  background: rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
}
.assets-ticker__avatar { display: block; flex: 0 0 38px; width: 38px; height: 38px; overflow: hidden; border: 1px solid #292929; border-radius: 50%; background: #f1d4d8; }
.assets-ticker__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.assets-ticker p { min-width: 0; margin: 0; overflow: hidden; color: rgba(0, 0, 0, .9); font-size: 16px; line-height: 38px; text-overflow: ellipsis; white-space: nowrap; }
.assets-ticker.is-empty p { color: rgba(0, 0, 0, .55); }

.assets-panel {
  position: absolute;
  top: 417px;
  left: 0;
  width: 1200px;
  height: 437px;
  padding: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.asset-summary { display: grid; grid-template-columns: repeat(4, 278px); justify-content: space-between; }
.asset-summary__card {
  display: flex;
  position: relative;
  height: 100px;
  padding: 8px 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid;
  border-radius: 12px;
}
.asset-summary__card::after { content: ""; position: absolute; right: -10px; bottom: -20px; width: 92px; height: 92px; border-radius: 50%; opacity: .42; filter: blur(1px); }
.asset-summary__card > img { position: relative; z-index: 1; flex: 0 0 76px; width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 3px 1px #fff); }
.asset-summary__card > span { display: flex; position: relative; z-index: 2; flex-direction: column; gap: 6px; margin-left: 11px; }
.asset-summary__card small { font-size: 14px; line-height: 20px; white-space: nowrap; }
.asset-summary__card strong { font-family: "Arial Rounded MT Bold", "PingFang SC", sans-serif; font-size: 30px; line-height: 32px; letter-spacing: -.5px; }
.asset-summary__card--coin { border-color: #fcebeb; background: linear-gradient(180deg, rgba(255,255,255,.92), #fdf4f2); color: #fe1f97; }
.asset-summary__card--coin::after { background: radial-gradient(circle, #f9c5ce 0 30%, transparent 72%); }
.asset-summary__card--viewing { border-color: #fcf2eb; background: linear-gradient(170deg, #fff 32%, #ffe6d5); color: #ff9000; }
.asset-summary__card--viewing::after { background: radial-gradient(circle, #ffd2c2 0 35%, transparent 74%); }
.asset-summary__card--lottery { border-color: #ebf6fc; background: linear-gradient(160deg, #fff 10%, #d7f6ff); color: #3d63f7; }
.asset-summary__card--lottery::after { background: radial-gradient(circle, #a9ebff 0 35%, transparent 75%); }
.asset-summary__card--vip { padding-left: 6px; border-color: #fbebfc; background: linear-gradient(165deg, #fff 10%, #fff0f7); color: #ff4d5f; }
.asset-summary__card--vip::after { background: radial-gradient(circle, #ffc2dd 0 35%, transparent 74%); }
.asset-summary__card--vip > span { margin-left: 5px; }

.assets-panel__lower { display: grid; grid-template-columns: 760px 392px; gap: 12px; height: 283px; margin-top: 18px; }
.asset-records { position: relative; width: 760px; height: 283px; padding: 16px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .05); }
.asset-records__heading { display: flex; height: 48px; align-items: center; gap: 48px; padding: 6px 0; }
.asset-records h1 { width: 64px; margin: 0; font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; }
.asset-records__filters { display: grid; position: relative; width: 321px; height: 36px; padding: 3px 6px; grid-template-columns: repeat(3, 1fr); align-items: center; border: .5px solid #ff22ae; border-radius: 999px; background: linear-gradient(175deg, rgba(255,255,255,.82), rgba(245,248,255,.9)); box-shadow: inset 0 0 8px rgba(255,209,233,.45), 9px 2px 2px rgba(255,220,238,.13); }
.asset-records__filters button { position: relative; z-index: 1; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #000; font-size: 14px; cursor: pointer; }
.asset-records__filters button.is-active { color: #fff; background: linear-gradient(180deg, #e5005c, #ff22ae); box-shadow: inset 0 1px 4px 2px #ffd9e8; }
.asset-records__table { width: 736px; }
.asset-records__table[hidden] { display: none; }
.asset-records__body { max-height: 164px; overflow-y: auto; scrollbar-width: thin; }
.asset-records__row { display: grid; height: 41px; grid-template-columns: 110px 110px 110px 110px; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0, 0, 0, .05); color: #292929; font-size: 14px; line-height: 20px; }
.asset-records__row > * { white-space: nowrap; }
.asset-records__row > :not(:first-child) { text-align: center; }
.asset-records__row--head { height: 27px; background: rgba(255, 248, 230, .5); font-size: 12px; line-height: 18px; }
.asset-records__row strong { font-weight: 600; }
.asset-records__row .is-income { color: #f81e7b; }
.asset-records__row .is-expense { color: #ff9000; }
.asset-records__row[hidden] { display: none; }

.assets-empty-state { display: flex; position: absolute; left: 250px; top: 60px; width: 170px; height: 191px; flex-direction: column; align-items: center; }
.assets-empty-state[hidden] { display: none; }
.assets-empty-state__image { position: relative; width: 122px; height: 68px; margin-top: 16px; overflow: hidden; }
.assets-empty-state__image img { position: absolute; top: -52px; left: -26px; width: 170px; height: 120px; max-width: none; }
.assets-empty-state__copy { display: flex; width: 170px; margin-top: 19px; flex-direction: column; align-items: center; gap: 2px; }
.assets-empty-state__title { display: flex; align-items: center; justify-content: center; gap: 8px; }
.assets-empty-state__title strong { color: #292929; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.assets-empty-state__star { position: relative; width: 10px; height: 10px; overflow: hidden; }
.assets-empty-state__star img { position: absolute; top: -251px; left: -202px; width: 271px; height: 362px; max-width: none; }
.assets-empty-state__copy p { margin: 0; color: rgba(0, 0, 0, .35); font-size: 10px; line-height: 16px; white-space: nowrap; }
a.assets-empty-state__action { display: inline-flex; height: 25px; margin-top: 18px; padding: 0 12px; align-items: center; justify-content: center; border: .5px solid #e9b54b; border-radius: 999px; color: #e9b54b; font-size: 10px; font-weight: 600; line-height: 16px; }

.asset-prize { display: flex; position: relative; width: 392px; height: 283px; align-items: center; overflow: hidden; border: 1px solid #fff; border-radius: 12px; background: #fefefd; box-shadow: 0 0 8px rgba(0, 0, 0, .05); }
.asset-prize__glow { position: absolute; top: 124px; right: -36px; width: 129px; height: 129px; }
.asset-prize__visual { position: relative; z-index: 1; flex: 0 0 166px; width: 166px; height: 166px; margin-left: 12px; }
.asset-prize__gift { position: absolute; inset: 0; width: 166px; height: 166px; object-fit: contain; }
.asset-prize__copy { position: relative; z-index: 2; display: flex; flex-direction: column; width: 168px; margin-left: 12px; align-items: flex-start; }
.asset-prize__copy h2 { margin: 0 0 6px; font-size: 16px; font-weight: 500; line-height: 22px; }
.asset-prize__rewards { display: flex; align-items: center; gap: 8px; color: #f54570; font-size: 16px; line-height: 22px; }
.asset-prize__rewards span { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.asset-prize__rewards img { width: 24px; height: 24px; object-fit: contain; }
.asset-prize__copy p { width: 168px; margin: 2px 0 18px; overflow: hidden; color: #656565; font-size: 10px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.asset-prize [data-prize-preview-content][hidden] { display: none; }
.asset-prize__empty { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; }
.asset-prize__empty[hidden] { display: none; }
.asset-prize__empty .assets-empty-state__image { margin-top: 0; }
.asset-prize__empty > strong { margin-top: 12px; color: #292929; font-size: 14px; line-height: 20px; }
.asset-prize__empty > p { margin: 2px 0 0; color: rgba(0, 0, 0, .35); font-size: 10px; line-height: 16px; }
.asset-prize__empty a.assets-empty-state__action { margin-top: 14px; }
a.asset-prize__button { display: inline-flex; min-width: 158px; height: 36px; padding: 0 16px 0 36px; align-items: center; gap: 22px; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, #e5005c, #ff22ae); color: #fff; box-shadow: inset 0 1px 4px 2px #ffd9e8; font-size: 16px; font-weight: 500; }
.asset-prize__button img { width: 20px; height: 20px; object-fit: contain; transform: rotate(180deg); }

.assets-prizes-panel { position: absolute; top: 104px; left: 0; width: 1200px; height: 476px; padding: 18px; border-radius: 12px; background: #fff; }
.assets-prizes-card { position: relative; width: 1164px; height: 440px; padding: 16px 12px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .05); }
.assets-prizes-tabs { display: flex; width: 502px; height: 52px; padding: 6px 0; align-items: center; gap: 8px; }
.assets-prizes-tabs button { position: relative; height: 40px; padding: 0 24px; border: 0; background: transparent; color: rgba(0, 0, 0, .55); font-size: 18px; line-height: 24px; white-space: nowrap; cursor: pointer; }
.assets-prizes-tabs button.is-active { color: #292929; font-weight: 600; }
.assets-prizes-tabs button.is-active::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 16px; height: 3px; border-radius: 12px; background: #f81e7b; transform: translateX(-50%); }
.assets-prizes-table { width: 1140px; margin-top: 12px; }
.assets-prizes-table[hidden] { display: none; }
.assets-prizes-table__body {
  max-height: 318px;
  overflow-y: auto;
  scrollbar-color: #c8c8cf transparent;
  scrollbar-width: thin;
}
.assets-prizes-table__body::-webkit-scrollbar { width: 8px; }
.assets-prizes-table__body::-webkit-scrollbar-track { background: transparent; }
.assets-prizes-table__body::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c8c8cf;
}
.assets-prizes-table__body::-webkit-scrollbar-thumb:hover { background: #aaaab3; }
.assets-prizes-table__body::-webkit-scrollbar-thumb:active { background: #92929c; }
.assets-prizes-row { display: grid; min-height: 53px; grid-template-columns: 160px 140px 240px 140px 180px 180px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0, 0, 0, .05); color: #989898; font-size: 14px; line-height: 20px; }
.assets-prizes-row > * { min-width: 0; text-align: center; }
.assets-prizes-row > :first-child { color: #292929; font-weight: 500; text-align: left; }
.assets-prizes-row--head { min-height: 27px; background: rgba(255, 248, 230, .5); color: #292929; font-size: 12px; line-height: 18px; }
.assets-prizes-row--head > * { font-weight: 600; }
.assets-prizes-row--head > :first-child { font-weight: 500; }
.assets-prizes-row--tall { min-height: 65px; }
.assets-prizes-row--refund { min-height: 93px; }
.assets-prizes-row[hidden] { display: none; }
.assets-prizes-row .prize-status { font-weight: 400; }
.assets-prizes-row .prize-status--success { color: #12b262; }
.assets-prizes-row .prize-status--review { color: #b86301; }
.assets-prizes-row .prize-status--rejected { color: rgba(0, 0, 0, .55); }
.assets-prizes-row .prize-waybill { color: #f81e7b; white-space: nowrap; }
.assets-prizes-row button { min-width: 76px; height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: linear-gradient(128deg, #ff6e6e, #ff4d4d); color: #fff; font-size: 14px; line-height: 20px; cursor: pointer; }
.prize-refund-note { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.prize-refund-note small { color: #12b262; font-size: 12px; line-height: 18px; white-space: nowrap; }
.assets-prizes-empty { top: 110px; left: 485px; }

@media (max-width: 1279px) {
  .assets-stage { min-width: 1000px; }
  .assets-stage__inner { width: calc(100% - 48px); min-width: 952px; }
  .assets-panel { left: 50%; transform: translateX(-50%) scale(.7933); transform-origin: top center; }
  .assets-prizes-panel { left: 50%; transform: translateX(-50%) scale(.7933); transform-origin: top center; }
  .assets-hero-title { left: 0; }
  .assets-stage__art { left: auto; right: 7%; }
}
