* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; }
nav { background: #1a73e8; color: white; padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
nav .logo { color: white; text-decoration: none; font-weight: bold; font-size: 18px; cursor: pointer; }
nav .nav-links { display: flex; gap: 16px; flex: 1; }
nav .nav-links a { color: rgba(255,255,255,0.9); text-decoration: none; cursor: pointer; }
nav .nav-links a:hover { color: white; }
.auth-section { display: flex; align-items: center; gap: 12px; }
.auth-section span { font-size: 13px; opacity: 0.9; }
.auth-section button { padding: 6px 12px; border: 1px solid rgba(255,255,255,0.5); background: transparent; color: white; border-radius: 4px; cursor: pointer; font-size: 13px; }
.auth-section button:hover { background: rgba(255,255,255,0.1); }
main { max-width: 800px; margin: 24px auto; padding: 0 16px; }
h1 { margin-bottom: 20px; }
#loading { text-align: center; padding: 40px; color: #666; }
.error { color: #dc3545; padding: 20px; }
.digest-list { list-style: none; }
.digest-list li { background: white; margin-bottom: 8px; border-radius: 8px; }
.digest-list a { display: block; padding: 16px; text-decoration: none; color: #333; cursor: pointer; }
.digest-list .status { color: #666; font-size: 13px; margin-left: 12px; }
.article-card { background: white; padding: 16px; margin-bottom: 12px; border-radius: 8px; border-left: 3px solid #1a73e8; }
.article-card h3 a { color: #1a73e8; text-decoration: none; }
.article-card .source { color: #666; font-size: 13px; margin: 4px 0 8px; }
.article-card .summary { line-height: 1.5; }
.article-card .meta { margin-top: 8px; font-size: 12px; color: #999; }
.add-feed-form { display: flex; gap: 8px; margin-bottom: 20px; }
.add-feed-form input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; }
.add-feed-form input[type="url"] { flex: 1; }
.add-feed-form button, .remove-btn { padding: 8px 16px; background: #1a73e8; color: white; border: none; border-radius: 4px; cursor: pointer; }
.remove-btn { background: #dc3545; font-size: 12px; padding: 4px 8px; }
.feed-list { list-style: none; }
.feed-list li { background: white; padding: 12px 16px; margin-bottom: 8px; border-radius: 8px; display: flex; align-items: center; gap: 12px; }
.feed-url { flex: 1; }
.category { background: #e8f0fe; color: #1a73e8; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
table { width: 100%; background: white; border-radius: 8px; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee; }
.score-bar { height: 12px; background: #1a73e8; border-radius: 6px; min-width: 4px; }
