/* NAND/DRAM News — minimal static styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafafa;
  --surface: #fff;
  --border: #e0e0e0;
  --text: #1a1a1a;
  --text-muted: #666;
  --accent: #2563eb;
  --ok: #16a34a;
  --fail: #dc2626;
  --font: system-ui, -apple-system, sans-serif;
}

body { background: var(--bg); color: var(--text); font-family: var(--font);
       line-height: 1.6; min-height: 100vh;
       display: flex; flex-direction: column; }
.container { max-width: 900px; margin: 0 auto; padding: 0 1rem; }

header { background: var(--surface); border-bottom: 1px solid var(--border);
         padding: 1rem 0; }
header h1 { font-size: 1.25rem; margin-bottom: 0.5rem; }
header h1 a { text-decoration: none; color: var(--text); }
nav a { margin-right: 1rem; color: var(--accent); text-decoration: none; font-size: 0.9rem; }
nav a:hover { text-decoration: underline; }

main { flex: 1; padding: 1.5rem 0; }

/* Feed index list */
.feed-list { list-style: none; }
.feed-list li { display: flex; align-items: baseline; gap: 0.75rem;
                padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.feed-list li:last-child { border-bottom: none; }
.feed-list .feed-name { font-weight: 600; min-width: 160px; }
.feed-list .feed-badge { font-size: 0.8rem; padding: 0.1rem 0.4rem;
                          border-radius: 3px; background: var(--ok); color: #fff; }
.feed-list .feed-badge.fail { background: var(--fail); }
.feed-list .feed-count { color: var(--text-muted); font-size: 0.85rem; }

/* Section heading */
.section-title { font-size: 1rem; color: var(--text-muted);
                 border-bottom: 1px solid var(--border);
                 padding-bottom: 0.3rem; margin: 1.5rem 0 0.75rem; }

/* Article items */
.item { background: var(--surface); border: 1px solid var(--border);
        border-radius: 6px; padding: 1rem; margin-bottom: 0.75rem; }
.item-header { display: flex; justify-content: space-between; align-items: center;
               margin-bottom: 0.4rem; }
.feed-badge { font-size: 0.75rem; padding: 0.1rem 0.4rem;
              border-radius: 3px; background: var(--accent); color: #fff; }
time { font-size: 0.8rem; color: var(--text-muted); }
.item h2 { font-size: 1rem; margin-bottom: 0.3rem; }
.item h2 a { color: var(--accent); text-decoration: none; }
.item h2 a:hover { text-decoration: underline; }
.summary { font-size: 0.875rem; color: var(--text-muted);
           overflow: hidden; display: -webkit-box;
           -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Archive pages */
.archive-meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1rem; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 1rem 0;
         color: var(--text-muted); font-size: 0.8rem; text-align: center; }

/* Responsive */
@media (max-width: 600px) {
  .feed-list .feed-name { min-width: 120px; }
  .item-header { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
}
