/* =====================================================
   SAEMS — Symposium & Academic Events Management
   Design: "Academic Command Centre"
   Palette: Midnight Navy · Warm Gold · Ivory
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy:        #0B1829;
  --navy-mid:    #122140;
  --navy-soft:   #1A3054;
  --gold:        #C9A84C;
  --gold-light:  #E2C97A;
  --gold-dim:    #8A6E2E;
  --ivory:       #F5F0E8;
  --ivory-dark:  #EDE6D6;
  --white:       #FFFFFF;
  --text-main:   #E8E2D6;
  --text-muted:  #8A99AE;
  --danger:      #E05252;
  --success:     #3DB87A;
  --warning:     #E8A330;
  --info:        #4AACCC;
  --border:      rgba(201,168,76,0.18);
  --card-bg:     #122140;
  --sidebar-w:   260px;
  --topbar-h:    64px;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,0.3);
  --transition:  0.22s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.login-page::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,172,204,0.06) 0%, transparent 70%);
  bottom: -150px; left: -150px;
  pointer-events: none;
}
.login-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.5s ease both;
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .crest {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 14px;
  box-shadow: 0 0 0 6px rgba(201,168,76,0.12);
}
.login-logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--gold);
  letter-spacing: 2px;
}
.login-logo p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.login-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.form-control, .form-select {
  background: var(--navy);
  border: 1.5px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 0.93rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: var(--navy);
  color: var(--text-main);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-valid   { border-color: var(--success); }
.form-select option { background: var(--navy-mid); }

textarea.form-control { resize: vertical; min-height: 100px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); }
.btn-danger  { background: var(--danger);  color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-info    { background: var(--info);    color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 13px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ============================================================
   LAYOUT — SIDEBAR + TOPBAR
   ============================================================ */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  width: var(--sidebar-w);
  background: var(--navy-mid);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-brand .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sidebar-brand .brand-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold);
  line-height: 1.2;
}
.sidebar-brand .brand-text p {
  font-size: 0.66rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.sidebar-section {
  padding: 16px 14px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.sidebar-nav { list-style: none; padding: 0 8px; }
.sidebar-nav li { margin-bottom: 2px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.sidebar-nav a .nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-nav a:hover {
  background: rgba(201,168,76,0.08);
  color: var(--text-main);
}
.sidebar-nav a.active {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-weight: 600;
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}
.sidebar-nav .badge-count {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--border);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(201,168,76,0.06);
}
.sidebar-user .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.sidebar-user .user-info { flex: 1; min-width: 0; }
.sidebar-user .user-info strong { display: block; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .user-info span { font-size: 0.72rem; color: var(--text-muted); }

/* --- Topbar --- */
.topbar {
  height: var(--topbar-h);
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 90;
}
.topbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text-main);
}
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
  position: relative;
}
.topbar-btn:hover { border-color: var(--gold); color: var(--gold); }
.topbar-btn .notif-dot {
  width: 7px; height: 7px;
  background: var(--danger);
  border-radius: 50%;
  position: absolute; top: 6px; right: 6px;
}

/* --- Main content --- */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-content { padding: 28px; flex: 1; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-main);
}
.card-body { padding: 22px; }
.card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; align-items: flex-start; gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0.06;
  transform: translate(20px, -20px);
}
.stat-card.gold::after   { background: var(--gold); }
.stat-card.blue::after   { background: var(--info); }
.stat-card.green::after  { background: var(--success); }
.stat-card.red::after    { background: var(--danger); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-card.gold  .stat-icon { background: rgba(201,168,76,0.15); color: var(--gold); }
.stat-card.blue  .stat-icon { background: rgba(74,172,204,0.15); color: var(--info); }
.stat-card.green .stat-icon { background: rgba(61,184,122,0.15); color: var(--success); }
.stat-card.red   .stat-icon { background: rgba(224,82,82,0.15);  color: var(--danger); }
.stat-info h2 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-info p { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper { overflow-x: auto; }
table.saems-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
.saems-table thead th {
  background: rgba(201,168,76,0.08);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.saems-table tbody tr {
  border-bottom: 1px solid rgba(201,168,76,0.06);
  transition: background var(--transition);
}
.saems-table tbody tr:hover { background: rgba(201,168,76,0.04); }
.saems-table tbody td { padding: 12px 16px; vertical-align: middle; }
.saems-table tbody tr:last-child { border-bottom: none; }

/* ============================================================
   BADGES & STATUSES
   ============================================================ */
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 20px;
}
.bg-success  { background: rgba(61,184,122,0.18)  !important; color: var(--success)  !important; }
.bg-warning  { background: rgba(232,163,48,0.18)  !important; color: var(--warning)  !important; }
.bg-danger   { background: rgba(224,82,82,0.18)   !important; color: var(--danger)   !important; }
.bg-info     { background: rgba(74,172,204,0.18)  !important; color: var(--info)     !important; }
.bg-primary  { background: rgba(201,168,76,0.18)  !important; color: var(--gold)     !important; }
.bg-secondary{ background: rgba(138,153,174,0.18) !important; color: var(--text-muted)!important; }

/* ============================================================
   ALERTS & FLASH
   ============================================================ */
.alert {
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  border: 1px solid;
}
.alert-success { background: rgba(61,184,122,0.12);  border-color: rgba(61,184,122,0.3);  color: var(--success); }
.alert-danger  { background: rgba(224,82,82,0.12);   border-color: rgba(224,82,82,0.3);   color: var(--danger); }
.alert-warning { background: rgba(232,163,48,0.12);  border-color: rgba(232,163,48,0.3);  color: var(--warning); }
.alert-info    { background: rgba(74,172,204,0.12);  border-color: rgba(74,172,204,0.3);  color: var(--info); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-header-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-main);
  line-height: 1.2;
}
.page-header-left .breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.breadcrumb span { color: var(--gold-dim); }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--gold); }
.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.88rem;
  width: 220px;
}
.search-bar input::placeholder { color: var(--text-muted); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }
.modal-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%; max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: slideUp 0.25s ease;
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}
.modal-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 1.2rem; cursor: pointer;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--danger); }
.modal-body  { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ============================================================
   TABS
   ============================================================ */
.tab-nav {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none; background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-btn:hover:not(.active) { color: var(--text-main); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.2s ease; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-dot {
  position: absolute;
  left: -24px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--navy-mid);
}
.timeline-dot.gold    { background: var(--gold); }
.timeline-dot.green   { background: var(--success); }
.timeline-dot.red     { background: var(--danger); }
.timeline-dot.blue    { background: var(--info); }
.timeline-dot.grey    { background: var(--text-muted); }
.timeline-time { font-size: 0.73rem; color: var(--text-muted); margin-bottom: 3px; }
.timeline-content p  { font-size: 0.88rem; }

/* ============================================================
   PROGRESS
   ============================================================ */
.progress-bar-wrap {
  background: rgba(201,168,76,0.1);
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 0.6s ease;
}

/* ============================================================
   CHIPS / TAGS
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ============================================================
   CODE / CANDIDATE CODES
   ============================================================ */
.candidate-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.hamburger {
  display: none;
  background: none; border: none;
  color: var(--text-main); font-size: 1.3rem;
  cursor: pointer; padding: 4px;
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .hamburger { display: flex; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .page-content { padding: 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .login-card { padding: 32px 24px; margin: 16px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }  .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mt-1{margin-top:4px} .mt-2{margin-top:8px} .mt-3{margin-top:16px} .mt-4{margin-top:24px}
.mb-1{margin-bottom:4px} .mb-2{margin-bottom:8px} .mb-3{margin-bottom:16px} .mb-4{margin-bottom:24px}
.text-muted   { color: var(--text-muted) !important; }
.text-gold    { color: var(--gold) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.fw-bold { font-weight: 700; }
.fw-600  { font-weight: 600; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp  { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin     { to { transform: rotate(360deg); } }

.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:768px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

/* ============================================================
   LEADERBOARD
   ============================================================ */
.leaderboard-row { display:flex; align-items:center; gap:14px; padding:12px; border-radius:8px; transition:background var(--transition); }
.leaderboard-row:hover { background:rgba(201,168,76,0.05); }
.rank-num { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:700; color:var(--text-muted); width:32px; text-align:center; }
.rank-num.rank-1 { color:#FFD700; }
.rank-num.rank-2 { color:#C0C0C0; }
.rank-num.rank-3 { color:#CD7F32; }
.rank-score { margin-left:auto; font-family:'JetBrains Mono',monospace; font-size:1rem; font-weight:600; color:var(--gold); }
