:root { --bg-primary: #0d1117; --bg-secondary: #161b22; --bg-hover: #1c2128; --text-primary: #c9d1d9; --text-secondary: #a8b3c0; --border-color: #30363d; --accent-color: #58a6ff; --success-color: #3fb950; --warn-color: #d29922; --error-color: #f85149; --bottom-grid-height: clamp(80vh, 95vh, 100vh); --scrollbar-track: rgba(255, 255, 255, 0.04); --scrollbar-thumb: rgba(201, 209, 217, 0.22); --scrollbar-thumb-hover: rgba(201, 209, 217, 0.35); } @media (prefers-color-scheme: light) { :root { --bg-primary: #ffffff; --bg-secondary: #f6f8fa; --bg-hover: #f0f3f6; --text-primary: #24292f; --text-secondary: #57606a; --border-color: #d0d7de; --accent-color: #0969da; --success-color: #1a7f37; --warn-color: #9a6700; --error-color: #cf222e; --scrollbar-track: rgba(0, 0, 0, 0.04); --scrollbar-thumb: rgba(36, 41, 47, 0.18); --scrollbar-thumb-hover: rgba(36, 41, 47, 0.3); } } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; max-width: 75rem; margin: 0 auto; padding: 1rem; background: var(--bg-primary); color: var(--text-primary); } .grid { display: grid; gap: 1rem; margin-bottom: 1rem; } .grid-bottom { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 0; } .stat { background: var(--bg-secondary); padding: 1rem 1.875rem; border-radius: 0.75rem; border: 1px solid var(--border-color); } .label { color: var(--text-secondary); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.0625em; margin-bottom: 0.9375rem; } .metric-row { display: grid; grid-template-columns: minmax(auto, 11.25rem) auto; gap: 7.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); } .metric-row > span:first-child { color: var(--text-secondary); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.03125em; } [title] { cursor: help; } .metric-row > span:last-child { font-weight: 600; font-size: 0.9375rem; } .metric-row:last-child { border-bottom: none; } table { width: 100%; border-collapse: collapse; } .table-scroll { overflow: auto; scrollbar-gutter: stable; } .table-scroll, #activity-log { scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); } .table-scroll::-webkit-scrollbar, #activity-log::-webkit-scrollbar { width: 0.625rem; height: 0.625rem; } .table-scroll::-webkit-scrollbar-track, #activity-log::-webkit-scrollbar-track { background: var(--scrollbar-track); border-radius: 999px; } .table-scroll::-webkit-scrollbar-thumb, #activity-log::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border: 2px solid transparent; background-clip: content-box; border-radius: 999px; } .table-scroll::-webkit-scrollbar-thumb:hover, #activity-log::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); border: 2px solid transparent; background-clip: content-box; } .table-scroll table { margin-top: 0; } #activity-log { overflow: auto; scrollbar-gutter: stable; } th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 0.9375rem; } th { background: var(--bg-primary); color: var(--text-secondary); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; } tr:hover { background: var(--bg-hover); } tr:last-child td { border-bottom: none; } .error { color: var(--error-color); } .success-rate { color: var(--success-color); } .warn-rate { color: var(--warn-color); } .flag { font-size: 1.25rem; margin-right: 0.5rem; } .left-column { display: flex; flex-direction: column; gap: 1rem; } #activity-log { font-size: 0.8125rem; line-height: 1.8; } #activity-log .loading { color: var(--text-secondary); } .activity-table { width: 100%; } .activity-table th, .activity-table td { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; } .activity-table td { color: var(--text-primary); font-weight: 600; font-size: 0.9375rem; } .activity-table td:first-child { color: var(--text-secondary); font-weight: 400; } .activity-table .rate { color: var(--text-secondary); font-size: 0.75rem; display: block; } .activity-table tr:nth-child(even) { background: var(--bg-hover); } @media (min-width: 769px) { .grid-bottom { height: var(--bottom-grid-height); align-items: stretch; } .left-column { height: 100%; min-height: 0; } .left-column > .stat:first-child { flex-shrink: 0; } .left-column > .stat:last-child { flex: 1; display: flex; flex-direction: column; min-height: 0; } .grid-bottom > .stat:last-child { flex: 1; display: flex; flex-direction: column; min-height: 0; } .grid-bottom > .stat:last-child #activity-log { flex: 1; min-height: 0; } .grid-bottom > .stat { display: flex; flex-direction: column; min-height: 0; max-height: 100%; } .grid-bottom > .stat .table-scroll { flex: 1; min-height: 0; overflow: auto; } } @media (max-width: 768px) { body { padding: 0.625rem; } .grid { gap: 0.625rem; margin-bottom: 0.625rem; } .left-column { gap: 0.625rem; } .grid-bottom { display: flex; flex-direction: column; height: auto; } .left-column { display: contents; } .left-column > .stat:first-child { order: 1; } .left-column > .stat:last-child { order: 3; } .grid-bottom > .stat:last-child { order: 2; } .stat { padding: 0.5rem 0.75rem; } .label { font-size: 0.9375rem; margin-bottom: 0.75rem; } th, td { padding: 0.5rem 0.25rem; } #countries td:nth-child(3) { color: var(--text-secondary); font-size: 0.8125rem; } #countries td, .activity-table td { font-size: 0.9375rem; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; } .activity-table td:first-child { font-weight: 400; } .metric-row { flex-wrap: nowrap; gap: 1rem; } .metric-row > span:last-child { text-align: right; } #activity-log { max-height: clamp(50vh, 60vh, 70vh); } .table-scroll { max-height: clamp(45vh, 55vh, 65vh); } }