/* Learning Dashboard — premium compact */

.neuroege-dashboard {
  position: relative;
  margin: 0.4rem 0.5rem;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background:
    radial-gradient(130% 90% at 100% -10%, rgba(124, 58, 237, 0.16) 0%, transparent 52%),
    radial-gradient(90% 70% at -5% 105%, rgba(56, 189, 248, 0.08) 0%, transparent 48%),
    linear-gradient(168deg, rgba(20, 28, 42, 0.98) 0%, rgba(10, 14, 24, 0.97) 100%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(124, 58, 237, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(241, 245, 249, 0.97);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  flex: 0 0 auto;
  min-width: 0;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.neuroege-dashboard--ready {
  opacity: 1;
  transform: translateY(0);
}

/* Glow overlay */
.neuroege-dashboard__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 55%;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Shine streak */
.neuroege-dashboard__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.04) 49%, transparent 58%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

/* Inner content */
.neuroege-dashboard__inner {
  position: relative;
  z-index: 2;
  padding: 0.7rem 0.85rem 0.65rem;
}

/* Header */
.neuroege-dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 8px;
}

.neuroege-dashboard__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(90deg, #ecfdf5 0%, #6ee7b7 55%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.18));
}

.neuroege-dashboard__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 10px;
  color: #6ee7b7;
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.24) 0%, rgba(16, 185, 129, 0.1) 100%);
  box-shadow:
    0 0 14px rgba(52, 211, 153, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.neuroege-dashboard__title-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.neuroege-dashboard__header-difficulty {
  margin: 0;
  flex: 0 0 auto;
  margin-left: auto;
}

.neuroege-dashboard__header-difficulty .hf-game-hub__task-meta-row {
  border-bottom: none;
  padding: 0;
  gap: 0.45rem;
}

.neuroege-dashboard__header-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  text-align: right;
}

.neuroege-dashboard__header-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
}

.neuroege-dashboard__header-stat-label {
  color: rgba(148, 163, 184, 0.95);
  font-weight: 500;
}

.neuroege-dashboard__header-stat-value {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.neuroege-dashboard__header-stat-value[data-hf-game-difficulty] {
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1;
  font-weight: 400;
  background: linear-gradient(90deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.35));
}

.neuroege-dashboard__header-stat-sep {
  color: rgba(148, 163, 184, 0.55);
  font-weight: 500;
  user-select: none;
}

[data-theme="light"] .neuroege-dashboard__header-stat-label {
  color: #64748b;
}

[data-theme="light"] .neuroege-dashboard__header-stat-sep {
  color: #94a3b8;
}

/* Metrics chips row */
.neuroege-dashboard__metrics {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.neuroege-dashboard__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.16);
  color: #c4b5fd;
}

.neuroege-dashboard__chip--xp { color: #a78bfa; border-color: rgba(167, 139, 250, 0.2); }
.neuroege-dashboard__chip--solved { color: #34d399; border-color: rgba(52, 211, 153, 0.2); background: rgba(52, 211, 153, 0.05); }
.neuroege-dashboard__chip--streak { color: #fbbf24; border-color: rgba(251, 191, 36, 0.18); background: rgba(251, 191, 36, 0.04); }
.neuroege-dashboard__chip--today { color: #60a5fa; border-color: rgba(96, 165, 250, 0.18); background: rgba(96, 165, 250, 0.05); }

.neuroege-dashboard__chip-value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Skills progress bars */
.neuroege-dashboard__skills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.neuroege-dash-skill {
  display: flex;
  align-items: center;
  gap: 7px;
}

.neuroege-dash-skill__label {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  min-width: 50px;
}

.neuroege-dash-skill__track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.08);
  overflow: hidden;
}

.neuroege-dash-skill__fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.neuroege-dash-skill__fill--logic {
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.neuroege-dash-skill__fill--python {
  background: linear-gradient(90deg, #34d399, #059669);
}

.neuroege-dash-skill__fill--tables {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.neuroege-dash-skill__pct {
  font-size: 10px;
  font-weight: 700;
  color: #cbd5e1;
  min-width: 28px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Chart */
.neuroege-dashboard__chart-section {
  margin-bottom: 8px;
}

.neuroege-dashboard__chart-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(90deg, #ede9fe 0%, #a78bfa 42%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.2));
}

.neuroege-dashboard__chart-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 10px;
  color: #a78bfa;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.24) 0%, rgba(79, 70, 229, 0.1) 100%);
  box-shadow:
    0 0 14px rgba(124, 58, 237, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.neuroege-dashboard__chart-title-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

[data-theme="light"] .neuroege-dashboard__chart-title {
  background: linear-gradient(90deg, #5b21b6 0%, #7c3aed 45%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

[data-theme="light"] .neuroege-dashboard__chart-title-icon {
  color: #7c3aed;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.16) 0%, rgba(79, 70, 229, 0.08) 100%);
  box-shadow:
    0 0 10px rgba(124, 58, 237, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.neuroege-dashboard__section-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}

.neuroege-dashboard__chart {
  display: flex;
  align-items: stretch;
  gap: 5px;
  height: 44px;
}

.neuroege-dash-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  min-width: 0;
}

.neuroege-dash-bar__track {
  flex: 1 1 auto;
  width: 100%;
  max-width: 24px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: 7px 7px 5px 5px;
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.08) 0%,
    rgba(79, 70, 229, 0.03) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.neuroege-dash-bar__fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 55%, #4f46e5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 10px rgba(124, 58, 237, 0.28);
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 0;
}

.neuroege-dash-bar__fill--empty {
  background: transparent;
  box-shadow: none;
}

.neuroege-dash-bar__label {
  flex: 0 0 auto;
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

[data-theme="light"] .neuroege-dash-bar__track {
  border-color: rgba(124, 58, 237, 0.2);
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.05) 0%,
    rgba(79, 70, 229, 0.02) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .neuroege-dash-bar__label {
  color: #475569;
}

/* Leaderboard */
.neuroege-dashboard__leaderboard {
  margin-bottom: 8px;
}

.neuroege-dashboard__leaderboard-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(90deg, #fef3c7 0%, #fcd34d 38%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.18));
}

.neuroege-dashboard__leaderboard-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 10px;
  color: #fcd34d;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.24) 0%, rgba(245, 158, 11, 0.1) 100%);
  box-shadow:
    0 0 14px rgba(251, 191, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.neuroege-dashboard__leaderboard-title-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

[data-theme="light"] .neuroege-dashboard__leaderboard-title {
  background: linear-gradient(90deg, #92400e 0%, #d97706 45%, #b45309 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

[data-theme="light"] .neuroege-dashboard__leaderboard-title-icon {
  color: #d97706;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
  box-shadow:
    0 0 10px rgba(217, 119, 6, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.neuroege-dashboard__lb-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.neuroege-dash-lb-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 10px;
}

.neuroege-dash-lb-row--me {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.neuroege-dash-lb-row__rank {
  font-weight: 800;
  color: #a78bfa;
  min-width: 1.35rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  font-size: 11px;
}

.neuroege-dash-lb-row--gold .neuroege-dash-lb-row__rank,
.neuroege-dash-lb-row--silver .neuroege-dash-lb-row__rank,
.neuroege-dash-lb-row--bronze .neuroege-dash-lb-row__rank {
  font-size: 13px;
  font-weight: 400;
}

.neuroege-dash-lb-row--me .neuroege-dash-lb-row__rank {
  color: #c4b5fd;
}

.neuroege-dash-lb-row__name {
  flex: 1 1 auto;
  min-width: 0;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neuroege-dash-lb-row--me .neuroege-dash-lb-row__name {
  color: #f1f5f9;
  font-weight: 600;
}

.neuroege-dash-lb-row__stats {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.neuroege-dash-lb-row--me .neuroege-dash-lb-row__stats {
  color: #a78bfa;
}

/* Badges */
.neuroege-dashboard__badges-section {
  margin-bottom: 8px;
}

.neuroege-dashboard__badges-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(90deg, #fce7f3 0%, #f9a8d4 42%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.18));
}

.neuroege-dashboard__badges-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 10px;
  color: #f9a8d4;
  background: linear-gradient(145deg, rgba(236, 72, 153, 0.24) 0%, rgba(219, 39, 119, 0.1) 100%);
  box-shadow:
    0 0 14px rgba(236, 72, 153, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.neuroege-dashboard__badges-title-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

[data-theme="light"] .neuroege-dashboard__badges-title {
  background: linear-gradient(90deg, #9d174d 0%, #db2777 45%, #be185d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

[data-theme="light"] .neuroege-dashboard__badges-title-icon {
  color: #db2777;
  background: linear-gradient(145deg, rgba(236, 72, 153, 0.16) 0%, rgba(219, 39, 119, 0.08) 100%);
  box-shadow:
    0 0 10px rgba(219, 39, 119, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.neuroege-dashboard__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.neuroege-dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 500;
}

.neuroege-dash-badge--earned {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
}

.neuroege-dash-badge--locked {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.04);
  color: #475569;
  opacity: 0.5;
}

.neuroege-dash-badge__icon {
  font-size: 11px;
}

.neuroege-dash-badge__text {
  font-size: 9px;
}

/* Tip */
.neuroege-dashboard__tip {
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(124, 58, 237, 0.03);
  border: 1px solid rgba(124, 58, 237, 0.07);
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.4;
}

/* --- Light theme --- */
[data-theme="light"] .neuroege-dashboard {
  border-color: rgba(124, 58, 237, 0.16);
  background:
    radial-gradient(130% 90% at 100% -10%, rgba(124, 58, 237, 0.05) 0%, transparent 52%),
    radial-gradient(90% 70% at -5% 105%, rgba(56, 189, 248, 0.03) 0%, transparent 48%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(124, 58, 237, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #1e293b;
}

[data-theme="light"] .neuroege-dashboard__glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 68%);
}

[data-theme="light"] .neuroege-dashboard__shine {
  background: linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.3) 49%, transparent 58%, transparent 100%);
}

[data-theme="light"] .neuroege-dashboard__title {
  background: linear-gradient(90deg, #064e3b 0%, #059669 55%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

[data-theme="light"] .neuroege-dashboard__title-icon {
  color: #059669;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.08) 100%);
  box-shadow:
    0 0 10px rgba(5, 150, 105, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
[data-theme="light"] .neuroege-dashboard__section-label { color: #64748b; }
[data-theme="light"] .neuroege-dash-bar__label { color: #334155; }
[data-theme="light"] .neuroege-dashboard__chip {
  background: rgba(124, 58, 237, 0.04);
  border-color: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
}
[data-theme="light"] .neuroege-dashboard__chip--solved { color: #059669; border-color: rgba(5, 150, 105, 0.12); background: rgba(5, 150, 105, 0.03); }
[data-theme="light"] .neuroege-dashboard__chip--streak { color: #d97706; border-color: rgba(217, 119, 6, 0.12); background: rgba(217, 119, 6, 0.03); }
[data-theme="light"] .neuroege-dashboard__chip--today { color: #2563eb; border-color: rgba(37, 99, 235, 0.1); background: rgba(37, 99, 235, 0.03); }

[data-theme="light"] .neuroege-dash-skill__label { color: #475569; }
[data-theme="light"] .neuroege-dash-skill__track { background: rgba(148, 163, 184, 0.12); }
[data-theme="light"] .neuroege-dash-skill__pct { color: #334155; }

[data-theme="light"] .neuroege-dash-lb-row__rank { color: #6d28d9; }
[data-theme="light"] .neuroege-dash-lb-row__name { color: #334155; }
[data-theme="light"] .neuroege-dash-lb-row--me { background: rgba(124, 58, 237, 0.04); border-color: rgba(124, 58, 237, 0.1); }
[data-theme="light"] .neuroege-dash-lb-row--me .neuroege-dash-lb-row__name { color: #0f172a; }
[data-theme="light"] .neuroege-dash-lb-row__stats { color: #475569; }
[data-theme="light"] .neuroege-dash-lb-row--me .neuroege-dash-lb-row__stats { color: #6d28d9; }

[data-theme="light"] .neuroege-dash-badge--earned {
  background: rgba(124, 58, 237, 0.04);
  border-color: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
}

[data-theme="light"] .neuroege-dash-badge--locked {
  background: rgba(241, 245, 249, 0.5);
  border-color: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
}

[data-theme="light"] .neuroege-dashboard__tip {
  background: rgba(124, 58, 237, 0.02);
  border-color: rgba(124, 58, 237, 0.05);
  color: #475569;
}

/* Listing page (/ege-5/) — крупнее и до низа колонки */
body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard {
  flex: 1 1 0;
  min-height: 0;
  margin: 0.55rem 0.5rem 0.65rem;
  font-size: 0.88rem;
  overflow: hidden;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__inner {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1rem 1.1rem 0.95rem;
  overflow: hidden;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__header {
  gap: 0.85rem;
  margin-bottom: 12px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__header-difficulty {
  font-size: 11px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__header-stat-value {
  font-size: 14px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__header-stat-value[data-hf-game-difficulty] {
  font-size: 17px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__title {
  font-size: 14px;
  letter-spacing: 0.12em;
  gap: 0.55rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__title-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 11px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__title-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__metrics {
  gap: 7px;
  margin-bottom: 14px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__chip {
  gap: 5px;
  padding: 5px 11px;
  font-size: 11px;
  border-radius: 16px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__skills {
  gap: 8px;
  margin-bottom: 14px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-skill {
  gap: 9px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-skill__label {
  font-size: 11px;
  min-width: 56px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-skill__track {
  height: 8px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-skill__pct {
  font-size: 11px;
  min-width: 32px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__section-label {
  font-size: 10px;
  margin-bottom: 7px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__chart-section {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 14px;
  overflow: visible;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__chart-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  gap: 0.55rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__chart-title-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 11px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__chart-title-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__chart {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  align-items: flex-end;
  max-height: none;
  gap: 6px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-bar {
  height: auto;
  gap: 6px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-bar__track {
  flex: 0 0 2.5rem;
  min-height: 2.5rem;
  max-width: 28px;
  border-radius: 8px 8px 6px 6px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-bar__label {
  font-size: 13px;
  color: #e2e8f0;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__leaderboard {
  margin-bottom: 14px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__leaderboard-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  gap: 0.55rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__leaderboard-title-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 11px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__leaderboard-title-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__lb-list {
  gap: 5px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-lb-row {
  gap: 8px;
  padding: 5px 9px;
  font-size: 11px;
  border-radius: 8px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__badges-section {
  margin-bottom: 14px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__badges-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  gap: 0.55rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__badges-title-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 11px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__badges-title-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__badges {
  gap: 6px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-badge {
  gap: 4px;
  padding: 4px 9px;
  font-size: 10px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-badge__icon {
  font-size: 12px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-badge__text {
  font-size: 10px;
}

body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard__tip {
  flex-shrink: 0;
  margin-top: auto;
  padding: 9px 12px;
  font-size: 11px;
  line-height: 1.45;
}

/* Список вариантов: прячем только достижения, затем рейтинг (классы из python_task_dashboard.js) */
body[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard--compact-badges .neuroege-dashboard__badges-section {
  display: none;
}

body[data-neuroege-hf-variant-list-only="1"] .neuroege-dashboard--compact-leaderboard .neuroege-dashboard__leaderboard {
  display: none;
}

[data-theme="light"] body:is(.neuroege-python-task-hf-enhanced-page, .neuroege-hf-dashboard-page)[data-neuroege-hf-variant-list-only="1"] .neuroege-dash-bar__label {
  color: #334155;
}
