* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: #f5f6f7;
  color: #1f2329;
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
}

.header {
  background: #07c160;
  color: #fff;
  padding: 28px 20px 22px;
}
.header h1 { font-size: 20px; font-weight: 600; }
.header p { font-size: 13px; opacity: .9; margin-top: 6px; }

.tabs {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.tab {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 14px;
  background: #f0f1f2;
  color: #4e5969;
  border: none;
  cursor: pointer;
}
.tab.active { background: #07c160; color: #fff; }

.card {
  background: #fff;
  border-radius: 10px;
  margin: 12px 16px;
  padding: 16px;
  cursor: pointer;
  transition: background .15s;
}
.card:active { background: #f2f3f4; }
.card .badge {
  display: inline-block;
  font-size: 12px;
  color: #07c160;
  background: rgba(7, 193, 96, .1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 14px; color: #4e5969; line-height: 1.6; }

.detail {
  background: #fff;
  margin: 12px 16px;
  border-radius: 10px;
  padding: 20px;
}
.detail h2 { font-size: 18px; margin-bottom: 10px; }
.detail .meta { font-size: 13px; color: #86909c; margin-bottom: 14px; }
.detail .desc { font-size: 15px; line-height: 1.8; color: #1f2329; }
.btn {
  display: block;
  text-align: center;
  background: #07c160;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  text-decoration: none;
  margin-top: 20px;
}
.back {
  display: inline-block;
  margin: 14px 16px 0;
  color: #4e5969;
  font-size: 14px;
  text-decoration: none;
}
.empty { text-align: center; color: #86909c; padding: 60px 0; font-size: 14px; }
