/* GitHub Premium — polished minimal style + animations */
:root{
  --bg-dark: #0b0d0f;
  --card-dark: #0f1113;
  --muted-dark: #9aa0a6;
  --text-dark: #e6eef3;

  --bg-light: #fbfcfe;
  --card-light: #ffffff;
  --muted-light: #6b7280;
  --text-light: #0b1320;

  --accent: #2563eb;
  --radius: 12px;
  --shadow-dark: 0 10px 30px rgba(2,6,23,0.35);
  --shadow-light: 0 8px 24px rgba(9,30,66,0.06);
  --glass: rgba(255,255,255,0.02);
}

/* theme */
:root[data-theme="dark"]{
  --bg: var(--bg-dark);
  --card: var(--card-dark);
  --muted: var(--muted-dark);
  --text: var(--text-dark);
  --shadow: var(--shadow-dark);
}
:root[data-theme="light"]{
  --bg: var(--bg-light);
  --card: var(--card-light);
  --muted: var(--muted-light);
  --text: var(--text-light);
  --shadow: var(--shadow-light);
}
:root{ --bg: var(--bg-dark); --card: var(--card-dark); --muted: var(--muted-dark); --text: var(--text-dark); }

/* base */
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;transition:background .25s,color .25s}
a{color:var(--accent);text-decoration:underline}
.muted{color:var(--muted)}
.small{font-size:13px}

/* header */
.site-header{border-bottom:1px solid rgba(255,255,255,0.03);padding:18px 0}
.site-header .inner{max-width:1100px;margin:0 auto;padding:0 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.brand{flex:1}
.name{margin:0;font-size:20px;font-weight:700}
.handle{font-weight:600;color:var(--muted);margin-left:8px;font-size:14px}
.subtitle{margin:6px 0 0;color:var(--muted);font-size:13px}
.header-actions{display:flex;align-items:center;gap:12px}

/* chips */
.nav-chips{display:flex;gap:8px;align-items:center}
.chip{padding:8px 12px;border-radius:999px;background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted);cursor:pointer;transition:all .18s}
.chip:hover{transform:translateY(-1px);border-color:var(--accent);color:var(--text)}
.chip.active{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border-color:var(--accent);color:var(--text);box-shadow:0 6px 18px rgba(2,6,23,0.25)}

/* main layout */
.main{max-width:1100px;margin:22px auto;padding:0 20px}
.top-cards{display:flex;gap:16px;align-items:flex-start;margin-bottom:18px}
.card{background:var(--card);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);transition:transform .18s, box-shadow .18s}
.card:hover{transform:translateY(-4px)}
.hero-card{flex:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:28px}
.hero-left{display:flex;flex-direction:column}
.big-number{font-size:40px;font-weight:700}
.hero-right{display:flex;gap:18px;align-items:center}
.small-stat{text-align:right}
.small-stat span{display:block;font-weight:700;font-size:18px}
.quick-card{width:300px}

/* analytics */
.analytics-section{margin-top:10px}
.section-title{margin:8px 0 12px 2px;font-size:18px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card .card-title{margin:0 0 8px 0;font-size:14px;font-weight:700}
.chart-wrap{height:180px;display:flex;align-items:center}

/* latest */
.latest-section{margin-top:20px}
.contrib-list{list-style:none;padding:0;margin:0}
.contrib-list li{padding:10px 0;border-bottom:1px dashed rgba(255,255,255,0.03);display:flex;gap:12px;align-items:flex-start;opacity:1;transform:none}
.badge{display:inline-block;background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted);padding:4px 8px;border-radius:999px;font-size:12px;margin-right:8px}

/* responsive */
@media (max-width:960px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .top-cards{flex-direction:column}
  .quick-card{width:100%}
}
@media (max-width:640px){
  .grid{grid-template-columns:1fr}
  .name{font-size:18px}
  .big-number{font-size:34px}
}
