:root {
  --bg: #f5f5f0;
  --card: #ffffff;
  --accent: #FF6B35;
  --accent-hover: #e55a2a;
  --accent-soft: rgba(255, 107, 53, 0.10);
  --text: #1a1a1a;
  --text-muted: #666666;
  --text-tertiary: #999999;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 14px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.site-header { padding: 40px 0 28px; border-bottom: 1px solid var(--border); background: var(--card); }
.brand { font-size: 1.75rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; display: inline-block; }
.brand:hover { text-decoration: none; }
.brand-smile { color: var(--accent); }
.brand-sep { color: var(--text-tertiary); margin: 0 6px; font-weight: 400; }
.brand-digest { color: var(--text-muted); font-weight: 500; }
.tagline { color: var(--text-muted); margin: 8px 0 4px; font-size: 0.95rem; }
.updated { color: var(--text-tertiary); margin: 0; font-size: 0.85rem; }
.tg-link {
  display: inline-block; margin-top: 16px; padding: 8px 14px;
  background: var(--accent); color: #fff; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; transition: background 0.15s ease;
}
.tg-link:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }

main { padding: 32px 0 64px; }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }

.card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.meta { font-size: 0.8rem; color: var(--text-tertiary); line-height: 1.4; }
.meta .source { font-weight: 500; color: var(--text-muted); }
.meta .sep { margin: 0 4px; }

.score {
  flex-shrink: 0; min-width: 28px; height: 28px; padding: 0 8px;
  background: var(--accent-soft); color: var(--accent); border-radius: 14px;
  font-size: 0.8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.card-title { font-size: 1.1rem; line-height: 1.35; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); text-decoration: none; }

.card-summary { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; margin: 0 0 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 0.75rem; padding: 3px 10px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; font-weight: 500; white-space: nowrap;
}

.card-link { margin-top: auto; font-size: 0.9rem; font-weight: 500; color: var(--accent); }

.empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted); background: var(--card); border-radius: var(--radius);
}

.site-footer { padding: 32px 0; border-top: 1px solid var(--border); background: var(--card); }
.site-footer p { margin: 4px 0; font-size: 0.9rem; color: var(--text-muted); }
.site-footer .muted { color: var(--text-tertiary); font-size: 0.85rem; }
