/* 卡片整体 */
.yuyue-ios-card {
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    background: var(--is-surface);
    padding: 32px 28px 24px 28px;
    margin-bottom: 32px;
    transition: box-shadow .2s;
}
.yuyue-ios-card:hover {
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.12);
}
.yuyue-ios-title {
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.yuyue-ios-badge {
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.65rem;
    color: #fff;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
    font-weight: 500;
}
.yuyue-ios-badge.pending { background: #f44336; }
.yuyue-ios-badge.processing { background: #ffb300; }
.yuyue-ios-badge.completed { background: #43a047; }
.yuyue-ios-progress {
    height: 6px;
    border-radius: 8px;
    background: #f1f3f4;
    margin-bottom: 8px;
    overflow: hidden;
}
.yuyue-ios-progress-bar {
    height: 100%;
    border-radius: 8px;
    transition: width .4s cubic-bezier(.4,0,.2,1);
}
button.btn.btn-danger.yuyue-btn {
    border: 0;
    border-radius: 12px;
    color: #fff;
    padding: 13px 28px;
    background: linear-gradient(88deg, #52E1FF -15.8%, #1169FF 33.76%, #0A5DFF 47.15%, #2D6CFE 69.13%, #F9C9FD 115.45%);
    transition: box-shadow .2s ease;
}
button.btn.btn-danger.yuyue-btn:hover:not(:disabled) {
    background: linear-gradient(88deg, #52E1FF -15.8%, #1169FF 33.76%, #0A5DFF 47.15%, #2D6CFE 69.13%, #F9C9FD 115.45%);
    box-shadow: 0 0 16px 0 #FFF inset, 0 0 14px 0 #80B4FF inset;
}
.yuyue-ios-progress-bar.pending { background: #f44336; }
.yuyue-ios-progress-bar.processing { background: #ffb300; }
.yuyue-ios-progress-bar.completed { background: #43a047; }
.yuyue-ios-btn {
    display: inline-block;
    border: none;
    border-radius: 18px;
    background: linear-gradient(90deg,#4f8cff 0%,#38e6c5 100%);
    color: #fff;
    font-size: 0.85rem;
    padding: 4px 12px;
    margin-top: 22px;
    box-shadow: 0 2px 8px 0 rgba(79,140,255,0.08);
    transition: background .2s, box-shadow .2s, transform .1s;
    cursor: pointer;
    letter-spacing: 1px;
    font-weight: 500;
}
.yuyue-ios-btn:hover {
    background: linear-gradient(90deg,#38e6c5 0%,#4f8cff 100%);
    box-shadow: 0 4px 16px 0 rgba(79,140,255,0.16);
    transform: translateY(-2px) scale(1.03);
}
.yuyue-ios-time {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0;
    margin-top: 8px;
    position: absolute;
    bottom: 24px;
    right: 28px;
}
.yuyue-ios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 900px) {
    .yuyue-ios-list { flex-direction: column; gap: 18px; }
}
/* iOS风格滑动切换按钮 */
.yuyue-ios-switch-group {
  display: flex;
  align-items: center;
  background: var(--is-surface);
  border-radius: 999px;
  padding: 3px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
}
.yuyue-ios-switch-btn {
  flex: 1 1 0;
  border: none;
  background: transparent;
  color: var( --is-font);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 10px 0;
  z-index: 1;
  transition: color .2s;
  position: relative;
  cursor: pointer;
}
.yuyue-ios-switch-btn.active {
  color: #fff;
}
.yuyue-ios-switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 25%;
  height: calc(100% - 6px);
  background: linear-gradient(90deg,#4f8cff 0%,#38e6c5 100%);
  border-radius: 999px;
  transition: left .25s cubic-bezier(.4,0,.2,1);
  z-index: 0;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.08);
}
@media (max-width: 600px) {
  .yuyue-ios-switch-group {
    max-width: 100%;
    width: 100%;
  }
  .yuyue-ios-switch-btn {
    font-size: 0.95rem;
    padding: 10px 0;
  }
}

/* 骨架屏样式 */
.yuyue-skeleton-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.yuyue-skeleton-card {
    width: 325px;
    height: 280px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 24px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (max-width: 900px) {
    .yuyue-skeleton-list { flex-direction: column; }
    .yuyue-skeleton-card { width: 100%; }
}

/* 进度条位置修正 */
.yuyue-ios-progress-wrap {
    position: relative;
    margin-bottom: 28px;
}
.yuyue-progress-value {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}