/* =========================================================================
   کوئیز زنده کلاسی — سیستم طراحی مشترک
   تم تیره، RTL، فونت Vazirmatn، توکن‌های CSS
   ========================================================================= */

@font-face {
  font-family: 'Vazirmatn';
  src: url('/static/fonts/Vazirmatn-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- سطوح و پس‌زمینه --- */
  --bg-0: #0a0918;
  --bg-1: #12102a;
  --surface-solid: #16142e;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-2: rgba(255, 255, 255, 0.16);

  /* --- متن --- */
  --text: #f2f1fb;
  --text-2: #b7b4d6;
  --text-3: #8a86b0;

  /* --- رنگ اصلی و تاکیدی --- */
  --primary: #7c6cf0;
  --primary-2: #a78bfa;
  --primary-ink: #ffffff;
  --accent: #22d3ee;

  /* --- وضعیت --- */
  --success: #34d399;
  --warning: #f59e0b;
  --danger: #f43f5e;

  /* --- پالت نمودار (اعتبارسنجی‌شده روی سطح تیره) --- */
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #9085e9;
  --series-4: #d55181;
  --series-5: #c98500;
  --series-6: #199e70;

  /* --- شعاع و سایه --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-1: 0 4px 16px rgba(0, 0, 0, .28);
  --shadow-2: 0 18px 48px rgba(0, 0, 0, .42);
  --shadow-glow: 0 10px 40px rgba(124, 108, 240, .30);

  /* --- فاصله‌گذاری واکنش‌گرا --- */
  --gap: clamp(12px, 1.4vw, 22px);
  --pad-card: clamp(16px, 1.7vw, 28px);

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* پس‌زمینه aurora */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 48% at 82% 4%, rgba(124, 108, 240, .30), transparent 62%),
    radial-gradient(52% 44% at 8% 12%, rgba(34, 211, 238, .16), transparent 60%),
    radial-gradient(70% 60% at 50% 108%, rgba(167, 139, 250, .18), transparent 65%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 70%);
}
body::after {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 78%);
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.01em; line-height: 1.35; }
p { margin: 0; }
a { color: var(--primary-2); text-decoration: none; }
bdi { unicode-bidi: isolate; }

::selection { background: rgba(124, 108, 240, .45); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .13); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .22); }

/* ============================== لایه‌بندی ============================== */

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 34px);
}
.wrap-narrow { width: min(560px, 100%); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.center { display: grid; place-items: center; }
.screen-center { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.hidden { display: none !important; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.tiny { font-size: .82em; }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }

/* ============================== کارت ============================== */

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--pad-card);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow-1);
  position: relative;
}
.card-hi {
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
  box-shadow: var(--shadow-2);
}
.card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  pointer-events: none;
}

/* ============================== دکمه ============================== */

.btn {
  --btn-bg: var(--glass-2);
  --btn-bg-hover: rgba(255, 255, 255, .13);
  --btn-fg: var(--text);
  appearance: none;
  border: 1px solid var(--border-2);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: clamp(.95rem, 1vw, 1.05rem);
  font-weight: 700;
  padding: .82em 1.5em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.34, 1.4, .64, 1), box-shadow .2s, background .2s, opacity .2s, filter .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  line-height: 1.2;
  user-select: none;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); background: var(--btn-bg-hover); }
.btn:active:not(:disabled) { transform: scale(.96); }
.btn:focus-visible { outline: 3px solid rgba(124, 108, 240, .65); outline-offset: 3px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--primary), #6d5ce0 55%, #5b4cd6);
  --btn-bg-hover: linear-gradient(135deg, #8b7cf5, #7a69ea 55%, #6a5be2);
  --btn-fg: var(--primary-ink);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.btn-accent {
  --btn-bg: linear-gradient(135deg, #26d7f0, #17b8d6);
  --btn-bg-hover: linear-gradient(135deg, #4ee2f8, #2ac7e6);
  --btn-fg: #04222a;
  border-color: transparent;
  box-shadow: 0 10px 34px rgba(34, 211, 238, .28);
}
.btn-danger {
  --btn-bg: linear-gradient(135deg, #f4536b, #d93a55);
  --btn-bg-hover: linear-gradient(135deg, #ff6a80, #e84a64);
  --btn-fg: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(244, 63, 94, .26);
}
.btn-warn {
  --btn-bg: rgba(245, 158, 11, .14);
  --btn-bg-hover: rgba(245, 158, 11, .24);
  --btn-fg: #ffcf6b;
  border-color: rgba(245, 158, 11, .48);
}
.btn-lg { font-size: clamp(1.02rem, 1.35vw, 1.28rem); padding: .95em 2em; }
.btn-block { width: 100%; }
.btn-icon { padding: .6em .85em; border-radius: 14px; }

.btn .spin {
  width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: currentColor;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================== فرم ============================== */

.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: .92rem; font-weight: 700; color: var(--text-2); }
.input, .select, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: .85em 1em;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.8; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 4px rgba(124, 108, 240, .20);
}
.input-code {
  text-align: center;
  letter-spacing: .35em;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  padding: .5em .4em;
  direction: ltr;
}
.err-msg {
  display: none;
  background: rgba(244, 63, 94, .12);
  border: 1px solid rgba(244, 63, 94, .38);
  color: #ffbcc7;
  border-radius: 14px;
  padding: .75em 1em;
  font-size: .95rem;
  animation: shake .4s;
}
.err-msg.show { display: block; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-7px); }
  45% { transform: translateX(6px); }
  70% { transform: translateX(-3px); }
}

/* ============================== نشان و برچسب ============================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .3em .85em;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  background: var(--glass-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.badge-live { background: rgba(52, 211, 153, .13); border-color: rgba(52, 211, 153, .4); color: #86efc4; }
.badge-wait { background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .4); color: #ffd28a; }
.badge-done { background: rgba(124, 108, 240, .16); border-color: rgba(124, 108, 240, .45); color: #cabffd; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: ping 1.8s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ============================== آیکون SVG ============================== */

.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 1.6em; height: 1.6em; }

/* ============================== انیمیشن‌های ورودی ============================== */

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.9); } 60% { transform: scale(1.02); } 100% { opacity: 1; transform: scale(1); } }
@keyframes slideInR { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes softPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .78; transform: scale(1.04); } }

.anim-up { animation: fadeUp .5s cubic-bezier(.22, .9, .3, 1) both; }
.anim-in { animation: fadeIn .45s ease both; }
.anim-pop { animation: popIn .45s cubic-bezier(.22, 1.2, .36, 1) both; }
.anim-slide { animation: slideInR .5s cubic-bezier(.22, .9, .3, 1) both; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .18s; }
.d4 { animation-delay: .24s; } .d5 { animation-delay: .3s; } .d6 { animation-delay: .36s; }

/* ============================== اسکلتون ============================== */

.skel {
  background: linear-gradient(100deg, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, .05) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: 12px;
}
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.skel-line { height: 1em; margin: .45em 0; }

/* ============================== توست ============================== */

.toasts {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
  width: min(420px, calc(100% - 24px));
}
.toast {
  background: rgba(28, 25, 58, .92);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: .7em 1.1em;
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: .6em;
  font-size: .95rem;
  font-weight: 600;
  animation: toastIn .4s cubic-bezier(.22, 1.2, .36, 1) both;
}
.toast.out { animation: toastOut .35s ease forwards; }
.toast-ok { border-color: rgba(52, 211, 153, .45); }
.toast-warn { border-color: rgba(245, 158, 11, .45); }
.toast-err { border-color: rgba(244, 63, 94, .45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px) scale(.97); } }

/* ============================== مودال ============================== */

.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 18, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 300;
  padding: 18px;
  animation: fadeIn .22s ease both;
}
.modal {
  width: min(480px, 100%);
  background: #1a1734;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-2);
  animation: popIn .3s cubic-bezier(.22, 1.2, .36, 1) both;
}

/* ============================== نمودار میله‌ای زنده ============================== */

.bars { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); }
.bar-item { display: flex; flex-direction: column; gap: 6px; }
.bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(.9rem, 1.05vw, 1.4rem);
}
.bar-label { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-nums { color: var(--text-2); font-weight: 700; font-size: .92em; white-space: nowrap; }
.bar-nums .n-count { color: var(--text); }
.bar-track {
  height: clamp(14px, 1.5vw, 26px);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--c, var(--series-1));
  transition: width .75s cubic-bezier(.22, .9, .3, 1);
  position: relative;
  box-shadow: 0 0 18px -4px var(--c, var(--series-1));
}
.bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, .22), transparent 55%);
}
.bar-item.is-correct .bar-fill { --c: var(--success); }
.bar-item.is-correct .bar-label::after {
  content: 'پاسخ درست';
  margin-inline-start: .6em;
  font-size: .72em;
  font-weight: 800;
  color: #7ff0c0;
  background: rgba(52, 211, 153, .15);
  border: 1px solid rgba(52, 211, 153, .4);
  padding: .1em .6em;
  border-radius: 999px;
  vertical-align: middle;
}
.bar-item.is-muted .bar-fill { --c: #6f6a9c; }

/* رینگ پیشرفت پاسخ‌دهی */
.ring { --p: 0; display: grid; place-items: center; position: relative; width: clamp(94px, 9vw, 175px); height: clamp(94px, 9vw, 175px); aspect-ratio: 1; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .ring-bg { stroke: rgba(255, 255, 255, .08); }
.ring .ring-fg { stroke: url(#ringGrad); transition: stroke-dashoffset .7s cubic-bezier(.22, .9, .3, 1); }
.ring-text { text-align: center; line-height: 1.15; z-index: 1; }
.ring-text b { display: block; font-size: clamp(1.15rem, 1.7vw, 2.2rem); font-weight: 800; }
.ring-text span { font-size: .72rem; color: var(--text-2); }

/* ============================== کارت متریک ============================== */

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 15vw, 210px), 1fr));
  gap: var(--gap);
}
.metric {
  background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: clamp(12px, 1.4vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.metric .m-val { font-size: clamp(1.5rem, 2.6vw, 3.1rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.metric .m-lab { font-size: clamp(.76rem, .92vw, 1.15rem); color: var(--text-2); font-weight: 600; }
.metric .m-sub { font-size: .78rem; color: var(--text-3); }
.metric-accent .m-val { background: linear-gradient(120deg, var(--primary-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================== جدول رتبه‌بندی ============================== */

.lb { display: flex; flex-direction: column; gap: 8px; }
.lb-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  padding: clamp(8px, .9vw, 14px) clamp(10px, 1.2vw, 18px);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 14px;
  animation: fadeUp .5s cubic-bezier(.22, .9, .3, 1) both;
}
.lb-rank {
  width: clamp(30px, 3vw, 40px);
  height: clamp(30px, 3vw, 40px);
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, .07);
  font-size: clamp(.85rem, 1.1vw, 1.05rem);
}
.lb-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(.95rem, 1.15vw, 1.5rem); }
.lb-correct { color: var(--text-2); font-size: clamp(.8rem, .95vw, .95rem); white-space: nowrap; }
.lb-score { font-weight: 900; font-size: clamp(1rem, 1.4vw, 1.8rem); white-space: nowrap; }
.lb-row.top1 { background: linear-gradient(100deg, rgba(245, 158, 11, .17), rgba(255, 255, 255, .04)); border-color: rgba(245, 158, 11, .45); }
.lb-row.top1 .lb-rank { background: linear-gradient(135deg, #f7c04a, #e09b1c); color: #34210a; }
.lb-row.top2 { background: linear-gradient(100deg, rgba(203, 213, 225, .13), rgba(255, 255, 255, .04)); border-color: rgba(203, 213, 225, .35); }
.lb-row.top2 .lb-rank { background: linear-gradient(135deg, #e2e8f0, #b6bfcc); color: #23262e; }
.lb-row.top3 { background: linear-gradient(100deg, rgba(217, 119, 60, .15), rgba(255, 255, 255, .04)); border-color: rgba(217, 119, 60, .38); }
.lb-row.top3 .lb-rank { background: linear-gradient(135deg, #d99a5c, #b97434); color: #2c1a08; }
.lb-row.me { outline: 2px solid var(--primary); outline-offset: 1px; }

/* ============================== وضعیت خالی ============================== */

.empty {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  color: var(--text-3);
  padding: clamp(20px, 4vw, 46px);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-md);
}

/* ============================== نوار وضعیت اتصال ============================== */

.netbar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translate(-50%, 24px);
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .5);
  color: #ffd28a;
  border-radius: 999px;
  padding: .5em 1.2em;
  font-size: .88rem;
  font-weight: 600;
  z-index: 190;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: .5em;
}
.netbar.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ============================== گزارش: راهنما، جزئیات سوال، نکات ============================== */

.legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .85rem; color: var(--text-2); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }

.qrow {
  cursor: pointer;
  padding: 10px 12px;
  margin-inline: -12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.qrow:hover, .qrow:focus-visible { background: rgba(255, 255, 255, .05); border-color: var(--border); outline: none; }
.qrow.open { background: rgba(255, 255, 255, .05); border-color: var(--border-2); }
.qrow .bar-label { white-space: normal; }
.qrow .bar-head { align-items: flex-start; }
.bar-tag { font-size: .78rem; font-weight: 800; margin-top: 4px; }

.qdetail { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.22, .9, .3, 1); }
.qdetail-inner { padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }

.insights { display: flex; flex-direction: column; gap: 10px; }
.insight {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(124, 108, 240, .10);
  border: 1px solid rgba(124, 108, 240, .28);
  border-radius: 14px;
  padding: 12px 14px;
  line-height: 1.85;
  animation: fadeUp .5s cubic-bezier(.22, .9, .3, 1) both;
}
.insight .ico { color: var(--primary-2); margin-top: .35em; }

.qdetail .bar-label { white-space: normal; }

@media (max-width: 560px) {
  .lb-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "rank name score" ". correct correct";
    row-gap: 2px;
  }
  .lb-rank { grid-area: rank; }
  .lb-name { grid-area: name; }
  .lb-score { grid-area: score; }
  .lb-correct { grid-area: correct; }
}
