/* 全局变量和基础样式 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --primary: #ff6b6b;
  --primary-light: #ff8e8e;
  --primary-dark: #e55a5a;
  --secondary: #4ecdc4;
  --dark: #333;
  --gray: #666;
  --light-gray: #f5f5f5;
  --white: #fff;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  color: var(--dark);
  line-height: 1.6;
  padding-bottom: 80px;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 通用样式 */
.section-title {
  display: flex;
  align-items: center;
  margin: 0 0 15px;
  position: relative;
  padding-left: 12px;
  font-size: 18px;
  color: var(--dark);

  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
  }
}

.card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 20px;
  margin-bottom: 15px;
}

@media (max-width: 480px) {
  .history-grid {
    grid-template-columns: 1fr !important;
  }
}
/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  color: var(--dark);
  line-height: 1.6;
}

/* 动画 */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  20% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}