/* 账变明细 · 蓝色主题（与邀请/详情页一致 #1d84ff） */

.ld-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: #f0f4fa;
}

.ld-head {
  position: relative;
  padding-bottom: 18px;
  color: #fff;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #1565cc 0%, #1d84ff 72%, #358ef5 100%);
  box-shadow: 0 6px 20px rgba(13, 58, 110, 0.14);
  border-radius: 0 0 22px 22px;
}

.ld-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: calc(48px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
}

.ld-nav-back {
  position: absolute;
  left: 8px;
  top: calc(env(safe-area-inset-top, 0px));
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.ld-nav-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ld-hero {
  position: relative;
  margin: 0 14px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 2px,
      transparent 2px,
      transparent 10px
    ),
    radial-gradient(ellipse 85% 100% at 100% 40%, rgba(255, 255, 255, 0.16), transparent 52%),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ld-hero-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ld-hero-title {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  max-width: 78%;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.32;
}

.ld-hero-sub {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  max-width: 82%;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.ld-hero-deco {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  user-select: none;
}

.ld-panel {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  padding: 0 14px calc(16px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  min-height: 50vh;
}

.ld-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ld-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eef6;
  box-shadow: 0 2px 10px rgba(15, 45, 90, 0.05);
}

.ld-row-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ld-row-icon.in {
  color: #15803d;
  background: linear-gradient(145deg, #ecfdf3 0%, #dcfce7 100%);
}

.ld-row-icon.out {
  color: #dc2626;
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
}

.ld-row-body {
  flex: 1;
  min-width: 0;
}

.ld-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ld-row-tag {
  display: inline-block;
  max-width: 58%;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.ld-row-descs {
  margin-top: 6px;
}

.ld-row-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  word-break: break-word;
}

.ld-row-desc + .ld-row-desc {
  margin-top: 2px;
}

.ld-row-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5eaf2;
}

.ld-row-foot-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ld-row-ref {
  font-size: 11px;
  line-height: 1.4;
  color: #6b7280;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ld-row-balance {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.ld-row-balance strong {
  font-weight: 700;
  color: #374151;
}

.ld-row-amt {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 800;
  color: #374151;
  line-height: 1.25;
  text-align: right;
  word-break: break-all;
}

.ld-row-amt.plus {
  color: #16a34a;
}

.ld-row-amt.minus {
  color: #dc2626;
}

.ld-row-amt.neutral {
  color: #1d84ff;
}

.ld-row-time {
  flex-shrink: 0;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.ld-empty {
  padding: 60px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

.ld-more {
  display: block;
  width: calc(100% - 4px);
  margin: 12px auto 0;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #e8f2ff;
  color: #1565cc;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(29, 132, 255, 0.08);
  -webkit-tap-highlight-color: transparent;
}

.ld-more:disabled {
  opacity: 0.55;
}
