: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: 0; min-height: 919px; 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; top: -76px; left: 50%; width: max(1920px, 100%); max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; }
.assets-stage__art { display: none; position: absolute; z-index: 2; top: -17px; width: 377.59px; height: 459.55px; object-fit: contain; pointer-events: none; }
.assets-stage__inner { position: relative; z-index: 3; width: min(1200px, calc(100% - 48px)); min-height: 919px; margin: 0 auto; padding: 417px 0 65px; }
.assets-prizes-stage .assets-stage__inner { padding-top: 104px; }
.assets-stage :is(a, button):focus-visible { outline: 2px solid #a50052; outline-offset: 3px; }
.assets-breadcrumb a:focus-visible { outline-color: #fff; }

.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: relative;
  width: 100%;
  min-height: 437px;
  padding: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.asset-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.asset-summary__card {
  display: flex;
  position: relative;
  height: 100px;
  padding: 8px 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid;
  border-radius: 12px;
  background-origin: border-box;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.asset-summary__card::after { content: ""; position: absolute; top: -1px; right: -1px; width: 79px; height: 100px; pointer-events: none; background-repeat: no-repeat; background-position: top right; background-size: auto 100px; }
.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; min-width: 0; flex: 1; container-type: inline-size; 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 { overflow-wrap: anywhere; font-family: "Arial Rounded MT Bold", "PingFang SC", sans-serif; font-size: clamp(12px, calc(165cqi / var(--asset-value-length, 5)), 30px); line-height: 32px; letter-spacing: -.5px; white-space: nowrap; }
.asset-summary__card--coin { border-color: #fcebeb; background-image: url('/static/images/wydsp/asset-fill-pc-coin.svg'); color: #fe1f97; }
.asset-summary__card--coin::after { width: 91px; background-image: url('/static/images/wydsp/asset-card-coin-texture.png'); }
.asset-summary__card--viewing { border-color: #fcf2eb; background-image: url('/static/images/wydsp/asset-fill-pc-viewing.svg'); color: #ff9000; }
.asset-summary__card--viewing::after { background-image: url('/static/images/wydsp/asset-card-viewing-texture.png'); }
.asset-summary__card--lottery { border-color: #ebf6fc; background-image: url('/static/images/wydsp/asset-fill-pc-lottery.svg'); color: #3d63f7; }
.asset-summary__card--lottery::after { background-image: url('/static/images/wydsp/asset-card-lottery-texture.png'); }
.asset-summary__card--vip { padding-left: 6px; border-color: #fbebfc; background-image: url('/static/images/wydsp/asset-fill-pc-vip.svg'); color: #ff4d5f; }
.asset-summary__card--vip::after { background-image: url('/static/images/wydsp/asset-card-vip-texture.png'); }
.asset-summary__card--vip > span { margin-left: 5px; }

.assets-panel__lower { display: grid; grid-template-columns: minmax(0, 760fr) minmax(0, 392fr); gap: 12px; min-height: 283px; margin-top: 18px; }
.asset-records { position: relative; min-width: 0; width: 100%; min-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; }
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .asset-records__filters button:not(.is-active):not(:disabled):not([aria-disabled="true"]):hover {
    color: #a50052;
    background: rgba(253, 45, 85, .12);
  }

  .assets-prizes-tabs button:not(.is-active):not(:disabled):not([aria-disabled="true"]):hover {
    color: #a50052;
  }
}

.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: 100%; margin-top: 11px; }
.asset-records__table[hidden] { display: none; }
.asset-records__body { max-height: 164px; overflow-y: auto; scrollbar-width: thin; }
.asset-records__row { display: grid; min-height: 41px; grid-template-columns: repeat(4, minmax(0, 110px)); justify-content: space-between; column-gap: 16px; align-items: center; border-bottom: 1px solid rgba(0, 0, 0, .05); color: #292929; font-size: 14px; line-height: 20px; }
.asset-records__row > * { min-width: 0; overflow-wrap: anywhere; }
.asset-records__row > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-records__row > :nth-child(2), .asset-records__row > :nth-child(4) { color: #989898; }
.asset-records__row > :nth-child(2) { white-space: nowrap; }
.asset-records__row > :not(:first-child) { text-align: center; }
.asset-records__row--head { min-height: 27px; background: rgba(255, 248, 230, .5); font-size: 12px; line-height: 18px; }
.asset-records__row--head > :nth-child(n) { color: #292929; }
.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: calc(50% - 32px); top: 80px; width: 170px; height: 191px; flex-direction: column; align-items: center; transform: translateX(-50%); }
.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 #ff087c; border-radius: 999px; color: #ff087c; font-size: 10px; font-weight: 600; line-height: 16px; }

.asset-prize { display: flex; position: relative; min-width: 0; width: 100%; min-height: 283px; align-items: center; justify-content: 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: -10px; width: 186px; height: 186px; object-fit: contain; transform: scaleX(-1); }
.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: relative; width: 100%; min-height: 476px; padding: 18px; border-radius: 12px; background: #fff; }
.assets-prizes-card { position: relative; width: 100%; min-height: 440px; padding: 16px 12px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 8px 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: 100%; 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: minmax(0, 160fr) minmax(0, 140fr) minmax(0, 240fr) minmax(0, 140fr) minmax(0, 180fr) minmax(0, 180fr); column-gap: 20px; align-items: center; border-bottom: 1px solid rgba(0, 0, 0, .05); color: #989898; font-size: 14px; line-height: 20px; }
.assets-prizes-row > * { min-width: 0; padding: 6px 4px; overflow-wrap: anywhere; text-align: center; }
.assets-prizes-row > :first-child { padding-left: 0; color: #292929; font-weight: 500; text-align: left; }
.assets-prizes-row:not(.assets-prizes-row--head) > :is(:nth-child(2), :nth-child(3)) { font-weight: 500; }
.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 > * { padding-block: 4px; 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; }
.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: 162px; left: calc(50% - 20px); }

@media (max-width: 1199px) {
  .asset-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assets-panel__lower { grid-template-columns: minmax(0, 1fr); }
  .asset-prize { min-height: 190px; }
  .asset-prize__glow { top: 60px; }
  .assets-stage__art { display: block; left: auto; right: 24px; }
  .assets-prizes-tabs { max-width: 100%; }
  .assets-prizes-tabs button { padding-inline: 16px; font-size: 16px; }
  .assets-prizes-row { column-gap: 8px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.3fr) minmax(80px, .8fr); }
}

@media (max-width: 959px) {
  .assets-stage__inner { padding-top: 357px; }
  .assets-hero-title { top: 84px; width: 390px; height: 188px; }
  .assets-ticker { top: 294px; width: 390px; }
  .assets-stage__art { top: 28px; width: 300px; height: 365px; }
  .assets-prizes-panel { padding: 12px; }
  .assets-prizes-row { font-size: 12px; line-height: 18px; }
  .assets-prizes-row button { min-width: 0; padding-inline: 8px; font-size: 12px; }
}
