/* ========== Banner 区域 ========== */
.gift-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0 0;
  gap: 20px;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

.gift-banner__content {
  flex: 0 0 auto;
  max-width: 682px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.gift-banner__title {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: 1.22;
  letter-spacing: 1.4px;
  margin: 0;
}

/* 中文模式：不换行 */
.gift-banner__title.title--nowrap {
  white-space: nowrap;
}

.gift-banner__title-white {
  color: #fff;
}

.gift-banner__title-gradient {
  display: block;
  background: linear-gradient(105deg, #7c3aed 0%, #c026d3 50%, #ff00f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 中文模式：不换行，inline 显示 */
.gift-banner__title.title--nowrap .gift-banner__title-gradient {
  display: inline;
}

.gift-banner__subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gift-banner__subtitle {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: 0.48px;
  background: linear-gradient(90deg, #dfdfdf 0%, #797979 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  white-space: nowrap;
}

.gift-banner__subtitle-line {
  flex: 1;
  height: 1px;
  max-width: 180px;
  background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
}

.gift-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 161px;
  padding: 14px 28px;
  border-radius: 26px;
  background: linear-gradient(115deg, #fc01f6 35.91%, #4f00ff 91.36%);
  color: #fff;
  font-family: "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: 16.75px;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}

.gift-banner__cta:hover {
  filter: brightness(1.1);
}

.gift-banner__cta:active {
  transform: translateY(1px);
}

.gift-banner__image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 751px;
  min-width: 400px;
  position: relative;
  z-index: 1;
}

.gift-banner__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ========== 响应式 Banner ========== */
@media (max-width: 1552px) {
  .gift-banner {
    padding: 0 16px;
  }
  .record-entry-btn {
    margin-right: 16px !important;
  }
}
.task-header {
  flex-direction: row !important;
}
@media (max-width: 1400px) {
  .gift-banner {
    min-height: 480px;
    gap: 20px;
  }

  .gift-banner__title {
    font-size: 56px;
  }

  .gift-banner__subtitle {
    font-size: 20px;
  }

  .gift-banner__image {
    min-width: 350px;
  }

  .gift-banner__image img {
    margin-right: -40px;
  }
}

@media (max-width: 1200px) {
  .gift-banner {
    padding: 40px 0 0;
    min-height: 420px;
  }

  .gift-banner__content {
    gap: 16px;
  }

  .gift-banner__title {
    font-size: 48px;
  }

  .gift-banner__subtitle {
    font-size: 18px;
  }

  .gift-banner__image {
    min-width: 300px;
  }

  .gift-banner__image img {
    margin-right: -20px;
  }
}

@media (max-width: 992px) {
  .gift-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 0 20px;
    min-height: auto;
    gap: 24px;
  }

  .gift-banner__content {
    max-width: 100%;
    order: 2;
    align-items: center;
  }

  .gift-banner__image {
    width: 100%;
    max-width: 500px;
    min-width: auto;
    order: 1;
  }

  .gift-banner__image img {
    margin-right: 0;
  }

  .gift-banner__title {
    font-size: 42px;
  }

  .gift-banner__subtitle-wrapper {
    justify-content: center;
  }

  .gift-banner__subtitle-line {
    display: none;
  }

  .gift-banner__subtitle {
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .record-entry-btn {
    margin-right: 0 !important;
  }
  .gift-banner {
    padding: 16px 0;
    gap: 20px;
  }

  .gift-banner__content {
    gap: 12px;
  }

  .gift-banner__title {
    font-size: 32px;
    letter-spacing: 0.6px;
  }

  .gift-banner__subtitle {
    font-size: 14px;
  }

  .gift-banner__cta {
    width: auto;
    padding: 12px 24px;
    font-size: 15px;
  }

  .gift-banner__image {
    max-width: 340px;
  }
}

/* ========== 礼品列表 ========== */
.gift-exchange-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 16px 0 40px;
  padding-top: 0;
}

@media (max-width: 1400px) {
  .gift-exchange-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .gift-exchange-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .gift-exchange-list {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 100px;
  }
}

/* ========== Gift Card 卡片 ========== */
.gift-card {
  position: relative;
  background: rgba(22, 22, 22, 0.8);
  border-radius: 16px;
  padding: 15px;
  padding-bottom: 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1.5px solid #444;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gift-card__media {
  position: relative;
}

.gift-card__cover {
  width: 100%;
  aspect-ratio: 248 / 138;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 768px) {
  .gift-card__cover {
    border-radius: 12px;
  }
}

.gift-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gift-card__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: capitalize;
  color: #fff;
}

.gift-card__sub {
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: #afafaf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== 用户头像 ========== */
.gift-card__avatars {
  position: absolute;
  right: 0;
  bottom: -15px;
  height: 30px;
  width: 94px;
}

.gift-card__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-image: url("/static/assets/avatar.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gift-card__avatar--1 {
  left: 0;
  z-index: 1;
}

.gift-card__avatar--2 {
  left: 16px;
  z-index: 2;
}

.gift-card__avatar--3 {
  left: 32px;
  z-index: 3;
}

.gift-card__avatar--count {
  left: 48px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1;
  color: #fff;
}

.gift-card__avatar--count::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  border-radius: 50%;
}

.gift-card__avatar--count > span {
  position: relative;
  z-index: 1;
}

/* ========== 卡片底部 ========== */
.gift-card__footer {
  margin-top: auto;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: -1.5px;
  padding: 0;
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 768px) {
  .gift-card__footer {
    height: 54px;
  }
}

.gift-card__price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100%;
  white-space: nowrap;
  position: relative;
  padding: 0 20px 16px 16px;
  background: url("/static/assets/Rectangle .png") no-repeat left bottom;
  background-size: auto 100%;
  min-width: 165px;
}

@media (max-width: 768px) {
  .gift-card__price {
    min-width: 140px;
    padding: 0 16px 10px 14px;
  }
}

.gift-card__price-main {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 30px;
  letter-spacing: -0.3px;
  color: #ffce0b;
}

@media (max-width: 768px) {
  .gift-card__price-main {
    font-size: 22px;
  }
}

.gift-card__price-sub {
  font-family: Poppins, "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.27;
  letter-spacing: -0.3px;
  color: #ffce0b;
  margin-bottom: 2px;
}

.gift-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(98deg, #FC01F6 -35.91%, #4F00FF 91.35%);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  margin-left: auto;
  margin-right: 14px;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
 
}

.gift-card__cta:hover {
  background: linear-gradient(98deg, #4F00FF -35.91%, #FC01F6 91.35%);
}

.gift-card__cta:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .gift-card__cta {
    width: auto;
    min-width: 100px;
    height: 34px;
    font-size: 14px;
    padding: 6px 14px;
  }
}

.gift-card__cta:hover {
  filter: brightness(1.1);
}

.gift-card__cta:active {
  transform: translateY(1px);
}

/* ========== 兑换弹窗样式 ========== */
.exchange-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.exchange-modal.active {
  display: flex;
}

.exchange-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.exchange-modal__content {
  position: relative;
  width: 90%;
  max-width: 550px;
  background: rgba(31, 31, 36, 1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.25s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exchange-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.exchange-modal__title {
  font-family: "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.exchange-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}

.exchange-modal__close img {
  width: 20px;
  height: 20px;
}

.exchange-modal__close:hover {
  opacity: 0.8;
}

.exchange-modal__body {
  padding: 24px;
}

@media (max-width: 768px) {
  .exchange-modal__body {
    padding: 20px;
  }
}

.exchange-modal__cover {
  margin-bottom: 20px;
}

.exchange-modal__cover img {
  width: 100%;
  aspect-ratio: 486 / 250;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.exchange-modal__label {
  font-family: "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.exchange-modal__values {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.exchange-modal__value {
  flex: 1;
  min-width: 70px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #fff;
}

@media (max-width: 768px) {
  .exchange-modal__value {
    padding: 10px 0;
    min-width: 60px;
  }
}

.exchange-modal__value:hover {
  background: rgba(255, 255, 255, 0.1);
}

.exchange-modal__value.active {
  color: #6e5cfa;
  border-color: #6e5cfa;
  background: rgba(110, 92, 250, 0.1);
}

.exchange-modal__cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 8px;
}

.exchange-modal__cost-label {
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #afafaf;
}

@media (max-width: 768px) {
  .exchange-modal__cost-label {
    font-size: 14px;
  }
}

.exchange-modal__cost-value {
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}

@media (max-width: 768px) {
  .exchange-modal__cost-value {
    font-size: 16px;
  }
}

.exchange-modal__footer {
  padding: 0 24px 24px;
}

@media (max-width: 768px) {
  .exchange-modal__footer {
    padding: 0 20px 20px;
  }
}

.exchange-modal__submit {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(98deg, #fc01f6 -35.91%, #4f00ff 91.35%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.exchange-modal__submit:hover {
  filter: brightness(1.08);
}

.exchange-modal__submit:active {
  transform: translateY(1px);
}

/* ========== 结果弹窗样式 ========== */
.result-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.result-modal.active {
  display: flex;
}

.result-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.result-modal__content {
  position: relative;
  width: 330px;
  background: 
    radial-gradient(ellipse at 54% -5%, rgba(114, 91, 218, 0.5) 0%, rgba(86, 68, 164, 0.375) 26%, rgba(57, 46, 109, 0.25) 51%, rgba(29, 23, 55, 0.125) 75%, rgba(0, 0, 0, 0) 100%),
    #242424;
  border-radius: 16px;
  overflow: hidden;
  animation: modalSlideIn 0.25s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 24px;
}

.result-modal__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 40px;
  padding: 16px 16px 0;
  box-sizing: border-box;
}

.result-modal__close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}

.result-modal__close img {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.result-modal__close:hover img {
  opacity: 1;
}

.result-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  text-align: center;
}

.result-modal__icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.result-modal__title {
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  color: #fff;
  margin-top: 0;
  letter-spacing: -0.3px;
}

.result-modal__title--error {
  color: #fa4c4c;
}

.result-modal__desc {
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #afafaf;
  margin-top: 16px;
  width: 100%;
}

.result-modal__footer {
  margin-top: 24px;
}

.result-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 48px;
  font-family: "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(115deg, #fc01f6 35.91%, #4f00ff 91.35%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
  letter-spacing: -0.3px;
}

.result-modal__btn:hover {
  filter: brightness(1.08);
}

.result-modal__btn:active {
  transform: translateY(1px);
}

/* ========== 空状态 ========== */
.task-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.task-empty-state .empty-icon {
  width: 200px;
  height: auto;
  margin-bottom: 24px;
  opacity: 0.6;
}

.task-empty-state .empty-text {
  font-family: "PingFang SC", sans-serif;
  font-size: 16px;
  color: #666;
}

/* ========== 骨架屏样式 ========== */
.gift-card--skeleton {
  pointer-events: none;
}

.skeleton-box {
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.gift-card__cover-skeleton {
  width: 100%;
  aspect-ratio: 248 / 138;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .gift-card__cover-skeleton {
    border-radius: 12px;
  }
}

.skeleton-title {
  height: 28px;
  width: 70%;
}

.skeleton-sub {
  height: 20px;
  width: 90%;
}

.skeleton-price {
  height: 30px;
  width: 80px;
}

.skeleton-btn {
  height: 38px;
  width: 100px;
  border-radius: 999px;
  margin-left: auto;
  margin-right: 14px;
}

@media (max-width: 768px) {
  .skeleton-btn {
    height: 34px;
    width: 80px;
  }
}

/* ========== 兑换记录入口按钮 ========== */
.record-entry-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 10px 16px;
  background: #242424;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: "PingFang SC", sans-serif;
  font-size: 14px;
  color: #fff;
}

.record-entry-btn:hover {
  background: #2e2e2e;
}

.record-entry-btn__icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .record-entry-btn {
    height: 32px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
  }

  .record-entry-btn__icon {
    width: 14px;
    height: 14px;
  }
}

/* ========== 兑换记录弹窗 ========== */
.records-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.records-modal.active {
  display: flex;
}

.records-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.records-modal__content {
  position: relative;
  width: 95%;
  max-width: 908px;
  max-height: 85vh;
  background: #242424;
  border: 1px solid #444;
  border-radius: 16px;
  overflow: hidden;
  animation: modalSlideIn 0.25s ease-out;
  display: flex;
  flex-direction: column;
}

.records-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  flex-shrink: 0;
}

.records-modal__title {
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}

.records-modal__close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}

.records-modal__close img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.records-modal__close:hover {
  background: #333;
}

.records-modal__close:hover img {
  opacity: 1;
}

.records-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 24px;
}

/* ========== 记录网格布局 ========== */
.records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ========== 记录卡片样式 ========== */
.record-card {
  background: #3c3c3c;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-card--skeleton {
  pointer-events: none;
}

.record-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  gap: 8px;
}

.record-card__icon {
  width: 107px;
  height: 65px;
  border-radius: 6px;
  object-fit: cover;
}

.record-card__icon-skeleton {
  width: 107px;
  height: 65px;
  border-radius: 6px;
}

.record-card__name-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.record-card__badge-skeleton {
  width: 108px;
  height: 20px;
  border-radius: 10px;
}

.record-card__name {
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.record-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  background: #666;
  border-radius: 100px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
}

.record-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.record-card__label {
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #afafaf;
}

.record-card__value {
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #afafaf;
  letter-spacing: -0.3px;
}

.record-card__value--highlight {
  color: #fff;
}

.record-card__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ========== 状态显示 ========== */
.record-card__status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.3px;
}

.record-card__status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.record-card__status--pending {
  color: #ffce0b;
}

.record-card__status--pending .record-card__status-dot {
  background: #ffce0b;
}

.record-card__status--success {
  color: #52c41a;
}

.record-card__status--success .record-card__status-dot {
  background: #52c41a;
}

.record-card__status--failed {
  color: #fa4c4c;
}

.record-card__status--failed .record-card__status-dot {
  background: #fa4c4c;
}

/* ========== CDK复制 ========== */
.record-card__cdk {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 172px;
}

.record-card__cdk-text {
  font-family: "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #afafaf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.record-card__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-family: "PingFang SC", sans-serif;
  font-size: 14px;
  color: #fff;
  transition: all 0.2s;
  flex-shrink: 0;
}

.record-card__copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ========== 记录空状态 ========== */
.records-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.records-empty__icon {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
  opacity: 0.6;
}

.records-empty__text {
  font-family: "PingFang SC", sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ========== 平板端响应式 ========== */
@media (max-width: 900px) {
  .records-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== H5端响应式 ========== */
@media (max-width: 768px) {
  .records-modal__content {
    width: 100%;
    max-width: none;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }

  .records-modal__header {
    padding: 16px;
  }

  .records-modal__title {
    font-size: 18px;
  }

  .records-modal__body {
    padding: 0 16px 16px;
  }

  .records-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .record-card {
    padding: 12px;
    gap: 10px;
  }

  .record-card__icon {
    width: 90px;
    height: 55px;
  }

  .record-card__icon-skeleton {
    width: 90px;
    height: 55px;
  }

  .record-card__name {
    font-size: 13px;
  }

  .record-card__badge {
    font-size: 11px;
    height: 18px;
    padding: 0 6px;
  }

  .record-card__label,
  .record-card__value {
    font-size: 13px;
  }

  .record-card__status {
    font-size: 13px;
  }
}