* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f1117; color: #e1e4e8; padding: 1rem; max-width: 1200px; margin: 0 auto; }
header { margin-bottom: 1.5rem; }
h1 { font-size: 1.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
#search-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tab { padding: 0.5rem 1rem; background: #1c1f26; border: 1px solid #30363d; border-radius: 6px; cursor: pointer; color: #8b949e; font-size: 0.9rem; }
.tab.active { background: #238636; color: #fff; border-color: #238636; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.stat { background: #1c1f26; border: 1px solid #30363d; border-radius: 8px; padding: 1rem; }
.stat .label { font-size: 0.75rem; color: #8b949e; text-transform: uppercase; }
.stat .value { font-size: 1.4rem; font-weight: 700; margin-top: 0.25rem; }
.chart-container { background: #1c1f26; border: 1px solid #30363d; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #1c1f26; border-radius: 8px; overflow: hidden; }
th, td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid #21262d; font-size: 0.85rem; }
th { background: #161b22; color: #8b949e; font-weight: 600; text-transform: uppercase; font-size: 0.75rem; }
tr:hover { background: #21262d; }
.price-down { color: #3fb950; }
.price-up { color: #f85149; }
.price-same { color: #8b949e; }
a { color: #58a6ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.notes { background: #1c1f26; border: 1px solid #30363d; border-radius: 8px; padding: 1rem; margin-top: 1rem; color: #8b949e; font-style: italic; }
#loading, #empty { text-align: center; padding: 3rem; color: #8b949e; }
code { background: #21262d; padding: 0.2rem 0.4rem; border-radius: 4px; font-size: 0.85rem; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
