/* Card de continuidade — último duelo (escopo: body.dashboard) */

.dash-context-card {
  margin: 0 0 14px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(99, 102, 241, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dash-context-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.dash-context-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.48);
}

.dash-context-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dash-context-badge--win {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.dash-context-badge--loss {
  color: #9a3412;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.28);
}

.dash-context-headline {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary, #0f172a);
}

.dash-context-subline {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.68);
}

.dash-context-series {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.035);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.dash-context-series__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.dash-context-series__board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.dash-context-series__name,
.dash-context-series__you {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(15, 23, 42, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-context-series__you {
  text-align: left;
}

.dash-context-series__name {
  text-align: right;
}

.dash-context-series__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #312e81;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.dash-context-limit {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(180, 83, 9, 0.95);
}

.dash-context-cta {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-context-cta:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.22);
}

.dash-context-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 480px) {
  .dash-context-card {
    padding: 14px 16px 12px;
  }

  .dash-context-headline {
    font-size: 17px;
  }
}
