* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0a0e17; color: #e0e6ed; }
.header { background: linear-gradient(135deg, #1a1f2e, #0d1117); padding: 20px 30px; border-bottom: 1px solid #21262d; display: flex; justify-content: space-between; align-items: center; }
.header h1 { font-size: 24px; color: #58a6ff; }
.header .status { font-size: 14px; color: #7ee787; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding: 20px; }
.card { background: #161b22; border: 1px solid #21262d; border-radius: 8px; padding: 20px; }
.card h2 { font-size: 14px; color: #8b949e; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.stat { font-size: 36px; font-weight: 700; color: #58a6ff; }
.stat-label { font-size: 13px; color: #8b949e; margin-top: 4px; }
.stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #21262d; }
.stat-row.spaced { margin-top: 12px; }
.stat-row:last-child { border-bottom: none; }
.stat-row .label { color: #8b949e; }
.stat-row .value { color: #e0e6ed; font-weight: 500; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; padding: 8px 12px; color: #8b949e; border-bottom: 1px solid #21262d; font-weight: 500; }
td { padding: 8px 12px; border-bottom: 1px solid #161b22; }
tr:hover td { background: #1c2128; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.badge-open { background: #1f6feb33; color: #58a6ff; }
.badge-finalized { background: #23863533; color: #7ee787; }
.badge-claimed { background: #d29922; color: #0a0e17; }
.badge-active { background: #a371f733; color: #bc8cff; }
.wide { grid-column: 1 / -1; }
.refresh-bar { text-align: center; padding: 8px; font-size: 12px; color: #484f58; }
#error { background: #da363333; color: #f85149; padding: 12px 20px; text-align: center; }
#error[hidden] { display: none; }
